CVE
CVE-2025-39776
CNA 原文 · 原文(英文)
In the Linux kernel, the following vulnerability has been resolved: mm/debug_vm_pgtable: clear page table entries at destroy_args() The mm/debug_vm_pagetable test allocates manually page table entries for the tests it runs, using also its manually allocated mm_struct. That in itself is ok, but when it exits, at destroy_args() it fails to clear those entries with the *_clear functions. The problem is that leaves stale entries. If another process allocates an mm_struct with a pgd at the same address, it may end up running into the stale entry. This is happening in practice on a debug kernel with CONFIG_DEBUG_VM_PGTABLE=y, for example this is the output with some extra debugging I added (it prints a warning trace if pgtables_bytes goes negative, in addition to the warning at check_mm() function): [ 2.539353] debug_vm_pgtable: [get_random_vaddr ]: random_vaddr is 0x7ea247140000 [ 2.539366] kmem_cache info [ 2.539374] kmem_cachep 0x000000002ce82385 - freelist 0x0000000000000000 - offset 0x508 [ 2.539447] debug_vm_pgtable: [init_args ]: args->mm is 0x000000002267cc9e (...) [ 2.552800] WARNING: CPU: 5 PID: 116 at include/linux/mm.h:2841 free_pud_range+0x8bc/0x8d0 [ 2.552816] Modules linked in: [ 2.552843] CPU: 5 UID: 0 PID: 116 Comm: modprobe Not tainted 6.12.0-105.debug_vm2.el10.ppc64le+debug #1 VOLUNTARY [ 2.552859] Hardware name: IBM,9009-41A POWER9 (architected) 0x4e0202 0xf000005 of:IBM,FW910.00 (VL910_062) hv:phyp pSeries [ 2.552872] NIP: c0000000007eef3c LR: c0000000007eef30 CTR: c0000000003d8c90 [ 2.552885] REGS: c0000000622e73b0 TRAP: 0700 Not tainted (6.12.0-105.debug_vm2.el10.ppc64le+debug) [ 2.552899] MSR: 800000000282b033 <SF,VEC,VSX,EE,FP,ME,IR,DR,RI,LE> CR: 24002822 XER: 0000000a [ 2.552954] CFAR: c0000000008f03f0 IRQMASK: 0 [ 2.552954] GPR00: c0000000007eef30 c0000000622e7650 c000000002b1ac00 0000000000000001 [ 2.552954] GPR04: 0000000000000008 0000000000000000 c0000000007eef30…
受影响版本
- 6.17-rc2仅此版本
- 6.17-rc1仅此版本
- ≥ 6.13, < 6.16.4修复版本 6.16.4
- ≥ 6.7, < 6.12.44修复版本 6.12.44
- ≥ 6.2, < 6.6.103修复版本 6.6.103
- ≥ 5.16, < 6.1.149修复版本 6.1.149
- ≥ 5.15, < 5.15.190修复版本 5.15.190
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- git.kernel.org/stable/c/47d2a149611b8a94d24add9868c442a4af278658 · Patch
- git.kernel.org/stable/c/561171db3b3eb759ba3f284dba7a76f4476ade03 · Patch
- git.kernel.org/stable/c/61a9f2e5c49f05e3ea2c16674540a075a1b4be6f · Patch
- git.kernel.org/stable/c/63962ff932ef359925b94be2a88df6b4fd4fed0a · Patch
- git.kernel.org/stable/c/7bf57a0709cd7c9088cea8de023d6f4fbf2518b0 · Patch
- git.kernel.org/stable/c/dde30854bddfb5d69f30022b53c5955a41088b33 · Patch
- lists.debian.org/debian-lts-announce/2025/10/msg00008.html · Third Party Advisory
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。