CVE 7.8 HIGH

fs/ntfs3: Fix slab-out-of-bounds read in DeleteIndexEntryRoot_CVE-2026-45935

7.8 / 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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.

Basic Information

ID CVE-2026-45935
Source Linux
Published May 27, 2026 at 12:17
Modified May 30, 2026 at 10:46

Affected Product

Vendor Linux
Product Linux
Version b46acd6a6a627d876898e1c84d3f84902264b445
Affected Versions Linux Linux b46acd6a6a627d876898e1c84d3f84902264b445
Linux Linux b46acd6a6a627d876898e1c84d3f84902264b445
Linux Linux b46acd6a6a627d876898e1c84d3f84902264b445
Linux Linux b46acd6a6a627d876898e1c84d3f84902264b445
Linux Linux b46acd6a6a627d876898e1c84d3f84902264b445
Linux Linux b46acd6a6a627d876898e1c84d3f84902264b445
Linux Linux b46acd6a6a627d876898e1c84d3f84902264b445
Linux Linux 5.15

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.