PT-2024-33834
CVE-2024-49996
·
Published
2024-10-03
·
Updated
2026-10-19
Description by
CVSS 3.1
9.4
CriticalMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H
Name of the Vulnerable Software and Affected Versions:
Linux kernel versions prior to 6.6.58
Description:
A buffer overflow issue has been identified in the Linux kernel when parsing NFS reparse points. The problem arises because the function
cifs strndup from utf16() accesses the DataBuffer beyond its bounds due to not subtracting the InodeType size from the ReparseDataLength. To fix this, the code now correctly subtracts the InodeType size from the ReparseDataLength to prevent accessing memory beyond the buffer's end. Additionally, checks have been added to ensure that InodeType and major and minor rdev values are only accessed when the reparse buffer is sufficiently large, preventing invalid memory accesses.Recommendations:
For Linux kernel versions prior to 6.6.58, update to version 6.6.58 or later to resolve the buffer overflow issue when parsing NFS reparse points. As a temporary workaround, consider restricting access to the
cifs strndup from utf16() function until the update can be applied.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾