CVE-2026-99812

Source
https://cve.org/CVERecord?id=CVE-2026-99812
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99812.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99812
Downstream
Published
2026-11-30T07:52:16Z
Modified
2026-11-30T09:00:31Z
Summary
fs/ntfs3: fix slab-out-of-bounds write in attr_insert_range()
Details

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) ...

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99812.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9256ec35359f52c1e390cf419873cf519ee332b6
Fixed
e054aeaf756808656dc90023aad8ca4e906cbe1e
Fixed
e784ee49dffa83a53837884ffbb123575c8dd179
Fixed
8bb706de22b741ede9c86244a5cca55b9b79ecc1
Fixed
a0663cf4bfaa8afb0f7318e9d024425dc8beed05
Fixed
ea6e4b5031cfd6ebb84e26c3766e8591979e8125
Fixed
bf9a6578e03b065335836e025356b4b9170b9449

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99812.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.0.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99812.json"