Release Date: | 2024-10-21 |
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().
See more information about CVE-2024-49996 from MITRE CVE dictionary and NIST NVD
NOTE: The following CVSS metrics and score provided are preliminary and subject to review.
Base Score: | 6.7 |
Vector String: | CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H |
Version: | 3.1 |
Attack Vector: | Adjacent_Network |
Attack Complexity: | Low |
Privileges Required: | Low |
User Interaction: | Required |
Scope: | Unchanged |
Confidentiality Impact: | None |
Integrity Impact: | High |
Availability Impact: | High |
Platform | Errata | Release Date |
Oracle Linux version 8 (kernel-uek) | ELSA-2025-20095 | 2025-02-09 |
Oracle Linux version 9 (kernel-uek) | ELSA-2025-20095 | 2025-02-09 |
This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections: