CVSS
Вероятност да бъде експлоатирана в следващите 30 дни (EPSS)
Атакува се
Време до експлоатация
Описание
Оригинално описание
In the Linux kernel, the following vulnerability has been resolved: mm/kasan: fix double free for kasan pXds kasan_free_pxd() assumes the page table is always struct page aligned. But that's not always the case for all architectures. E.g. In case of powerpc with 64K pagesize, PUD table (of size 4096) comes from slab cache named pgtable-2^9. Hence instead of page_to_virt(pxd_page()) let's just directly pass the start of the pxd table which is passed as the 1st argument. This fixes the below double free kasan issue seen with PMEM: radix-mmu: Mapped 0x0000047d10000000-0x0000047f90000000 with 2.00 MiB pages ================================================================== BUG: KASAN: double-free in kasan_remove_zero_shadow+0x9c4/0xa20 Free of addr c0000003c38e0000 by task ndctl/2164 CPU: 34 UID: 0 PID: 2164 Comm: ndctl Not tainted 6.19.0-rc1-00048-gea1013c15392 #157 VOLUNTARY Hardware name: IBM,9080-HEX POWER10 (architected) 0x800200 0xf000006 of:IBM,FW1060.00 (NH1060_012) hv:phyp pSeries Call Trace: dump_stack_lvl+0x88/0xc4 (unreliable) print_report+0x214/0x63c kasan_report_invalid_free+0xe4/0x110 check_slab_allocation+0x100/0x150 kmem_cache_free+0x128/0x6e0 kasan_remove_zero_shadow+0x9c4/0xa20 memunmap_pages+0x2b8/0x5c0 devm_action_release+0x54/0x70 release_nodes+0xc8/0x1a0 devres_release_all+0xe0/0x140 device_unbind_cleanup+0x30/0x120 device_release_driver_internal+0x3e4/0x450 unbind_store+0xfc/0x110 drv_attr_store+0x78/0xb0 sysfs_kf_write+0x114/0x140 kernfs_fop_write_iter+0x264/0x3f0 vfs_write+0x3bc/0x7d0 ksys_write+0xa4/0x190 system_call_exception+0x190/0x480 system_call_vectored_common+0x15c/0x2ec ---- interrupt: 3000 at 0x7fff93b3d3f4 NIP: 00007fff93b3d3f4 LR: 00007fff93b3d3f4 CTR: 0000000000000000 REGS: c0000003f1b07e80 TRAP: 3000 Not tainted (6.19.0-rc1-00048-gea1013c15392) MSR: 800000000280f033 <SF,VEC,VSX,EE,PR,FP,ME,IR,DR,RI,LE> CR: 48888208 XER: 00000000 <...> NIP [00007fff93b3d3f4] 0x7fff93b3d3f4 LR [00007fff93b3d3f4] 0
Засегнати продукти
- Linux Linux: 0207df4fa1a869281ddbf72db6203dbf036b3e1a преди 7d7b2d5c107a1f6302cf0006d859985e7c3ddd1c; 0207df4fa1a869281ddbf72db6203dbf036b3e1a преди 3298bdf5a878ded06351eb293856fa84e050029e; 0207df4fa1a869281ddbf72db6203dbf036b3e1a преди 2277246ea265cdca64ce6fdea4b26cd6ff0ec4db; 0207df4fa1a869281ddbf72db6203dbf036b3e1a преди cec74b2ab7dff866b1d77eaa545b9e8fd14a1f87; 0207df4fa1a869281ddbf72db6203dbf036b3e1a преди a05f77cb227c39c5069aea6f12762a29d1e6c103; 0207df4fa1a869281ddbf72db6203dbf036b3e1a преди f6204f7ff6aff62ce6242a76982c5ba3a9ded707; 0207df4fa1a869281ddbf72db6203dbf036b3e1a преди 85d98614e089a67dc6faa8ca766fe10a639f82b4; 0207df4fa1a869281ddbf72db6203dbf036b3e1a преди b38237a2ea9c6c19836eee2c57037e1f9f103576; 0207df4fa1a869281ddbf72db6203dbf036b3e1a преди 51d8c78be0c27ddb91bc2c0263941d8b30a47d3b
- Linux Linux: 4.19; преди 4.19; 5.10.258 до 5.10.*; 5.15.209 до 5.15.*; 6.1.175 до 6.1.*; 6.6.136 до 6.6.*; 6.12.83 до 6.12.*; 6.18.24 до 6.18.*; 6.19.14 до 6.19.*; 7.0.1 до 7.0.*; 7.1 до *
История
- 27 април 2026 Публикувано
Други уязвимости в Linux Linux
Първоизточници
- https://www.cve.org/CVERecord?id=CVE-2026-31686
- https://nvd.nist.gov/vuln/detail/CVE-2026-31686
- https://git.kernel.org/stable/c/7d7b2d5c107a1f6302cf0006d859985e7c3ddd1c
- https://git.kernel.org/stable/c/3298bdf5a878ded06351eb293856fa84e050029e
- https://git.kernel.org/stable/c/2277246ea265cdca64ce6fdea4b26cd6ff0ec4db
- https://git.kernel.org/stable/c/cec74b2ab7dff866b1d77eaa545b9e8fd14a1f87
- https://git.kernel.org/stable/c/a05f77cb227c39c5069aea6f12762a29d1e6c103
- https://git.kernel.org/stable/c/f6204f7ff6aff62ce6242a76982c5ba3a9ded707
- https://git.kernel.org/stable/c/85d98614e089a67dc6faa8ca766fe10a639f82b4
- https://git.kernel.org/stable/c/b38237a2ea9c6c19836eee2c57037e1f9f103576
- https://git.kernel.org/stable/c/51d8c78be0c27ddb91bc2c0263941d8b30a47d3b