CVE-2024-49996

High

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().

Package Linux Kernel
Published 2024-10-21
Last modified 2025-11-03
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

7.8

out of 10
High
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness type

CWE-120

CVE-2024-49996 is classified as CWE-120

See CWE-120 on MITRE CWE for full details on this weakness type.

Affected versions

Linux kernel versions 5.3 and later are affected. Fixed in 5.4.287, 5.10.231, 5.15.174, 6.1.120, 6.6.55, 6.10.14, 6.11.3, 6.12 and their respective stable series.

Affected from
≥ 5.3
Fixed in
✓ 5.4.287 5.4.x ✓ 5.10.231 5.10.x ✓ 5.15.174 5.15.x ✓ 6.1.120 6.1.x ✓ 6.6.55 6.6.x ✓ 6.10.14 6.10.x ✓ 6.11.3 6.11.x ✓ 6.12

References

The following references provide additional information about CVE-2024-49996 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.

Frequently asked questions

  • What is CVE-2024-49996?

    CVE-2024-49996 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 . It affects Linux kernel versions from 5.3 onward and has been patched in 5.4.287, 5.10.231, 5.15.174 and others. CVE-2024-49996 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2024-49996?

    CVE-2024-49996 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H .

  • Is there a patch available for CVE-2024-49996?

    Yes — CVE-2024-49996 has been patched. Fixed versions include 5.4.287, 5.10.231, 5.15.174 and others. If you are running Linux kernel 5.3 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2024-49996 actively exploited?

    No — CVE-2024-49996 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.