CVE-2024-35935
btrfs: send: handle path ref underflow in header iterate_inode_ref()
Check your servers for CVE-2024-35935
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-35935 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
btrfs: send: handle path ref underflow in header iterate_inode_ref()
Change BUG_ON to proper error handling if building the path buffer fails. The pointers are not printed so we don't accidentally leak kernel addresses.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 31db9f7c23fbf7e95026143f79645de6507b583b, before be2b6bcc936ae17f42fff6494106a5660b35d8d3 affected from 31db9f7c23fbf7e95026143f79645de6507b583b, before 024529c27c8b4b273325a169e078337c8279e229 affected from 31db9f7c23fbf7e95026143f79645de6507b583b, before 4720d590c4cb5d9ffa0060b89743651cc7e995f9 affected from 31db9f7c23fbf7e95026143f79645de6507b583b, before 2f6174fd4ccf403b42b3d5f0d1b6b496a0e5330a affected from 31db9f7c23fbf7e95026143f79645de6507b583b, before 9ae356c627b493323e1433dcb27a26917668c07c affected from 31db9f7c23fbf7e95026143f79645de6507b583b, before c1363ed8867b81ea169fba2ccc14af96a85ed183 affected from 31db9f7c23fbf7e95026143f79645de6507b583b, before 03938619a1e718b6168ae4528e1b0f979293f1a5 affected from 31db9f7c23fbf7e95026143f79645de6507b583b, before 3c6ee34c6f9cd12802326da26631232a61743501
Other versions: unaffected
|
| Linux |
affected 3.6 unaffected before 3.6 unaffected from 4.19.312 up to and including 4.19.* unaffected from 5.4.274 up to and including 5.4.* unaffected from 5.10.215 up to and including 5.10.* unaffected from 5.15.155 up to and including 5.15.* unaffected from 6.1.86 up to and including 6.1.* unaffected from 6.6.27 up to and including 6.6.* unaffected from 6.8.6 up to and including 6.8.* unaffected 6.9 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-35935 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-35935
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-35935
trivy image --scanners vuln IMAGE | grep CVE-2024-35935
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/be2b6bcc936ae17f42fff6494106a5660b35d8d3 git.kernel.org
- https://git.kernel.org/stable/c/024529c27c8b4b273325a169e078337c8279e229 git.kernel.org
- https://git.kernel.org/stable/c/4720d590c4cb5d9ffa0060b89743651cc7e995f9 git.kernel.org
- https://git.kernel.org/stable/c/2f6174fd4ccf403b42b3d5f0d1b6b496a0e5330a git.kernel.org
- https://git.kernel.org/stable/c/9ae356c627b493323e1433dcb27a26917668c07c git.kernel.org
- https://git.kernel.org/stable/c/c1363ed8867b81ea169fba2ccc14af96a85ed183 git.kernel.org
- https://git.kernel.org/stable/c/03938619a1e718b6168ae4528e1b0f979293f1a5 git.kernel.org
- https://git.kernel.org/stable/c/3c6ee34c6f9cd12802326da26631232a61743501 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html cert-portal.siemens.com
Source: the record CVE-2024-35935 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse