CVE-2026-45935: fs/ntfs3: Fix slab-out-of-bounds read in DeleteIndexEntryRoot
In the Linux kernel, the following vulnerability has been resolved:
fs/ntfs3: Fix slab-out-of-bounds read in DeleteIndexEntryRoot
In the 'DeleteIndexEntryRoot' case of the 'doaction' function, the entry size ('esize') is retrieved from the log record without adequate bounds checking.
Specifically, the code calculates the end of the entry ('e2') using: e2 = Add2Ptr(e1, esize);
It then calculates the size for memmove using 'PtrOffset(e2, ...)', which subtracts the end pointer from the buffer limit. If 'esize' is maliciously large, 'e2' exceeds the used buffer size. This results in a negative offset which, when cast to sizet for memmove, interprets as a massive unsigned integer, leading to a heap buffer overflow.
This commit adds a check to ensure that the entry size ('esize') strictly fits within the remaining used space of the index header before performing memory operations.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-45935?
CVE-2026-45935 has a severity score of 7.8, indicating high risk.
What type of vulnerability is described in CVE-2026-45935?
CVE-2026-45935 is categorized as a buffer overflow vulnerability.
How do I fix CVE-2026-45935?
To fix CVE-2026-45935, update to the latest version of the Linux kernel that includes the patch for this vulnerability.
What products are affected by CVE-2026-45935?
CVE-2026-45935 affects the Linux kernel specifically in the fs/ntfs3 module.
What are the potential consequences of CVE-2026-45935?
CVE-2026-45935 can lead to a slab-out-of-bounds read, which may cause unauthorized access to sensitive data.