Skip to content

CVE-2024-49996

Linux Kernel buffer overflow

9.4 CRITICALEPSS 0.79%
  1. Published21 Oct 2024

Description

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

CVSS 3.1 breakdown

Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityLow
AvailabilityHigh
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H

Affected products

Debian Linux11.0
Linux Kernel≥ 5.11 < 5.15.174 · ≥ 5.16 < 6.1.120 · ≥ 5.3 < 5.4.287 · ≥ 5.5 < 5.10.231

Frequently asked

Is CVE-2024-49996 being actively exploited?

CVE-2024-49996 is not in the CISA KEV catalog. Its EPSS exploit probability is 0.79%.

How severe is CVE-2024-49996?

CVE-2024-49996 has a CVSS 3.1 base score of 9.4, rated critical. EPSS estimates a 0.79% probability of exploitation.

Which products are affected by CVE-2024-49996?

Affected products include Debian Linux, Linux Kernel.

How do I fix CVE-2024-49996?

Upgrade affected software to a fixed version, for example Linux Kernel 5.15.174 or later, then confirm no affected versions remain in your inventory.

How Secuno handles this

Secuno correlates vulnerabilities like CVE-2024-49996 against the real software inventory on every managed device, as each hourly inventory arrives. Rather than a static severity, each match is scored in context: exploit availability, EPSS, the asset's exposure, and business criticality decide where it lands in the queue. If an affected version is present anywhere across your portfolio, it surfaces automatically with a prioritised remediation path.

Get Patch this first every Monday

Five vulnerabilities that matter this week, ranked on real exploitation. Plain language, one email, no spam.

You can unsubscribe with one click from every issue. We handle your details as described in our privacy policy.

Data from the NVD, CISA KEV catalog and FIRST EPSS. CVSS 3.1 base score shown where available.