CVE-2024-49996

Aliases:UBUNTU-CVE-2024-49996DEBIAN-CVE-2024-49996
Advisory lineage Upstream: 0 Downstream: 61
Modified
Published: 21 Oct 2024, 18:02
Last modified:05 Aug 2026, 11:40

Vulnerability Summary

Overall Risk (default)
high
70/100
CVSS Score
9.4 CRITICAL
v3.1 (cve.org)
EPSS Score
0.79% LOW
1% probability +0.77%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

21 Oct 2024, 18:02
Published
Vulnerability first disclosed
05 Aug 2026, 11:40
Last Modified
Vulnerability information updated

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 Metrics

  • v3.1HIGHScore: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • v3.1CRITICALScore: 9.4CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H

EPSS Trends

Current EPSS score: 0.79% Percentile: 55%

Techniques & Countermeasures

  • CWE-120Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

    The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.

Affected Systems

  • debianlinux

    < 5.10.234-1 | < 6.1.123-1 | < 6.11.4-1 | < 6.11.4-1

  • debianlinux-6.1

    < 6.1.128-1~deb11u1

  • ubuntulinux

    < 5.4.0-211.231 | < 5.15.0-135.146 | < 6.8.0-54.56

  • ubuntulinux-allwinner-5.19

    all

  • ubuntulinux-aws

    < 5.4.0-1142.152 | < 5.15.0-1080.87 | < 6.8.0-1023.25

  • ubuntulinux-aws-5.0

    all

  • ubuntulinux-aws-5.11

    all

  • ubuntulinux-aws-5.13

    all

  • ubuntulinux-aws-5.15

    < 5.15.0-1080.87~20.04.1

  • ubuntulinux-aws-5.19

    all

  • ubuntulinux-aws-5.3

    all

  • ubuntulinux-aws-5.4

    < 5.4.0-1142.152~18.04.1

  • ubuntulinux-aws-5.8

    all

  • ubuntulinux-aws-6.2

    all

  • ubuntulinux-aws-6.5

    all

  • ubuntulinux-aws-6.8

    < 6.8.0-1023.25~22.04.1

  • ubuntulinux-aws-fips

    < 5.4.0-1142.153+fips1 | all | < 5.15.0-1080.87+fips1

  • ubuntulinux-azure

    all | < 5.4.0-1147.154 | < 5.15.0-1084.93 | < 6.8.0-1025.30

  • ubuntulinux-azure-5.11

    all

  • ubuntulinux-azure-5.13

    all

  • ubuntulinux-azure-5.15

    < 5.15.0-1086.95~20.04.1

  • ubuntulinux-azure-5.19

    all

  • ubuntulinux-azure-5.3

    all

  • ubuntulinux-azure-5.4

    < 5.4.0-1147.154~18.04.1

  • ubuntulinux-azure-5.8

    all

  • ubuntulinux-azure-6.11

    < 6.11.0-1012.12~24.04.1

  • ubuntulinux-azure-6.2

    all

  • ubuntulinux-azure-6.5

    all

  • ubuntulinux-azure-6.8

    < 6.8.0-1025.30~22.04.1

  • ubuntulinux-azure-edge

    all

  • ubuntulinux-azure-fde

    all | all

  • ubuntulinux-azure-fde-5.19

    all

  • ubuntulinux-azure-fde-6.2

    all

  • ubuntulinux-azure-fips

    < 5.4.0-1147.154+fips1 | all | < 5.15.0-1083.92+fips1

  • ubuntulinux-azure-nvidia

    < 6.8.0-1014.15

  • ubuntulinux-bluefield

    all | < 5.4.0-1101.108 | < 5.15.0-1062.64

  • ubuntulinux-fips

    < 5.4.0-1116.126 | all | < 5.15.0-135.146+fips1 | < 6.8.0-78.78+fips1

  • ubuntulinux-gcp

    all | < 5.4.0-1145.154 | < 5.15.0-1079.88 | < 6.8.0-1024.26

  • ubuntulinux-gcp-5.11

    all

  • ubuntulinux-gcp-5.13

    all

  • ubuntulinux-gcp-5.15

    < 5.15.0-1081.90~20.04.1

  • ubuntulinux-gcp-5.19

    all

  • ubuntulinux-gcp-5.3

    all

  • ubuntulinux-gcp-5.4

    < 5.4.0-1145.154~18.04.1

  • ubuntulinux-gcp-5.8

    all

  • ubuntulinux-gcp-6.11

    < 6.11.0-1011.11~24.04.1

  • ubuntulinux-gcp-6.2

    all

  • ubuntulinux-gcp-6.5

    all

  • ubuntulinux-gcp-6.8

    < 6.8.0-1024.26~22.04.1

  • ubuntulinux-gcp-fips

    < 5.4.0-1145.154+fips1 | all | < 5.15.0-1079.88+fips1

Showing first 50 affected entries in server-rendered view.

References (51)