CVE-2022-48800
16.07.2024, 12:15
In the Linux kernel, the following vulnerability has been resolved:
mm: vmscan: remove deadlock due to throttling failing to make progress
A soft lockup bug in kcompactd was reported in a private bugzilla with
the following visible in dmesg;
watchdog: BUG: soft lockup - CPU#33 stuck for 26s! [kcompactd0:479]
watchdog: BUG: soft lockup - CPU#33 stuck for 52s! [kcompactd0:479]
watchdog: BUG: soft lockup - CPU#33 stuck for 78s! [kcompactd0:479]
watchdog: BUG: soft lockup - CPU#33 stuck for 104s! [kcompactd0:479]
The machine had 256G of RAM with no swap and an earlier failed
allocation indicated that node 0 where kcompactd was run was potentially
unreclaimable;
Node 0 active_anon:29355112kB inactive_anon:2913528kB active_file:0kB
inactive_file:0kB unevictable:64kB isolated(anon):0kB isolated(file):0kB
mapped:8kB dirty:0kB writeback:0kB shmem:26780kB shmem_thp:
0kB shmem_pmdmapped: 0kB anon_thp: 23480320kB writeback_tmp:0kB
kernel_stack:2272kB pagetables:24500kB all_unreclaimable? yes
Vlastimil Babka investigated a crash dump and found that a task
migrating pages was trying to drain PCP lists;
PID: 52922 TASK: ffff969f820e5000 CPU: 19 COMMAND: "kworker/u128:3"
Call Trace:
__schedule
schedule
schedule_timeout
wait_for_completion
__flush_work
__drain_all_pages
__alloc_pages_slowpath.constprop.114
__alloc_pages
alloc_migration_target
migrate_pages
migrate_to_node
do_migrate_pages
cpuset_migrate_mm_workfn
process_one_work
worker_thread
kthread
ret_from_fork
This failure is specific to CONFIG_PREEMPT=n builds. The root of the
problem is that kcompact0 is not rescheduling on a CPU while a task that
has isolated a large number of the pages from the LRU is waiting on
kcompact0 to reschedule so the pages can be released. While
shrink_inactive_list() only loops once around too_many_isolated, reclaim
can continue without rescheduling if sc->skipped_deactivate == 1 which
could happen if there was no file LRU and the inactive anon list was not
low.Enginsight| Vendor | Product | Version |
|---|---|---|
| linux | linux_kernel | 5.16 ≤ 𝑥 < 5.16.10 |
𝑥
= Vulnerable software versions
Debian Releases
Ubuntu Releases
Ubuntu Product | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| linux |
| ||||||||||||
| linux-allwinner-5.19 |
| ||||||||||||
| linux-aws |
| ||||||||||||
| linux-aws-5.0 |
| ||||||||||||
| linux-aws-5.11 |
| ||||||||||||
| linux-aws-5.13 |
| ||||||||||||
| linux-aws-5.15 |
| ||||||||||||
| linux-aws-5.19 |
| ||||||||||||
| linux-aws-5.3 |
| ||||||||||||
| linux-aws-5.4 |
| ||||||||||||
| linux-aws-5.8 |
| ||||||||||||
| linux-aws-6.2 |
| ||||||||||||
| linux-aws-6.5 |
| ||||||||||||
| linux-aws-fips |
| ||||||||||||
| linux-aws-hwe |
| ||||||||||||
| linux-azure |
| ||||||||||||
| linux-azure-4.15 |
| ||||||||||||
| linux-azure-5.11 |
| ||||||||||||
| linux-azure-5.13 |
| ||||||||||||
| linux-azure-5.15 |
| ||||||||||||
| linux-azure-5.19 |
| ||||||||||||
| linux-azure-5.3 |
| ||||||||||||
| linux-azure-5.4 |
| ||||||||||||
| linux-azure-5.8 |
| ||||||||||||
| linux-azure-6.2 |
| ||||||||||||
| linux-azure-6.5 |
| ||||||||||||
| linux-azure-edge |
| ||||||||||||
| linux-azure-fde |
| ||||||||||||
| linux-azure-fde-5.15 |
| ||||||||||||
| linux-azure-fde-5.19 |
| ||||||||||||
| linux-azure-fde-6.2 |
| ||||||||||||
| linux-azure-fips |
| ||||||||||||
| linux-bluefield |
| ||||||||||||
| linux-fips |
| ||||||||||||
| linux-gcp |
| ||||||||||||
| linux-gcp-4.15 |
| ||||||||||||
| linux-gcp-5.11 |
| ||||||||||||
| linux-gcp-5.13 |
| ||||||||||||
| linux-gcp-5.15 |
| ||||||||||||
| linux-gcp-5.19 |
| ||||||||||||
| linux-gcp-5.3 |
| ||||||||||||
| linux-gcp-5.4 |
| ||||||||||||
| linux-gcp-5.8 |
| ||||||||||||
| linux-gcp-6.2 |
| ||||||||||||
| linux-gcp-6.5 |
| ||||||||||||
| linux-gcp-fips |
| ||||||||||||
| linux-gke |
| ||||||||||||
| linux-gke-4.15 |
| ||||||||||||
| linux-gke-5.15 |
| ||||||||||||
| linux-gke-5.4 |
| ||||||||||||
| linux-gkeop |
| ||||||||||||
| linux-gkeop-5.15 |
| ||||||||||||
| linux-gkeop-5.4 |
| ||||||||||||
| linux-hwe |
| ||||||||||||
| linux-hwe-5.11 |
| ||||||||||||
| linux-hwe-5.13 |
| ||||||||||||
| linux-hwe-5.15 |
| ||||||||||||
| linux-hwe-5.19 |
| ||||||||||||
| linux-hwe-5.4 |
| ||||||||||||
| linux-hwe-5.8 |
| ||||||||||||
| linux-hwe-6.2 |
| ||||||||||||
| linux-hwe-6.5 |
| ||||||||||||
| linux-hwe-edge |
| ||||||||||||
| linux-ibm |
| ||||||||||||
| linux-ibm-5.15 |
| ||||||||||||
| linux-ibm-5.4 |
| ||||||||||||
| linux-intel |
| ||||||||||||
| linux-intel-5.13 |
| ||||||||||||
| linux-intel-iotg |
| ||||||||||||
| linux-intel-iotg-5.15 |
| ||||||||||||
| linux-iot |
| ||||||||||||
| linux-kvm |
| ||||||||||||
| linux-lowlatency |
| ||||||||||||
| linux-lowlatency-hwe-5.15 |
| ||||||||||||
| linux-lowlatency-hwe-5.19 |
| ||||||||||||
| linux-lowlatency-hwe-6.2 |
| ||||||||||||
| linux-lowlatency-hwe-6.5 |
| ||||||||||||
| linux-lts-xenial |
| ||||||||||||
| linux-nvidia |
| ||||||||||||
| linux-nvidia-6.2 |
| ||||||||||||
| linux-nvidia-6.5 |
| ||||||||||||
| linux-nvidia-6.8 |
| ||||||||||||
| linux-nvidia-lowlatency |
| ||||||||||||
| linux-oem |
| ||||||||||||
| linux-oem-5.10 |
| ||||||||||||
| linux-oem-5.13 |
| ||||||||||||
| linux-oem-5.14 |
| ||||||||||||
| linux-oem-5.17 |
| ||||||||||||
| linux-oem-5.6 |
| ||||||||||||
| linux-oem-6.0 |
| ||||||||||||
| linux-oem-6.1 |
| ||||||||||||
| linux-oem-6.5 |
| ||||||||||||
| linux-oem-6.8 |
| ||||||||||||
| linux-oracle |
| ||||||||||||
| linux-oracle-5.0 |
| ||||||||||||
| linux-oracle-5.11 |
| ||||||||||||
| linux-oracle-5.13 |
| ||||||||||||
| linux-oracle-5.15 |
| ||||||||||||
| linux-oracle-5.3 |
| ||||||||||||
| linux-oracle-5.4 |
| ||||||||||||
| linux-oracle-5.8 |
| ||||||||||||
| linux-oracle-6.5 |
| ||||||||||||
| linux-raspi |
| ||||||||||||
| linux-raspi-5.4 |
| ||||||||||||
| linux-raspi2 |
| ||||||||||||
| linux-riscv |
| ||||||||||||
| linux-riscv-5.11 |
| ||||||||||||
| linux-riscv-5.15 |
| ||||||||||||
| linux-riscv-5.19 |
| ||||||||||||
| linux-riscv-5.8 |
| ||||||||||||
| linux-riscv-6.5 |
| ||||||||||||
| linux-starfive-5.19 |
| ||||||||||||
| linux-starfive-6.2 |
| ||||||||||||
| linux-starfive-6.5 |
| ||||||||||||
| linux-xilinx-zynqmp |
|
Common Weakness Enumeration