Linux Kernelのntfsドライバーに解放後使用の脆弱性、ローカルで情報が漏れるおそれ
Summary
Linux KernelのNTFSドライバー(ntfs)で、ランリストのロックが不足していたため、解放済みのメモリを参照する脆弱性が見つかりました。ファイルシステムへの書き込みと読み取りが同時に走ると、この状態になるおそれがあります。影響するのは7.1.0以上7.3.4未満のKernelで、修正版は7.3.4です。修正版への更新を検討してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Linux KernelのNTFSドライバー(ntfs)で、ランリストのロックが不足していたため、解放済みのメモリを参照する脆弱性が見つかりました。ファイルシステムへの書き込みと読み取りが同時に走ると、この状態になるおそれがあります。影響するのは7.1.0以上7.3.4未満のKernelで、修正版は7.3.4です。修正版への更新を検討してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 7.1.0, < 7.3.4→ 7.3.4 |
7.3.4 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-99996
- Debian DEBIAN-CVE-2026-99996 linux Fix available
- Ubuntu UBUNTU-CVE-2026-99996 linux-xilinx-zynqmp, linux-xilinx, linux-vmware +166 more No fixed version in this record
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
ntfs: hold the runlist lock while expanding a non-resident attribute
ntfs_non_resident_attr_expand() changes ni->runlist.rl while it
allocates clusters: ntfs_attr_map_whole_runlist(), the compressed
branch's ntfs_rl_realloc() and ntfs_runlists_merge() can each kvfree()
the old array. Unless the caller already holds ni->runlist.lock, none
of this happens under it; only the rollback takes it. Callers without
it include the write path, fallocate, ntfs_inode_attr_pwrite() and
ntfs_resident_attr_resize().
Those callers hold mrec_lock, and the write path also inode_lock, but
the iomap read side takes neither: FIEMAP, page faults, readahead and
splice read reach ntfs_read_iomap_begin_non_resident(), which takes only
ni->runlist.lock. A FIEMAP running while write(2) extends the same file
can walk the array that ntfs_runlists_merge() has just freed:
BUG: KASAN: slab-use-after-free in ntfs_attr_vcn_to_rl+0x19b/0x200
A reader that finds a vcn unmapped in the stale array also maps it from
disk into the runlist the writer is changing, which shows up as "Run
lists overlap. Cannot merge!".
Take ni->runlist.lock for writing around the part of the expansion that
changes the runlist and allocated_size, up to and including the mapping
pairs update, as ntfs_non_resident_attr_shrink() does since commit
91709ba5d6d7 ("ntfs: protect runlist updates with the runlist lock"),
and hold it throughout the rollback, where ntfs_…
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web github.com