CVE-2024-49996 in the critical feed json
cifs: Fix buffer overflow when parsing NFS reparse points
published 2024-10-21 2 y ago modified 2026-08-05 3 mo ago also EUVD-2024-43859
- cvss
- 9.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
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().
Patch / fix
- Linux Linux 5.4.287, 5.10.231, 5.15.174, 6.1.120, 6.6.55, 6.10.14, 6.11.3, 6.12
- linux Debian 12 6.1.123-1
- linux Debian 14, Debian 13 6.11.4-1
debian advisories DEBIAN-CVE-2024-49996
- linux Ubuntu 20.04 LTS 5.4.0-211.231
- linux Ubuntu 22.04 LTS 5.15.0-135.146
- linux Ubuntu 24.04 LTS 6.8.0-54.56
- linux-aws Ubuntu 20.04 LTS 5.4.0-1142.152
- linux-aws Ubuntu 22.04 LTS 5.15.0-1080.87
- linux-aws Ubuntu 24.04 LTS 6.8.0-1023.25
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1145.154
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1079.88
ubuntu advisories UBUNTU-CVE-2024-49996
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt Real Time Module 15 SP7 6.4.0-150700.7.16.1
- kernel-syms-rt Real Time Module 15 SP7 6.4.0-150700.7.16.1
- kernel-source-rt Real Time Module 15 SP7 6.4.0-150700.7.16.1
- dtb-aarch64 openSUSE Leap 15.6 6.4.0-150600.23.70.1
- kernel-64kb SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 6.4.0-150600.23.70.1
- kernel-syms SLE Module for Development Tools 15 SP6, openSUSE Leap 15.6 6.4.0-150600.23.70.1
- kernel-obs-qa openSUSE Leap 15.6 6.4.0-150600.23.70.1
- kernel-source SLE Module for Development Tools 15 SP6, SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 6.4.0-150600.23.70.1
suse advisories SUSE-SU-2025:03382-1SUSE-SU-2025:03301-1SUSE-SU-2025:03290-1SUSE-SU-2025:03272-1SUSE-SU-2025:03011-1SUSE-SU-2025:20164-1
- kernel-source-longterm openSUSE Tumbleweed 6.12.11-1.1
- kernel-source openSUSE Tumbleweed 6.11.8-1.1
opensuse advisories openSUSE-SU-2025:14705-1openSUSE-SU-2024:14500-1
- git.kernel.org/stable/c/7b222d6cb87077faf56a687a72af1951cf78c8a9 commit
- git.kernel.org/stable/c/73b078e3314d4854fd8286f3ba65c860ddd3a3dd commit
- git.kernel.org/stable/c/01cdddde39b065074fd48f07027757783cbf5b7d commit
- git.kernel.org/stable/c/ec79e6170bcae8a6036a4b6960f5e7e59a785601 commit
- git.kernel.org/stable/c/c6db81c550cea0c73bd72ef55f579991e0e4ba07 commit
- git.kernel.org/stable/c/803b3a39cb096d8718c0aebc03fd19f11c7dc919 commit
- git.kernel.org/stable/c/c173d47b69f07cd7ca08efb4e458adbd4725d8e9 commit
- git.kernel.org/stable/c/e2a8910af01653c1c268984855629d71fb81f404 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-49996 updated cvss 6.7
kernel: cifs: Fix buffer overflow when parsing NFS reparse points
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 moreaffected: workaround, no fix planned “Will not fix”
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.78% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-120 Buffer Copy without Checking Size of Input
- Technology feeds
References
-
git.kernel.org
/stable/c/7b222d6cb87077faf56a687a72af1951cf78c8a9
patch
-
git.kernel.org
/stable/c/73b078e3314d4854fd8286f3ba65c860ddd3a3dd
patch
-
git.kernel.org
/stable/c/01cdddde39b065074fd48f07027757783cbf5b7d
patch
-
git.kernel.org
/stable/c/ec79e6170bcae8a6036a4b6960f5e7e59a785601
patch
-
git.kernel.org
/stable/c/c6db81c550cea0c73bd72ef55f579991e0e4ba07
patch
-
git.kernel.org
/stable/c/803b3a39cb096d8718c0aebc03fd19f11c7dc919
patch
-
git.kernel.org
/stable/c/c173d47b69f07cd7ca08efb4e458adbd4725d8e9
patch
-
git.kernel.org
/stable/c/e2a8910af01653c1c268984855629d71fb81f404
patch
-
lists.debian.org
/debian-lts-announce/2025/03/msg00001.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2025/03/msg00002.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2024-49996
- NVD CVE-2024-49996
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.