CVE-2026-45935

fs/ntfs3: Fix slab-out-of-bounds read in DeleteIndexEntryRoot

State
Published
Severity
7.8 High
Published
May 27, 2026
Updated
Aug 5, 2026
Reserved
May 13, 2026

Read the record on cve.org

Description

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 'do_action' 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 size_t 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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b46acd6a6a627d876898e1c84d3f84902264b445 to before 36c03f7f177b34d51f1cf1d2304b1074607bf4b0Affected
  • b46acd6a6a627d876898e1c84d3f84902264b445 to before b271c9cb85927210b1b799e55ee7f702d12b4336Affected
  • b46acd6a6a627d876898e1c84d3f84902264b445 to before a584b9d1059b29e97e17c919274e9adfb846f2a0Affected
  • b46acd6a6a627d876898e1c84d3f84902264b445 to before c065541b71b79874c83d418a9acd18ad5826339bAffected
  • b46acd6a6a627d876898e1c84d3f84902264b445 to before 78942172d5bff4d4afed8674abc09cc560ce44a0Affected
  • b46acd6a6a627d876898e1c84d3f84902264b445 to before f3b437a4c3e022a1449658ae9f3dd34859894513Affected
  • b46acd6a6a627d876898e1c84d3f84902264b445 to before b2bc7c44ed1779fc9eaab9a186db0f0d01439622Affected
LinuxLinux
  • 5.15Affected
  • before 5.15Not affected
  • 5.15.202 through 5.15.*Not affected
  • 6.1.165 through 6.1.*Not affected
  • 6.6.128 through 6.6.*Not affected
  • 6.12.75 through 6.12.*Not affected
  • 6.18.14 through 6.18.*Not affected
  • 6.19.4 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.