First published: Mon Oct 21 2024(Updated: )
In the Linux kernel, the following vulnerability has been resolved: cifs: Fix buffer overflow when parsing NFS reparse points ReparseDataLength is sum of the InodeType size and DataBuffer size. So to get DataBuffer size it is needed to subtract InodeType's size from ReparseDataLength. Function cifs_strndup_from_utf16() is currentlly accessing buf->DataBuffer at position after the end of the buffer because it does not subtract InodeType size from the length. Fix this problem and correctly subtract variable len. Member InodeType is present only when reparse buffer is large enough. Check for ReparseDataLength before accessing InodeType to prevent another invalid memory access. Major and minor rdev values are present also only when reparse buffer is large enough. Check for reparse buffer size before calling reparse_mkdev().
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | >=5.3<6.6.55 | |
Linux Kernel | >=6.7<6.10.14 | |
Linux Kernel | >=6.11<6.11.3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-49996 is considered to have a high severity due to the potential for buffer overflow exploitation.
To fix CVE-2024-49996, update to a patched version of the Linux Kernel that addresses this vulnerability.
CVE-2024-49996 affects Linux Kernel versions between 5.3 and 6.6.55, 6.7 and 6.10.14, as well as 6.11 and 6.11.3.
CVE-2024-49996 impacts systems running affected versions of the Linux Kernel, particularly those using the CIFS file system.
Exploiting CVE-2024-49996 could lead to system crashes or unauthorized memory access, compromising system stability and security.