# CVE-2024-46753: btrfs: handle errors from btrfs_dec_ref() properly

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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.30%, higher than 15% of CVEs (2026-11-30)
- Published: 2024-09-18T07:12:12.795Z
- Modified: 2026-06-17T07:55:52.037Z
- Weaknesses: CWE-617
- 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: handle errors from btrfs_dec_ref() properly

In walk_up_proc() we BUG_ON(ret) from btrfs_dec_ref().  This is
incorrect, we have proper error handling here, return the error.

(As written by CVE List.)

## Affected

- Linux Linux: from 2c47e605a91dde6b0514f689645e7ab336c8592a before 0e4840ae09f375381167000ce47424818fcbcc7c; from 2c47e605a91dde6b0514f689645e7ab336c8592a before 2c4fe45351e544da4b8f10c74b277117a4fa7869; from 2c47e605a91dde6b0514f689645e7ab336c8592a before 9c8237021b53d52357c0de07a768582fafb2791d; from 2c47e605a91dde6b0514f689645e7ab336c8592a before 67e4ca7ddc67ef949326b4dc404a9678bbe67d72; from 2c47e605a91dde6b0514f689645e7ab336c8592a before a7f16a7a709845855cb5a0e080a52bda5873f9de; from 2c47e605a91dde6b0514f689645e7ab336c8592a before 5eb178f373b4f16f3b42d55ff88fc94dd95b93b1; 2.6.31 (not affected: before 2.6.31; from 5.10.236 up to 5.10.*; from 5.15.180 up to 5.15.*; from 6.1.134 up to 6.1.*; from 6.6.87 up to 6.6.*; from 6.10.10 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: before 5.10.236; from 5.11 before 5.15.180; from 5.16 before 6.1.134; from 6.2 before 6.6.87; from 6.7 before 6.10.10

## References

- <https://git.kernel.org/stable/c/0e4840ae09f375381167000ce47424818fcbcc7c> (patch)
- <https://git.kernel.org/stable/c/2c4fe45351e544da4b8f10c74b277117a4fa7869> (patch)
- <https://git.kernel.org/stable/c/9c8237021b53d52357c0de07a768582fafb2791d> (patch)
- <https://git.kernel.org/stable/c/67e4ca7ddc67ef949326b4dc404a9678bbe67d72> (patch)
- <https://git.kernel.org/stable/c/a7f16a7a709845855cb5a0e080a52bda5873f9de> (patch)
- <https://git.kernel.org/stable/c/5eb178f373b4f16f3b42d55ff88fc94dd95b93b1> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>

## Sources

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

---

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