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-26726

published

btrfs: don't drop extent_map for free space inode on write error

Published
03 Apr 2024, 14:55:24 UTC
Updated
11 May 2026, 20:02:57 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux77cef2ec5484564eca6bd12a2b4a1e88fd766fbc to < 143842584c1237ebc248b2547c29d16bbe400a92 · 77cef2ec5484564eca6bd12a2b4a1e88fd766fbc to < 02f2b95b00bf57d20320ee168b30fb7f3db8e555 · 77cef2ec5484564eca6bd12a2b4a1e88fd766fbc to < 7bddf18f474f166c19f91b2baf67bf7c5eda03f7 · 77cef2ec5484564eca6bd12a2b4a1e88fd766fbc to < a4b7741c8302e28073bfc6dd1c2e73598e5e535e · 77cef2ec5484564eca6bd12a2b4a1e88fd766fbc to < 5571e41ec6e56e35f34ae9f5b3a335ef510e0ade · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.12 (affected) · 0 to < 3.12 (unaffected · semver) · 5.15.187 through 5.15.* (unaffected · semver) · 6.1.79 through 6.1.* (unaffected · semver) · 6.6.18 through 6.6.* (unaffected · semver) · 6.7.6 through 6.7.* (unaffected · semver) · 6.8 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2025-084 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2024-549 Fixed Not stated Amazon Linux assessment
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-312.187.5.el8uek ELSA-2025-20552
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-containeraarch64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-containerx86_64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-docaarch64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek64kaarch64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek64k-coreaarch64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek64k-develaarch64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek64k-modulesaarch64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
Oracle Linux 9 kernel-uek64k-modules-extraaarch64 Advisory build 0:5.15.0-312.187.5.el9uek ELSA-2025-20552
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-defaultppc64le Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-defaults390x Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-rtx86_64 Advisory build 6.4.0-150600.10.5.1 SUSE-SU-2024:2973-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-defaultppc64le Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-defaults390x Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-rtx86_64 Advisory build 6.4.0-150600.10.5.1 SUSE-SU-2024:2973-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-defaultppc64le Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-defaults390x Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-rtx86_64 Advisory build 6.4.0-150600.10.5.1 SUSE-SU-2024:2973-1
SUSE / openSUSE SLE-15-SP6 kernel-64kbaarch64 Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 kernel-64kb-develaarch64 Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 kernel-azureaarch64 Advisory build 6.4.0-150600.8.5.4 SUSE-SU-2024:2135-1
SUSE / openSUSE SLE-15-SP6 kernel-azurex86_64 Advisory build 6.4.0-150600.8.5.4 SUSE-SU-2024:2135-1
SUSE / openSUSE SLE-15-SP6 kernel-azure-develaarch64 Advisory build 6.4.0-150600.8.5.4 SUSE-SU-2024:2135-1
SUSE / openSUSE SLE-15-SP6 kernel-azure-develx86_64 Advisory build 6.4.0-150600.8.5.4 SUSE-SU-2024:2135-1
SUSE / openSUSE SLE-15-SP6 kernel-defaultaarch64 Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 kernel-defaultppc64le Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 kernel-defaults390x Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 kernel-defaultx86_64 Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 kernel-default-baseaarch64 Advisory build 6.4.0-150600.23.7.3.150600.12.2.7 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 kernel-default-baseppc64le Advisory build 6.4.0-150600.23.7.3.150600.12.2.7 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 kernel-default-basex86_64 Advisory build 6.4.0-150600.23.7.3.150600.12.2.7 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 kernel-default-develaarch64 Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 kernel-default-develppc64le Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 kernel-default-devels390x Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 kernel-default-develx86_64 Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 kernel-default-extrax86_64 Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatchppc64le Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatchs390x Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatchx86_64 Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatch-develppc64le Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatch-devels390x Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatch-develx86_64 Advisory build 6.4.0-150600.23.7.3 SUSE-SU-2024:2203-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 drop extent_map for free space inode on write error While running the CI for an unrelated change I hit the following panic with generic/648 on btrfs_holes_spacecache. assertion failed: block_start != EXTENT_MAP_HOLE, in fs/btrfs/extent_io.c:1385 ------------[ cut here ]------------ kernel BUG at fs/btrfs/extent_io.c:1385! invalid opcode: 0000 [#1] PREEMPT SMP NOPTI CPU: 1 PID: 2695096 Comm: fsstress Kdump: loaded Tainted: G W 6.8.0-rc2+ #1 RIP: 0010:__extent_writepage_io.constprop.0+0x4c1/0x5c0 Call Trace: <TASK> extent_write_cache_pages+0x2ac/0x8f0 extent_writepages+0x87/0x110 do_writepages+0xd5/0x1f0 filemap_fdatawrite_wbc+0x63/0x90 __filemap_fdatawrite_range+0x5c/0x80 btrfs_fdatawrite_range+0x1f/0x50 btrfs_write_out_cache+0x507/0x560 btrfs_write_dirty_block_groups+0x32a/0x420 commit_cowonly_roots+0x21b/0x290 btrfs_commit_transaction+0x813/0x1360 btrfs_sync_file+0x51a/0x640 __x64_sys_fdatasync+0x52/0x90 do_syscall_64+0x9c/0x190 entry_SYSCALL_64_after_hwframe+0x6e/0x76 This happens because we fail to write out the free space cache in one instance, come back around and attempt to write it again. However on the second pass through we go to call btrfs_get_extent() on the inode to get the extent mapping. Because this is a new block group, and with the free space inode we always search the commit root to avoid deadlocking with the tree, we find nothing and return a EXTENT_MAP_HOLE for the requested range. This happens because the first time we try to write the space cache out we hit an error, and on an error we drop the extent mapping. This is normal for normal files, but the free space cache inode is special. We always expect the extent map to be correct. Thus the second time through we end up with a bogus extent map. Since we're deprecating this feature, the most straightforward way to fix this is to simply skip dropping the extent map range for this failed range. I shortened the test by using error injection to stress the area to make it easier to reproduce. With this patch in place we no longer panic with my error injection test.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

25

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 77cef2ec5484564eca6bd12a2b4a1e88fd766fbc to < 143842584c1237ebc248b2547c29d16bbe400a92 (affected · git)77cef2ec5484564eca6bd12a2b4a1e88fd766fbc to < 02f2b95b00bf57d20320ee168b30fb7f3db8e555 (affected · git)77cef2ec5484564eca6bd12a2b4a1e88fd766fbc to < 7bddf18f474f166c19f91b2baf67bf7c5eda03f7 (affected · git)77cef2ec5484564eca6bd12a2b4a1e88fd766fbc to < a4b7741c8302e28073bfc6dd1c2e73598e5e535e (affected · git)77cef2ec5484564eca6bd12a2b4a1e88fd766fbc to < 5571e41ec6e56e35f34ae9f5b3a335ef510e0ade (affected · git)Default: unaffected Linux · cna
Linux Linux 3.12 (affected)0 to < 3.12 (unaffected · semver)5.15.187 through 5.15.* (unaffected · semver)6.1.79 through 6.1.* (unaffected · semver)6.6.18 through 6.6.* (unaffected · semver)6.7.6 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

3

Linux · cna

btrfs: don't drop extent_map for free space inode on write error

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
4cc1554ce47a65dd4b9f9894d7a55cd3d043de95a145f0ac30c9d455f4336b32
Ingested
23 Sep 2026, 08:20:34 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