# CVE-2024-35935: btrfs: send: handle path ref underflow in header iterate_inode_ref()

- Severity: Low 3.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-05-19T10:10:42.319Z
- Modified: 2026-10-15T01:17:54.033Z
- Weaknesses: CWE-209
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 31db9f7c23fbf7e95026143f79645de6507b583b before be2b6bcc936ae17f42fff6494106a5660b35d8d3; from 31db9f7c23fbf7e95026143f79645de6507b583b before 024529c27c8b4b273325a169e078337c8279e229; from 31db9f7c23fbf7e95026143f79645de6507b583b before 4720d590c4cb5d9ffa0060b89743651cc7e995f9; from 31db9f7c23fbf7e95026143f79645de6507b583b before 2f6174fd4ccf403b42b3d5f0d1b6b496a0e5330a; from 31db9f7c23fbf7e95026143f79645de6507b583b before 9ae356c627b493323e1433dcb27a26917668c07c; from 31db9f7c23fbf7e95026143f79645de6507b583b before c1363ed8867b81ea169fba2ccc14af96a85ed183; from 31db9f7c23fbf7e95026143f79645de6507b583b before 03938619a1e718b6168ae4528e1b0f979293f1a5; from 31db9f7c23fbf7e95026143f79645de6507b583b before 3c6ee34c6f9cd12802326da26631232a61743501; 3.6 (not affected: before 3.6; from 4.19.312 up to 4.19.*; from 5.4.274 up to 5.4.*; from 5.10.215 up to 5.10.*; from 5.15.155 up to 5.15.*; from 6.1.86 up to 6.1.*; from 6.6.27 up to 6.6.*; from 6.8.6 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: before 4.19.312; from 4.20 before 5.4.274; from 5.5 before 5.10.215; from 5.11 before 5.15.155; from 5.16 before 6.1.86; from 6.2 before 6.6.27; from 6.7 before 6.8.6
- debian debian_linux: 10.0

## References

- <https://git.kernel.org/stable/c/be2b6bcc936ae17f42fff6494106a5660b35d8d3> (patch)
- <https://git.kernel.org/stable/c/024529c27c8b4b273325a169e078337c8279e229> (patch)
- <https://git.kernel.org/stable/c/4720d590c4cb5d9ffa0060b89743651cc7e995f9> (patch)
- <https://git.kernel.org/stable/c/2f6174fd4ccf403b42b3d5f0d1b6b496a0e5330a> (patch)
- <https://git.kernel.org/stable/c/9ae356c627b493323e1433dcb27a26917668c07c> (patch)
- <https://git.kernel.org/stable/c/c1363ed8867b81ea169fba2ccc14af96a85ed183> (patch)
- <https://git.kernel.org/stable/c/03938619a1e718b6168ae4528e1b0f979293f1a5> (patch)
- <https://git.kernel.org/stable/c/3c6ee34c6f9cd12802326da26631232a61743501> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Sources

- CVE List: [CVE-2024-35935](https://www.cve.org/CVERecord?id=CVE-2024-35935), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-35935](https://nvd.nist.gov/vuln/detail/CVE-2024-35935), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-35935 · Whole record: https://cve.day/CVE-2024-35935.json · Rebuilt by cve.day 2026-11-25T22:58:40.611Z
