CVE-2024-46752

btrfs: replace BUG_ON() with error handling at update_ref_for_cow()

MEDIUM
5.5
CVSS Score
Published: September 18, 2024 at 07:12 AM UTC
Updated: June 17, 2026 at 07:55 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: replace BUG_ON() with error handling at update_ref_for_cow() Instead of a BUG_ON() just return an error, log an error message and abort the transaction in case we find an extent buffer belonging to the relocation tree that doesn't have the full backref flag set. This is unexpected and should never happen (save for bugs or a potential bad memory).

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.15.1672.6.31 ≤ v < 5.15.1672.6.31 ≤ v < 6.1.1102.6.31 ≤ v < 6.10.102.6.31 ≤ v < 6.112.6.31 ≤ v < 6.6.515.16 ≤ v < 6.1.1106.2 ≤ v < 6.6.516.7 ≤ v < 6.10.102.6.315d4f98a28c7d334091c1b7744f48a1acdd2a4ae0
Vendor states this is fixed in 0fbac73a97286a7ec72229cb9b42d760a2c717ac (fixed)
Vendor states this is fixed in 41a0f85e268d72fe04f731b8ceea4748c2d65491 (fixed)
Vendor states this is fixed in b50857b96429a09fd3beed9f7f21b7bb7c433688 (fixed)
Vendor states this is fixed in b56329a782314fde5b61058e2a25097af7ccb675 (fixed)
Vendor states this is fixed in f895db00c65e5d77c437cce946da9ec29dcdf563 (fixed)
Vendor states this is fixed in 2.6.31 (unaffected)
Vendor states this is fixed in 5.15.167 (unaffected)
Vendor states this is fixed in 6.1.110 (unaffected)
Vendor states this is fixed in 6.10.10 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.6.51 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0fbac73a97286a7ec72229cb9b42d760a2c717ac
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/41a0f85e268d72fe04f731b8ceea4748c2d65491
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b50857b96429a09fd3beed9f7f21b7bb7c433688
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b56329a782314fde5b61058e2a25097af7ccb675
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f895db00c65e5d77c437cce946da9ec29dcdf563
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-404

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card