Linuxカーネルのntfs3に脆弱性、細工された操作でメモリ外への書き込みが起きる
Summary
Linuxカーネルのファイルシステム実装ntfs3に、fallocateのFALLOC_FL_INSERT_RANGEを使うとスラブ領域の範囲外へ書き込みが起きる脆弱性が見つかりました。影響を受けるのは6.0.0以降の各系統の一部版で、6.1.193、6.6.163、6.12.119、6.18.65、7.3.6が修正版です。修正版への更新を急いでください。
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カーネルのファイルシステム実装ntfs3に、fallocateのFALLOC_FL_INSERT_RANGEを使うとスラブ領域の範囲外へ書き込みが起きる脆弱性が見つかりました。影響を受けるのは6.0.0以降の各系統の一部版で、6.1.193、6.6.163、6.12.119、6.18.65、7.3.6が修正版です。修正版への更新を急いでください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 6.0.0, < 6.1.193→ 6.1.193 ≥ 6.2.0, < 6.6.163→ 6.6.163 ≥ 6.7.0, < 6.12.119→ 6.12.119 ≥ 6.13.0, < 6.18.65→ 6.18.65 ≥ 6.19.0, < 7.3.6→ 7.3.6 |
6.1.193 6.6.163 6.12.119 6.18.65 7.3.6 |
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-99812 linux-lts Fix available
- Debian DEBIAN-CVE-2026-99812 linux Fix available
- Ubuntu UBUNTU-CVE-2026-99812 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:
fs/ntfs3: fix slab-out-of-bounds write in attr_insert_range()
When fallocate(FALLOC_FL_INSERT_RANGE) grows a still-resident ntfs3
attribute, attr_insert_range() shifts the inline data using the insert
length 'bytes' as both the destination offset and the copy size:
memmove(data + bytes, data, bytes);
Both are wrong: the shift must start at the insertion point 'vbo' and
move only the data past it (data_size - vbo). When bytes > data_size the
memmove runs off the end of the data_size + bytes buffer and overflows
the adjacent slab object.
Since vbo < data_size is already enforced above, the reworked offsets stay
within the data_size + bytes buffer and cannot under/overflow.
BUG: KASAN: slab-out-of-bounds in attr_insert_range (fs/ntfs3/attrib.c:2581)
Write of size 512 at addr ffff8880135e8b10 by task exploit/142
...
__asan_memmove (mm/kasan/shadow.c:95)
attr_insert_range (fs/ntfs3/attrib.c:2581)
ntfs_fallocate (fs/ntfs3/file.c:618)
vfs_fallocate (fs/open.c:338)
__x64_sys_fallocate (fs/open.c:362)
...
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 git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com