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

published high CVSS 3.1 · 7.8

btrfs: fix extent map use-after-free when adding pages to compressed bio

Published
17 Aug 2024, 09:09:23 UTC
Updated
05 Aug 2026, 11:36:36 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux6a4049102055250256623ab1875fabd89004bff8 to < c1cc3326e27b0bd7a2806b40bc48e49afaf951e7 · 6a4049102055250256623ab1875fabd89004bff8 to < c205565e0f2f439f278a4a94ee97b67ef7b56ae8 · 6a4049102055250256623ab1875fabd89004bff8 to < b7859ff398b6b656e1689daa860eb34837b4bb89 · 6a4049102055250256623ab1875fabd89004bff8 to < 8e7860543a94784d744c7ce34b78a2e11beefa5c · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.16 (affected) · 0 to < 5.16 (unaffected · semver) · 6.1.108 through 6.1.* (unaffected · semver) · 6.6.44 through 6.6.* (unaffected · semver) · 6.10.3 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 Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2024-779 Fixed Not stated Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.112-1 DSA-5782-1
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
Debian bullseye linux-6.1 Advisory build 6.1.119-1~deb11u1 DLA-4008-1
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-defaultppc64le Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-defaults390x Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-rtx86_64 Advisory build 6.4.0-150600.10.8.3 SUSE-SU-2024:3195-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-defaultppc64le Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-defaults390x Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-rtx86_64 Advisory build 6.4.0-150600.10.8.3 SUSE-SU-2024:3195-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-defaultppc64le Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-defaults390x Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-rtx86_64 Advisory build 6.4.0-150600.10.8.3 SUSE-SU-2024:3195-1
SUSE / openSUSE SLE-15-SP6 kernel-64kbaarch64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-64kb-develaarch64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-azureaarch64 Advisory build 6.4.0-150600.8.11.1 SUSE-SU-2024:3194-1
SUSE / openSUSE SLE-15-SP6 kernel-azurex86_64 Advisory build 6.4.0-150600.8.11.1 SUSE-SU-2024:3194-1
SUSE / openSUSE SLE-15-SP6 kernel-azure-develaarch64 Advisory build 6.4.0-150600.8.11.1 SUSE-SU-2024:3194-1
SUSE / openSUSE SLE-15-SP6 kernel-azure-develx86_64 Advisory build 6.4.0-150600.8.11.1 SUSE-SU-2024:3194-1
SUSE / openSUSE SLE-15-SP6 kernel-defaultaarch64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-defaultppc64le Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-defaults390x Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-defaultx86_64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-default-baseaarch64 Advisory build 6.4.0-150600.23.22.1.150600.12.8.3 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-default-baseppc64le Advisory build 6.4.0-150600.23.22.1.150600.12.8.3 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-default-basex86_64 Advisory build 6.4.0-150600.23.22.1.150600.12.8.3 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-default-develaarch64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-default-develppc64le Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-default-devels390x Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-default-develx86_64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-default-extrax86_64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatchppc64le Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatchs390x Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatchx86_64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatch-develppc64le Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatch-devels390x Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatch-develx86_64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-develnoarch Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-devel-azurenoarch Advisory build 6.4.0-150600.8.11.1 SUSE-SU-2024:3194-1
SUSE / openSUSE SLE-15-SP6 kernel-devel-rtnoarch Advisory build 6.4.0-150600.10.8.3 SUSE-SU-2024:3195-1
SUSE / openSUSE SLE-15-SP6 kernel-docsnoarch Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-livepatch-6_4_0-150600_10_8-rtx86_64 Advisory build 1-150600.1.3.2 SUSE-SU-2024:3195-1
SUSE / openSUSE SLE-15-SP6 kernel-livepatch-6_4_0-150600_23_22-defaultppc64le Advisory build 1-150600.13.3.3 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-livepatch-6_4_0-150600_23_22-defaults390x Advisory build 1-150600.13.3.3 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-livepatch-6_4_0-150600_23_22-defaultx86_64 Advisory build 1-150600.13.3.3 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-macrosnoarch Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-obs-buildaarch64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-obs-buildppc64le Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-obs-builds390x Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-obs-buildx86_64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-rtx86_64 Advisory build 6.4.0-150600.10.8.3 SUSE-SU-2024:3195-1
SUSE / openSUSE SLE-15-SP6 kernel-rt-develx86_64 Advisory build 6.4.0-150600.10.8.3 SUSE-SU-2024:3195-1
SUSE / openSUSE SLE-15-SP6 kernel-rt_debugx86_64 Advisory build 6.4.0-150600.10.8.3 SUSE-SU-2024:3195-1
SUSE / openSUSE SLE-15-SP6 kernel-rt_debug-develx86_64 Advisory build 6.4.0-150600.10.8.3 SUSE-SU-2024:3195-1
SUSE / openSUSE SLE-15-SP6 kernel-sourcenoarch Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-source-azurenoarch Advisory build 6.4.0-150600.8.11.1 SUSE-SU-2024:3194-1
SUSE / openSUSE SLE-15-SP6 kernel-source-rtnoarch Advisory build 6.4.0-150600.10.8.3 SUSE-SU-2024:3195-1
SUSE / openSUSE SLE-15-SP6 kernel-symsaarch64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-symsppc64le Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-symss390x Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-symsx86_64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 kernel-syms-azureaarch64 Advisory build 6.4.0-150600.8.11.1 SUSE-SU-2024:3194-1
SUSE / openSUSE SLE-15-SP6 kernel-syms-azurex86_64 Advisory build 6.4.0-150600.8.11.1 SUSE-SU-2024:3194-1
SUSE / openSUSE SLE-15-SP6 kernel-syms-rtx86_64 Advisory build 6.4.0-150600.10.8.1 SUSE-SU-2024:3195-1
SUSE / openSUSE SLE-15-SP6 kernel-zfcpdumps390x Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 ocfs2-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 ocfs2-kmp-defaultppc64le Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 ocfs2-kmp-defaults390x Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 ocfs2-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 ocfs2-kmp-rtx86_64 Advisory build 6.4.0-150600.10.8.3 SUSE-SU-2024:3195-1
SUSE / openSUSE SLE-15-SP6 reiserfs-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 reiserfs-kmp-defaultppc64le Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 reiserfs-kmp-defaults390x Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE SLE-15-SP6 reiserfs-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-64kbaarch64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-azureaarch64 Advisory build 6.4.0-150600.8.11.1 SUSE-SU-2024:3194-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-azurex86_64 Advisory build 6.4.0-150600.8.11.1 SUSE-SU-2024:3194-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-defaultppc64le Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-defaults390x Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-rtx86_64 Advisory build 6.4.0-150600.10.8.3 SUSE-SU-2024:3195-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-64kbaarch64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-azureaarch64 Advisory build 6.4.0-150600.8.11.1 SUSE-SU-2024:3194-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-azurex86_64 Advisory build 6.4.0-150600.8.11.1 SUSE-SU-2024:3194-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-defaultppc64le Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-defaults390x Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-rtx86_64 Advisory build 6.4.0-150600.10.8.3 SUSE-SU-2024:3195-1
SUSE / openSUSE openSUSE-Leap-15.6 dtb-allwinneraarch64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE openSUSE-Leap-15.6 dtb-alteraaarch64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE openSUSE-Leap-15.6 dtb-amazonaarch64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE openSUSE-Leap-15.6 dtb-amdaarch64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE openSUSE-Leap-15.6 dtb-amlogicaarch64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-1
SUSE / openSUSE openSUSE-Leap-15.6 dtb-apmaarch64 Advisory build 6.4.0-150600.23.22.1 SUSE-SU-2024:3383-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: fix extent map use-after-free when adding pages to compressed bio At add_ra_bio_pages() we are accessing the extent map to calculate 'add_size' after we dropped our reference on the extent map, resulting in a use-after-free. Fix this by computing 'add_size' before dropping our extent map reference.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

17

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 - btrfs is a local filesystem; the vulnerable readahead code is reached via a read() syscall on a compressed file, not over any network protocol. AC:L - The UAF requires the extent map to be freed concurrently (e.g. by the extent-map shrinker under memory pressure), but the attacker controls both the compressed reads and the memory pressure and can retry the race indefinitely. PR:L - Any local unprivileged user who can read a compressed file on a btrfs mount reaches this path; the user can create their own compressed file, so no elevated privileges are needed. UI:N - The attacker triggers the compressed reads and memory pressure themselves; no action by a separate victim is required. S:U - The use-after-free corrupts kernel slab memory within the kernel's own security authority; no boundary such as a VM or IOMMU is crossed. C:H - A use-after-free gives an attacker influence over the reallocated freed-object contents, which per kernel CNA guidance is treated as enabling arbitrary kernel memory disclosure. I:H - A use-after-free enables heap grooming and control over freed-object contents, treated as a High integrity impact for kernel memory corruption. A:H - The use-after-free readily causes kernel crashes/oops (KASAN, slab corruption), a High availability impact.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 6a4049102055250256623ab1875fabd89004bff8 to < c1cc3326e27b0bd7a2806b40bc48e49afaf951e7 (affected · git)6a4049102055250256623ab1875fabd89004bff8 to < c205565e0f2f439f278a4a94ee97b67ef7b56ae8 (affected · git)6a4049102055250256623ab1875fabd89004bff8 to < b7859ff398b6b656e1689daa860eb34837b4bb89 (affected · git)6a4049102055250256623ab1875fabd89004bff8 to < 8e7860543a94784d744c7ce34b78a2e11beefa5c (affected · git)Default: unaffected Linux · cna
Linux Linux 5.16 (affected)0 to < 5.16 (unaffected · semver)6.1.108 through 6.1.* (unaffected · semver)6.6.44 through 6.6.* (unaffected · semver)6.10.3 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

3

Linux · cna

btrfs: fix extent map use-after-free when adding pages to compressed bio

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
ef466ba6cc1deb0975cac71ab87b099493c31e635c6d6b5bd508bc1535fe8804
Ingested
23 Sep 2026, 08:26:31 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