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

CVE-2024-46752
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.25 % · percentile 16 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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

Weaknesses (CWE)

  • CWE-404 — Improper Resource Shutdown or Release

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 5d4f98a28c7d334091c1b7744f48a1acdd2a4ae0 < b50857b96429a09fd3beed9f7f21b7bb7c433688 ; affected 5d4f98a28c7d334091c1b7744f48a1acdd2a4ae0 < 0fbac73a97286a7ec72229cb9b42d760a2c717ac ; affected 5d4f98a28c7d334091c1b7744f48a1acdd2a4ae0 < 41a0f85e268d72fe04f731b8ceea4748c2d65491 ; affected 5d4f98a28c7d334091c1b7744f48a1acdd2a4ae0 < f895db00c65e5d77c437cce946da9ec29dcdf563 ; affected 5d4f98a28c7d334091c1b7744f48a1acdd2a4ae0 < b56329a782314fde5b61058e2a25097af7ccb675
Linux · Linuxaffected 2.6.31 ; unaffected 0 < 2.6.31 ; unaffected 5.15.167 ≤ 5.15.* ; unaffected 6.1.110 ≤ 6.1.* ; unaffected 6.6.51 ≤ 6.6.* ; unaffected 6.10.10 ≤ 6.10.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD