Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-46751

published high CVSS 3.1 · 7.8

btrfs: don't BUG_ON() when 0 reference count at btrfs_lookup_extent_info()

Published
18 Sep 2024, 07:12:11 UTC
Updated
05 Aug 2026, 11:38:21 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux5d4f98a28c7d334091c1b7744f48a1acdd2a4ae0 to < 9c309d2434abbe880712af7e60da9ead8b6703fe · 5d4f98a28c7d334091c1b7744f48a1acdd2a4ae0 to < d64807ded1b6054f066e03d8add6d920f3db9e5d · 5d4f98a28c7d334091c1b7744f48a1acdd2a4ae0 to < 18eb53a2734ff61b9a72c4fef5db7b38cb48ae16 · 5d4f98a28c7d334091c1b7744f48a1acdd2a4ae0 to < 3cfec712a439c5c5f5c718c5c669ee41a898f776 · 5d4f98a28c7d334091c1b7744f48a1acdd2a4ae0 to < ef9a8b73c8b60b27d9db4787e624a3438ffe8428 · 5d4f98a28c7d334091c1b7744f48a1acdd2a4ae0 to < 28cb13f29faf6290597b24b728dc3100c019356f · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.31 (affected) · 0 to < 2.6.31 (unaffected · semver) · 5.10.238 through 5.10.* (unaffected · semver) · 5.15.184 through 5.15.* (unaffected · semver) · 6.1.140 through 6.1.* (unaffected · semver) · 6.6.92 through 6.6.* (unaffected · semver) · 6.10.10 through 6.10.* (unaffected · semver) · 6.11 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2025-095 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2025-073 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-1018 Fixed Not stated Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.140-1 DSA-5925-1
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2025-1050 Fixed Not stated Amazon Linux assessment
SUSE / openSUSE SLE-12-SP5 cluster-md-kmp-defaultaarch64 Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
Debian bullseye linux Advisory build 5.10.244-1 DLA-4327-1
Debian bullseye linux-6.1 Advisory build 6.1.140-1~deb11u1 DLA-4271-1
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-310.184.5.2.el8uek ELSA-2025-20470
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek-containeraarch64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek-containerx86_64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek-docaarch64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek64kaarch64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek64k-coreaarch64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek64k-develaarch64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek64k-modulesaarch64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
Oracle Linux 9 kernel-uek64k-modules-extraaarch64 Advisory build 0:5.15.0-310.184.5.2.el9uek ELSA-2025-20470
SUSE / openSUSE SLE-12-SP5 cluster-md-kmp-defaultppc64le Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 cluster-md-kmp-defaults390x Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 cluster-md-kmp-defaultx86_64 Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 dlm-kmp-defaultaarch64 Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 dlm-kmp-defaultppc64le Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 dlm-kmp-defaults390x Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 dlm-kmp-defaultx86_64 Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 gfs2-kmp-defaultaarch64 Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 gfs2-kmp-defaultppc64le Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 gfs2-kmp-defaults390x Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 gfs2-kmp-defaultx86_64 Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 kernel-defaultaarch64 Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 kernel-defaultppc64le Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 kernel-defaults390x Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 kernel-defaultx86_64 Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 kernel-default-baseaarch64 Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 kernel-default-baseppc64le Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 kernel-default-bases390x Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 kernel-default-basex86_64 Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 kernel-default-develaarch64 Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 kernel-default-develppc64le Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 kernel-default-devels390x Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 kernel-default-develx86_64 Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgraftppc64le Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgrafts390x Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgraftx86_64 Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgraft-develppc64le Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgraft-devels390x Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgraft-develx86_64 Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 kernel-default-mans390x Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 kernel-develnoarch Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 kernel-macrosnoarch Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 kernel-sourcenoarch Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 kernel-symsaarch64 Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1
SUSE / openSUSE SLE-12-SP5 kernel-symsppc64le Advisory build 4.12.14-122.261.1 SUSE-SU-2025:01983-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: don't BUG_ON() when 0 reference count at btrfs_lookup_extent_info() Instead of doing a BUG_ON() handle the error by returning -EUCLEAN, aborting the transaction and logging an error message.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

45

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable path is reached through a locally attached btrfs filesystem — a crafted image on a USB stick, loop-mounted file, or container/VM disk image — and then driven by ordinary local file writes or subvolume deletion. There is no network-facing consumer of btrfs_lookup_extent_info(). AC:L - The triggering condition is a static, fully attacker-controlled on-disk value (extent item refs == 0) that the tree checker does not reject, so the crafted image deterministically hits the BUG_ON on the first COW or snapshot-delete of the affected block. No race, timing window, or memory-layout dependency is involved. PR:L - Once a crafted or inconsistent btrfs is mounted — routinely via desktop/kiosk automount (udisks2/systemd), shared storage, or container images — any unprivileged local user with write access drives btrfs_force_cow_block()/btrfs_drop_snapshot() into the assertion; no capability check gates the path. UI:N - After the filesystem is present, the attacker triggers the fault entirely through their own file writes or a subvolume delete, with no action required from any other user. Automount removes the need for a victim to explicitly mount the device. S:U - The crash and any resulting metadata corruption are confined to the kernel and the affected btrfs filesystem, within the same security authority. No hypervisor, IOMMU, or sandbox boundary is crossed. C:H - The assertion is btrfs's last line of defense before operating on an extent with broken reference bookkeeping; when it is bypassed (CONFIG_BUG=n embedded/IoT builds) update_ref_for_cow() takes the last-reference path and frees a still-referenced tree block, producing cross-linked extents that expose one file's or subvolume's data through another. The oops itself also dumps kernel registers, stack contents, and pointers to the log. I:H - Continuing past a zero refcount causes btrfs to free and re-allocate live metadata blocks, giving the attacker arbitrary corruption of extent-tree and file data belonging to other users on the filesystem. The oops additionally aborts a transaction mid-flight, leaving on-disk state inconsistent. A:H - BUG_ON() panics the kernel outright under panic_on_oops; otherwise the task is killed while still holding delayed_refs->lock, head->mutex, and tree locks, so every subsequent delayed-ref operation on that filesystem spins or blocks forever — an unrecoverable filesystem-wide hang and potential hard lockup, which is exactly why the fix unlocks all three before returning -EUCLEAN.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 5d4f98a28c7d334091c1b7744f48a1acdd2a4ae0 to < 9c309d2434abbe880712af7e60da9ead8b6703fe (affected · git)5d4f98a28c7d334091c1b7744f48a1acdd2a4ae0 to < d64807ded1b6054f066e03d8add6d920f3db9e5d (affected · git)5d4f98a28c7d334091c1b7744f48a1acdd2a4ae0 to < 18eb53a2734ff61b9a72c4fef5db7b38cb48ae16 (affected · git)5d4f98a28c7d334091c1b7744f48a1acdd2a4ae0 to < 3cfec712a439c5c5f5c718c5c669ee41a898f776 (affected · git)5d4f98a28c7d334091c1b7744f48a1acdd2a4ae0 to < ef9a8b73c8b60b27d9db4787e624a3438ffe8428 (affected · git)5d4f98a28c7d334091c1b7744f48a1acdd2a4ae0 to < 28cb13f29faf6290597b24b728dc3100c019356f (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.31 (affected)0 to < 2.6.31 (unaffected · semver)5.10.238 through 5.10.* (unaffected · semver)5.15.184 through 5.15.* (unaffected · semver)6.1.140 through 6.1.* (unaffected · semver)6.6.92 through 6.6.* (unaffected · semver)6.10.10 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

3

Linux · cna

btrfs: don't BUG_ON() when 0 reference count at btrfs_lookup_extent_info()

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
fe81ce52e1715ba3402f4655279887ffb43185e9adbf88b0edcfdb0b33b20830
Ingested
23 Sep 2026, 08:28:03 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected