AUGUST 4, 2026
Live Feed
Back to database
Case File

CVE-2024-46840

MEDIUM · CVSS 5.5 EPSS 0.26%

Source: NVD + CISA KEV + EPSS (historical backfill) · Published 2024-09-27 · Last synced 2026-08-04

CyberRota Analysis

This is a medium severity vulnerability with a CVSS score of 5.5. It affects Linux.

CVE
CVE-2024-46840
Severity
MEDIUM
CVSS
5.5
EPSS
0.26%
Linux

Original NVD Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: clean up our handling of refs == 0 in snapshot delete In reada we BUG_ON(refs == 0), which could be unkind since we aren't holding a lock on the extent leaf and thus could get a transient incorrect answer. In walk_down_proc we also BUG_ON(refs == 0), which could happen if we have extent tree corruption. Change that to return -EUCLEAN. In do_walk_down() we catch this case and handle it correctly, however we return -EIO, which -EUCLEAN is a more appropriate error code. Finally in walk_up_proc we have the same BUG_ON(refs == 0), so convert that to proper error handling. Also adjust the error message so we can actually do something with the information.

Related CVEs

Other vulnerabilities affecting the same vendor(s)