CVE-2026-99812
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) ...
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-99812 NameCVE-2026-99812 DescriptionIn 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 +…
CVE-2026-99812
| Name | CVE-2026-99812 |
| 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) ... |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| linux (PTS) | bookworm | 6.1.176-1 | vulnerable |
| bookworm (security) | 6.1.192-3 | vulnerable | |
| trixie | 6.12.117-1 | vulnerable | |
| trixie (security) | 6.12.118-1 | vulnerable | |
| forky, sid | 7.3.6-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| linux | source | (unstable) | 7.3.6-1 |
Notes
https://git.kernel.org/linus/bf9a6578e03b065335836e025356b4b9170b9449 (7.4-rc1)
Apply commands
https://git.kernel.org/linus/bf9a6578e03b065335836e025356b4b9170b9449 (7.4-rc1)
OS impact
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | linux |
Affected | — |
| sid | linux |
Fixed | 7.3.6-1 |
| forky | linux |
Fixed | 7.3.6-1 |
| bookworm | linux |
Affected | — |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| linux | linux | 6.0 | |
References
- https://git.kernel.org/stable/c/8bb706de22b741ede9c86244a5cca55b9b79ecc1
- https://git.kernel.org/stable/c/a0663cf4bfaa8afb0f7318e9d024425dc8beed05
- https://git.kernel.org/stable/c/bf9a6578e03b065335836e025356b4b9170b9449
- https://git.kernel.org/stable/c/e054aeaf756808656dc90023aad8ca4e906cbe1e
- https://git.kernel.org/stable/c/e784ee49dffa83a53837884ffbb123575c8dd179
- https://git.kernel.org/stable/c/ea6e4b5031cfd6ebb84e26c3766e8591979e8125
- https://security-tracker.debian.org/tracker/CVE-2026-99812
- https://www.suse.com/security/cve/CVE-2026-99812.html
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.