CVE-2026-23025
Fixed in a distro release EPSS <1%
In the Linux kernel, the following vulnerability has been resolved: mm/page_alloc: prevent pcp corruption with SMP=n The kernel test robot has reported: BUG: spinlock trylock failure on UP on CPU#0, kcompactd0/28 lock: 0xffff888807e35ef0, .magic: dead4ead, .owner: kcompactd0/28, .owner_cpu: 0 CPU: 0 UID: 0 PID: 28 Comm: kcompactd0 Not tainted 6.18.0-rc5-00127-ga06157804399 #1 PREEMPT 8cc09ef94dcec767faa911515ce9e609c45db470 Call Trace: <IRQ> __dump_stack (lib/dump_stack.c:95) dump_stack_lvl (lib/dump_stack.c:123) dump_stack (lib/dump_stack.c:130) spin_dump (kernel/locking/spinlock_debug.c:71) do_raw_spin_trylock (kernel/locking/spinlock_debug.c:?) _raw_spin_trylock (include/linux/spinlock_api_smp.h:89 kernel/locking/spinlock.c:138) __free_frozen_pages (mm/page_alloc.c:2973) ___free_pages (mm/page_alloc.c:5295) __free_pages (mm/page_alloc.c:5334) tlb_remove_table_rcu (include/linux/mm.h:? include/linux/mm.h:3122 include/asm-generic/tlb.h:220 mm/mmu_gather.c:227 mm/mmu_gather.c:290) ? __cfi_tlb_remove_table_rcu (mm/mmu_gather.c:289) ? rcu_core (kernel/rcu/tree.c:?) rcu_core (include/linux/rcupdate.h:341 kernel/rcu/tree.c:2607 kernel/rcu/tree.c:2861) rcu_core_si (kernel/rcu/tree.c:2879) handle_softirqs (arch/x86/include/asm/jump_label.h:36 include/trace/events/irq.h:142 kernel/softirq.c:623) __irq_exit_rcu (arch/x86/include/asm/jump_label.h:36 kernel/softirq.c:725) irq_exit_rcu (kernel/softirq.c:741) sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1052) </IRQ> <TASK> RIP: 0010:_raw_spin_unlock_irqrestore (arch/x86/include/asm/preempt.h:95 include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) free_pcppages_bulk (mm/page_alloc.c:1494) drain_pages_zone (include/linux/spinlock.h:391 mm/page_alloc.c:2632) __drain_all_pages (mm/page_alloc.c:2731) drain_all_pages (mm/page_alloc.c:2747) kcompactd (mm/compaction.c:3115) kthread (kernel/kthread.c:465) ? __cfi_kcompactd (mm/compaction.c:3166) ? __cfi_kthread (kernel/kthread.c:412) ret_from_fork (arch/x86/kernel/process.c:164) ? __cfi_kthread (kernel/kthread.c:412) ret_from_fork_asm (arch/x86/entry/entry_64.S:255) </TASK> Matthew has analyzed the report and identified that in drain_page_zone() we are in a section protected by spin_lock(&pcp->lock) and then get an interrupt that attempts spin_trylock() on the same lock. The code is designed to work this way without disabling IRQs and occasionally fail the trylock with a fallback. However, the SMP=n spinlock implementation assumes spin_trylock() will always succeed, and thus it's normally a no-op. Here the enabled lock debugging catches the problem, but otherwise it could cause a corruption of the pcp structure. The problem has been introduced by commit 574907741599 ("mm/page_alloc: leave IRQs enabled for per-cpu page allocations"). The pcp locking scheme recognizes the need for disabling IRQs to prevent nesting spin_trylock() sections on SMP=n, but the need to prevent the nesting in spin_lock() has not been recognized. Fix it by introducing local wrappers that change the spin_lock() to spin_lock_iqsave() with SMP=n and use them in all places that do spin_lock(&pcp->lock). [vbabka@suse.cz: add pcp_ prefix to the spin_lock_irqsave wrappers, per Steven]
Products: Linux, Siemens RUGGEDCOM RST2428P
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux 2023 | bpftool | 1:6.1.163-186.299.amzn2023 |
| Amazon Linux 2023 | bpftool6.12 | 1:6.12.68-92.122.amzn2023 |
| Amazon Linux 2023 | kernel | 1:6.1.163-186.299.amzn2023 |
| Amazon Linux 2023 | kernel-devel | 1:6.1.163-186.299.amzn2023 |
| Amazon Linux 2023 | kernel-headers | 1:6.1.163-186.299.amzn2023 |
| Amazon Linux 2023 | kernel-libbpf | 1:6.1.163-186.299.amzn2023 |
| Amazon Linux 2023 | kernel-libbpf-devel | 1:6.1.163-186.299.amzn2023 |
| Amazon Linux 2023 | kernel-libbpf-static | 1:6.1.163-186.299.amzn2023 |
| Amazon Linux 2023 | kernel-livepatch-6.1.163-186.299 | 1:1.0-0.amzn2023 |
| Amazon Linux 2023 | kernel-livepatch-6.12.68-92.122 | 1:1.0-0.amzn2023 |
| Amazon Linux 2023 | kernel-modules-extra | 1:6.1.163-186.299.amzn2023 |
| Amazon Linux 2023 | kernel-modules-extra-common | 1:6.1.163-186.299.amzn2023 |
| Amazon Linux 2023 | kernel-tools | 1:6.1.163-186.299.amzn2023 |
| Amazon Linux 2023 | kernel-tools-devel | 1:6.1.163-186.299.amzn2023 |
| Amazon Linux 2023 | kernel6.12 | 1:6.12.68-92.122.amzn2023 |
| Amazon Linux 2023 | kernel6.12-devel | 1:6.12.68-92.122.amzn2023 |
| Amazon Linux 2023 | kernel6.12-headers | 1:6.12.68-92.122.amzn2023 |
| Amazon Linux 2023 | kernel6.12-libbpf | 1:6.12.68-92.122.amzn2023 |
| Amazon Linux 2023 | kernel6.12-libbpf-devel | 1:6.12.68-92.122.amzn2023 |
| Amazon Linux 2023 | kernel6.12-libbpf-static | 1:6.12.68-92.122.amzn2023 |
| Amazon Linux 2023 | kernel6.12-modules-extra | 1:6.12.68-92.122.amzn2023 |
| Amazon Linux 2023 | kernel6.12-modules-extra-common | 1:6.12.68-92.122.amzn2023 |
| Amazon Linux 2023 | kernel6.12-tools | 1:6.12.68-92.122.amzn2023 |
| Amazon Linux 2023 | kernel6.12-tools-devel | 1:6.12.68-92.122.amzn2023 |
| Amazon Linux 2023 | perf | 1:6.1.163-186.299.amzn2023 |
| Amazon Linux 2023 | perf6.12 | 1:6.12.68-92.122.amzn2023 |
| Amazon Linux 2023 | python3-perf | 1:6.1.163-186.299.amzn2023 |
| Amazon Linux 2023 | python3-perf6.12 | 1:6.12.68-92.122.amzn2023 |
| Debian 11 | linux-6.1 | 6.1.162-1~deb11u1 |
| Debian 12 | linux | 6.1.162-1 |
| Debian 13 | linux | 6.12.69-1 |
| Debian 14 | linux | 6.18.8-1 |
| Ubuntu 16.04 LTS | linux-hwe-edge | no fix |
| Ubuntu 18.04 LTS | linux-aws-5.0 | no fix |
| Ubuntu 18.04 LTS | linux-aws-5.3 | no fix |
| Ubuntu 18.04 LTS | linux-azure | no fix |
| Ubuntu 18.04 LTS | linux-azure-5.3 | no fix |
| Ubuntu 18.04 LTS | linux-azure-edge | no fix |
| Ubuntu 18.04 LTS | linux-gcp | no fix |
| Ubuntu 18.04 LTS | linux-gcp-5.3 | no fix |
| Ubuntu 18.04 LTS | linux-gke-4.15 | no fix |
| Ubuntu 18.04 LTS | linux-gke-5.4 | no fix |
| Ubuntu 18.04 LTS | linux-gkeop-5.4 | no fix |
| Ubuntu 18.04 LTS | linux-hwe | no fix |
| Ubuntu 18.04 LTS | linux-hwe-edge | no fix |
| Ubuntu 18.04 LTS | linux-oem | no fix |
| Ubuntu 18.04 LTS | linux-oracle-5.0 | no fix |
| Ubuntu 18.04 LTS | linux-oracle-5.3 | no fix |
| Ubuntu 20.04 LTS | linux-aws-5.11 | no fix |
| Ubuntu 20.04 LTS | linux-aws-5.13 | no fix |
| Ubuntu 20.04 LTS | linux-aws-5.8 | no fix |
| Ubuntu 20.04 LTS | linux-azure-5.11 | no fix |
| Ubuntu 20.04 LTS | linux-azure-5.13 | no fix |
| Ubuntu 20.04 LTS | linux-azure-5.8 | no fix |
| Ubuntu 20.04 LTS | linux-azure-fde | no fix |
| Ubuntu 20.04 LTS | linux-gcp-5.11 | no fix |
| Ubuntu 20.04 LTS | linux-gcp-5.13 | no fix |
| Ubuntu 20.04 LTS | linux-gcp-5.8 | no fix |
| Ubuntu 20.04 LTS | linux-gke | no fix |
| Ubuntu 20.04 LTS | linux-gke-5.15 | no fix |
| Ubuntu 20.04 LTS | linux-gkeop | no fix |
| Ubuntu 20.04 LTS | linux-gkeop-5.15 | no fix |
| Ubuntu 20.04 LTS | linux-hwe-5.11 | no fix |
| Ubuntu 20.04 LTS | linux-hwe-5.13 | no fix |
| Ubuntu 20.04 LTS | linux-hwe-5.8 | no fix |
| Ubuntu 20.04 LTS | linux-intel-5.13 | no fix |
| Ubuntu 20.04 LTS | linux-oem-5.10 | no fix |
| Ubuntu 20.04 LTS | linux-oem-5.13 | no fix |
| Ubuntu 20.04 LTS | linux-oem-5.14 | no fix |
| Ubuntu 20.04 LTS | linux-oem-5.6 | no fix |
| Ubuntu 20.04 LTS | linux-oracle-5.11 | no fix |
| Ubuntu 20.04 LTS | linux-oracle-5.13 | no fix |
| Ubuntu 20.04 LTS | linux-oracle-5.8 | no fix |
| Ubuntu 20.04 LTS | linux-raspi2 | no fix |
| Ubuntu 20.04 LTS | linux-riscv | no fix |
| Ubuntu 20.04 LTS | linux-riscv-5.11 | no fix |
| Ubuntu 20.04 LTS | linux-riscv-5.8 | no fix |
| Ubuntu 22.04 LTS | linux-allwinner-5.19 | no fix |
| Ubuntu 22.04 LTS | linux-aws-5.19 | no fix |
| Ubuntu 22.04 LTS | linux-aws-6.2 | no fix |
| Ubuntu 22.04 LTS | linux-aws-6.5 | no fix |
| Ubuntu 22.04 LTS | linux-aws-6.8 | 6.8.0-1057.60~22.04.1 |
| Ubuntu 22.04 LTS | linux-azure-5.19 | no fix |
| Ubuntu 22.04 LTS | linux-azure-6.2 | no fix |
| Ubuntu 22.04 LTS | linux-azure-6.5 | no fix |
| Ubuntu 22.04 LTS | linux-azure-6.8 | 6.8.0-1059.65~22.04.1 |
| Ubuntu 22.04 LTS | linux-azure-fde-5.19 | no fix |
| Ubuntu 22.04 LTS | linux-azure-fde-6.2 | no fix |
| Ubuntu 22.04 LTS | linux-azure-fde-6.8 | 6.8.0-1058.65~22.04.1 |
| Ubuntu 22.04 LTS | linux-gcp-5.19 | no fix |
| Ubuntu 22.04 LTS | linux-gcp-6.2 | no fix |
| Ubuntu 22.04 LTS | linux-gcp-6.5 | no fix |
| Ubuntu 22.04 LTS | linux-gcp-6.8 | 6.8.0-1060.63~22.04.1 |
| Ubuntu 22.04 LTS | linux-hwe-5.19 | no fix |
| Ubuntu 22.04 LTS | linux-hwe-6.2 | no fix |
| Ubuntu 22.04 LTS | linux-hwe-6.5 | no fix |
| Ubuntu 22.04 LTS | linux-hwe-6.8 | 6.8.0-124.124~22.04.1 |
| Ubuntu 22.04 LTS | linux-ibm-6.8 | 6.8.0-1055.56~22.04.1 |
| Ubuntu 22.04 LTS | linux-intel-iot-realtime | no fix |
| Ubuntu 22.04 LTS | linux-lowlatency-hwe-5.19 | no fix |
| Ubuntu 22.04 LTS | linux-lowlatency-hwe-6.2 | no fix |
| Ubuntu 22.04 LTS | linux-lowlatency-hwe-6.5 | no fix |
| Ubuntu 22.04 LTS | linux-lowlatency-hwe-6.8 | 6.8.0-117.117.1~22.04.1 |
| Ubuntu 22.04 LTS | linux-nvidia-6.2 | no fix |
| Ubuntu 22.04 LTS | linux-nvidia-6.5 | no fix |
| Ubuntu 22.04 LTS | linux-nvidia-6.8 | 6.8.0-1054.57~22.04.1 |
| Ubuntu 22.04 LTS | linux-oem-5.17 | no fix |
| Ubuntu 22.04 LTS | linux-oem-6.0 | no fix |
| Ubuntu 22.04 LTS | linux-oem-6.1 | no fix |
| Ubuntu 22.04 LTS | linux-oem-6.5 | no fix |
| Ubuntu 22.04 LTS | linux-oracle-6.5 | no fix |
| Ubuntu 22.04 LTS | linux-oracle-6.8 | 6.8.0-1054.55~22.04.1 |
| Ubuntu 22.04 LTS | linux-realtime | no fix |
| Ubuntu 22.04 LTS | linux-riscv | no fix |
| Ubuntu 22.04 LTS | linux-riscv-5.19 | no fix |
| Ubuntu 22.04 LTS | linux-riscv-6.5 | no fix |
| Ubuntu 22.04 LTS | linux-riscv-6.8 | 6.8.0-117.117~22.04.1 |
| Ubuntu 22.04 LTS | linux-starfive-5.19 | no fix |
| Ubuntu 22.04 LTS | linux-starfive-6.2 | no fix |
| Ubuntu 22.04 LTS | linux-starfive-6.5 | no fix |
| Ubuntu 24.04 LTS | linux | 6.8.0-117.117 |
| Ubuntu 24.04 LTS | linux-aws | 6.8.0-1055.58 |
| Ubuntu 24.04 LTS | linux-aws-6.14 | no fix |
| Ubuntu 24.04 LTS | linux-aws-6.17 | no fix |
| Ubuntu 24.04 LTS | linux-azure | 6.8.0-1056.62 |
| Ubuntu 24.04 LTS | linux-azure-6.11 | no fix |
| Ubuntu 24.04 LTS | linux-azure-6.14 | no fix |
| Ubuntu 24.04 LTS | linux-azure-6.17 | 6.17.0-1021.21~24.04.1 |
| Ubuntu 24.04 LTS | linux-azure-fde | 6.8.0-1058.65 |
| Ubuntu 24.04 LTS | linux-azure-fde-6.14 | no fix |
| Ubuntu 24.04 LTS | linux-azure-fde-6.17 | 6.17.0-1018.18~24.04.1 |
| Ubuntu 24.04 LTS | linux-azure-nvidia | no fix |
| Ubuntu 24.04 LTS | linux-azure-nvidia-6.14 | no fix |
| Ubuntu 24.04 LTS | linux-gcp | 6.8.0-1058.61 |
| Ubuntu 24.04 LTS | linux-gcp-6.11 | no fix |
| Ubuntu 24.04 LTS | linux-gcp-6.14 | no fix |
| Ubuntu 24.04 LTS | linux-gcp-6.17 | 6.17.0-1021.24~24.04.1 |
| Ubuntu 24.04 LTS | linux-gke | 6.8.0-1054.60 |
| Ubuntu 24.04 LTS | linux-gkeop | 6.8.0-1041.44 |
| Ubuntu 24.04 LTS | linux-hwe-6.11 | no fix |
| Ubuntu 24.04 LTS | linux-hwe-6.14 | no fix |
| Ubuntu 24.04 LTS | linux-hwe-6.17 | 6.17.0-41.41~24.04.1 |
| Ubuntu 24.04 LTS | linux-ibm | 6.8.0-1055.56 |
| Ubuntu 24.04 LTS | linux-lowlatency | 6.8.0-117.117.1 |
| Ubuntu 24.04 LTS | linux-lowlatency-hwe-6.11 | no fix |
| Ubuntu 24.04 LTS | linux-nvidia | 6.8.0-1054.57 |
| Ubuntu 24.04 LTS | linux-nvidia-6.11 | no fix |
| Ubuntu 24.04 LTS | linux-nvidia-6.17 | 6.17.0-1031.31 |
| Ubuntu 24.04 LTS | linux-nvidia-lowlatency | 6.8.0-1054.57.1 |
| Ubuntu 24.04 LTS | linux-nvidia-tegra | 6.8.0-1024.24 |
| Ubuntu 24.04 LTS | linux-oem-6.11 | no fix |
| Ubuntu 24.04 LTS | linux-oem-6.14 | no fix |
| Ubuntu 24.04 LTS | linux-oem-6.17 | 6.17.0-1030.30 |
| Ubuntu 24.04 LTS | linux-oem-6.8 | no fix |
| Ubuntu 24.04 LTS | linux-oracle | 6.8.0-1054.55 |
| Ubuntu 24.04 LTS | linux-oracle-6.14 | no fix |
| Ubuntu 24.04 LTS | linux-oracle-6.17 | 6.17.0-1019.19~24.04.3 |
| Ubuntu 24.04 LTS | linux-raspi | 6.8.0-1056.60 |
| Ubuntu 24.04 LTS | linux-raspi-realtime | no fix |
| Ubuntu 24.04 LTS | linux-realtime | no fix |
| Ubuntu 24.04 LTS | linux-riscv | no fix |
| Ubuntu 24.04 LTS | linux-riscv-6.14 | no fix |
| Ubuntu 24.04 LTS | linux-riscv-6.17 | no fix |
| Ubuntu 24.04 LTS | linux-xilinx | 6.8.0-1032.33 |
| Ubuntu 25.10 | linux | no fix |
| Ubuntu 25.10 | linux-aws | no fix |
| Ubuntu 25.10 | linux-azure | no fix |
| Ubuntu 25.10 | linux-azure-fde | no fix |
| Ubuntu 25.10 | linux-gcp | no fix |
| Ubuntu 25.10 | linux-oracle | no fix |
| Ubuntu 25.10 | linux-raspi | no fix |
| Ubuntu 25.10 | linux-realtime | no fix |
| Ubuntu 25.10 | linux-riscv | no fix |
| Ubuntu Nvidia-BlueField 24.04 LTS | linux-bluefield | 6.8.0-1022.26 |
| Ubuntu Pro 16.04 LTS | linux | 4.4.0-288.322 |
| Ubuntu Pro 16.04 LTS | linux-aws | 4.4.0-1197.212 |
| Ubuntu Pro 16.04 LTS | linux-aws-hwe | 4.15.0-1197.210~16.04.1 |
| Ubuntu Pro 16.04 LTS | linux-azure | 4.15.0-1208.223~16.04.1 |
| Ubuntu Pro 16.04 LTS | linux-gcp | 4.15.0-1190.207~16.04.1 |
| Ubuntu Pro 16.04 LTS | linux-hwe | 4.15.0-260.272~16.04.2 |
| Ubuntu Pro 18.04 LTS | linux | 4.15.0-260.272 |
| Ubuntu Pro 18.04 LTS | linux-aws | 4.15.0-1197.210 |
| Ubuntu Pro 18.04 LTS | linux-azure-4.15 | 4.15.0-1207.222 |
| Ubuntu Pro 18.04 LTS | linux-gcp-4.15 | 4.15.0-1190.207 |
| Ubuntu Pro 18.04 LTS | linux-hwe-5.4 | 5.4.0-241.261~18.04.1 |
| Ubuntu Pro 18.04 LTS | linux-oracle | 4.15.0-1160.171 |
| Ubuntu Pro 20.04 LTS | linux | 5.4.0-241.261 |
| Ubuntu Pro 22.04 LTS | linux | 5.15.0-198.208 |
| Ubuntu Pro 22.04 LTS | linux-aws | 5.15.0-1117.124 |
| Ubuntu Pro 22.04 LTS | linux-aws-6.8 | 6.8.0-1065.68~22.04.1 |
| Ubuntu Pro 22.04 LTS | linux-azure | 5.15.0-1123.132 |
| Ubuntu Pro 22.04 LTS | linux-gcp | 5.15.0-1118.128 |
| Ubuntu Pro 22.04 LTS | linux-gcp-6.8 | 6.8.0-1069.77~22.04.1 |
| Ubuntu Pro 22.04 LTS | linux-gke | 5.15.0-1113.119 |
| Ubuntu Pro 22.04 LTS | linux-hwe-6.8 | 6.8.0-138.138~22.04.1 |
| Ubuntu Pro 22.04 LTS | linux-ibm | 5.15.0-1111.115 |
| Ubuntu Pro 22.04 LTS | linux-ibm-6.8 | 6.8.0-1066.67~22.04.1 |
| Ubuntu Pro 22.04 LTS | linux-lowlatency | 5.15.0-195.205 |
| Ubuntu Pro 24.04 LTS | linux | 6.8.0-142.142 |
| Ubuntu Pro 24.04 LTS | linux-aws | 6.8.0-1065.68 |
| Ubuntu Pro 24.04 LTS | linux-azure | 6.8.0-1068.76 |
| Ubuntu Pro 24.04 LTS | linux-gcp | 6.8.0-1069.77 |
| Ubuntu Pro 24.04 LTS | linux-gke | 6.8.0-1064.72 |
| Ubuntu Pro 24.04 LTS | linux-ibm | 6.8.0-1065.66 |
| Ubuntu Pro 24.04 LTS | linux-oracle | 6.8.0-1062.65 |
| Ubuntu Pro 26.04 LTS | linux | 7.0.0-30.30 |
| Ubuntu Pro 26.04 LTS | linux-aws | 7.0.0-1011.11 |
| Ubuntu Pro 26.04 LTS | linux-azure | 7.0.0-1012.12 |
| Ubuntu Pro 26.04 LTS | linux-gcp | 7.0.0-1010.10 |
| Ubuntu Pro FIPS-updates 24.04 LTS | linux-aws-fips | 6.8.0-1055.58+fips1 |
| Ubuntu Pro FIPS-updates 24.04 LTS | linux-azure-fips | 6.8.0-1059.65+fips1 |
| Ubuntu Pro FIPS-updates 24.04 LTS | linux-fips | 6.8.0-116.116+fips1 |
| Ubuntu Pro FIPS-updates 24.04 LTS | linux-gcp-fips | 6.8.0-1058.61+fips1 |
| Ubuntu Pro Realtime 22.04 LTS | linux-realtime-6.8 | 6.8.1-1051.52~22.04.1 |
| Ubuntu Pro Realtime 24.04 LTS | linux-raspi-realtime | 6.8.0-2045.46 |
| Ubuntu Pro Realtime 24.04 LTS | linux-realtime | 6.8.1-1051.52 |
| Ubuntu Pro Realtime 24.04 LTS | linux-realtime-6.14 | no fix |
| Ubuntu Pro Realtime 24.04 LTS | linux-realtime-6.17 | 6.17.0-1018.20~24.04.1 |