not scored yet
CVE-2026-99812
fs/ntfs3: fix slab-out-of-bounds write in attr_insert_range()
Description
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) ...
Details
- Severity
- not scored yet
- KEV
- no
- Fix
- available: 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6
- Published
- First seen
- Updated
Affected products
| Product | Versions | Fixed in |
|---|---|---|
| linux / linux | >=9256ec35359f52c1e390cf419873cf519ee332b6 <e054aeaf756808656dc90023aad8ca4e906cbe1e, >=9256ec35359f52c1e390cf419873cf519ee332b6 <e784ee49dffa83a53837884ffbb123575c8dd179, >=9256ec35359f52c1e390cf419873cf519ee332b6 <8bb706de22b741ede9c86244a5cca55b9b79ecc1, >=9256ec35359f52c1e390cf419873cf519ee332b6... | |
| linux / linux | =6.0 | |
| linux / linux-kernel | ||
| kernel linux | >=6.0.0 <6.1.193 || >=6.2.0 <6.6.163 || >=6.7.0 <6.12.119 || >=6.13.0 <6.18.65 || >=6.19.0 <7.3.6 | 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 |
Sources
- cve.org · license: CVE Terms of Use · first seen · https://www.cve.org/CVERecord?id=CVE-2026-99812
- nvd · license: Public domain (NIST NVD) · first seen · https://nvd.nist.gov/vuln/detail/CVE-2026-99812
- osv · license: CC-BY-4.0 · first seen · https://osv.dev/vulnerability/CVE-2026-99812
Timeline
- FIX (1 hour ago)fix: unknown → available
- UPDATED (1 hour ago)affected_added: [map[ecosystem:linux product:kernel vendor:]]
- NEW (2 hours ago)