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

published high CVSS 3.1 · 7.8

btrfs: fix uninitialized pointer free on read_alloc_one_name() error

Published
29 Oct 2024, 00:50:30 UTC
Updated
05 Aug 2026, 11:41:32 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1cf474cd474bc5d3ef63086ffd009a87a5b7bb2e to < b37de9491f140a0ff125c27dd1050185c3accbc1 · e43eec81c5167b655b72c781b0e75e62a05e415e to < 7fc7c47b9ba0cf2d192f2117a64b24881b0b577f · e43eec81c5167b655b72c781b0e75e62a05e415e to < 1ec28de5e476913ae51f909660b4447eddb28838 · e43eec81c5167b655b72c781b0e75e62a05e415e to < 2ab5e243c2266c841e0f6904fad1514b18eaf510 · 6.1.57 to < 6.1.114 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.2 (affected) · 0 to < 6.2 (unaffected · semver) · 6.1.114 through 6.1.* (unaffected · semver) · 6.6.58 through 6.6.* (unaffected · semver) · 6.11.5 through 6.11.* (unaffected · semver) · 6.12 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-2025-794 Fixed Not stated Amazon Linux assessment
Debian bullseye linux-6.1 Advisory build 6.1.119-1~deb11u1 DLA-4008-1
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-defaultppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-defaults390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-rtx86_64 Advisory build 6.4.0-150600.10.20.1 SUSE-SU-2024:4314-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-defaultppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-defaults390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-rtx86_64 Advisory build 6.4.0-150600.10.20.1 SUSE-SU-2024:4314-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-defaultppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-defaults390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-rtx86_64 Advisory build 6.4.0-150600.10.20.1 SUSE-SU-2024:4314-1
SUSE / openSUSE SLE-15-SP6 kernel-64kbaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-64kb-develaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-azureaarch64 Advisory build 6.4.0-150600.8.20.1 SUSE-SU-2024:4316-1
SUSE / openSUSE SLE-15-SP6 kernel-azurex86_64 Advisory build 6.4.0-150600.8.20.1 SUSE-SU-2024:4316-1
SUSE / openSUSE SLE-15-SP6 kernel-azure-develaarch64 Advisory build 6.4.0-150600.8.20.1 SUSE-SU-2024:4316-1
SUSE / openSUSE SLE-15-SP6 kernel-azure-develx86_64 Advisory build 6.4.0-150600.8.20.1 SUSE-SU-2024:4316-1
SUSE / openSUSE SLE-15-SP6 kernel-cocox86_64 Advisory build 6.4.0-15061.9.coco15sp6.1 SUSE-SU-2024:4387-1
SUSE / openSUSE SLE-15-SP6 kernel-coco-develx86_64 Advisory build 6.4.0-15061.9.coco15sp6.1 SUSE-SU-2024:4387-1
SUSE / openSUSE SLE-15-SP6 kernel-coco_debugx86_64 Advisory build 6.4.0-15061.9.coco15sp6.1 SUSE-SU-2024:4387-1
SUSE / openSUSE SLE-15-SP6 kernel-coco_debug-develx86_64 Advisory build 6.4.0-15061.9.coco15sp6.1 SUSE-SU-2024:4387-1
SUSE / openSUSE SLE-15-SP6 kernel-defaultaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-defaultppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-defaults390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-defaultx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-baseaarch64 Advisory build 6.4.0-150600.23.30.1.150600.12.12.6 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-baseppc64le Advisory build 6.4.0-150600.23.30.1.150600.12.12.6 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-basex86_64 Advisory build 6.4.0-150600.23.30.1.150600.12.12.6 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-develaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-develppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-devels390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-develx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-extrax86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatchppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatchs390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatchx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatch-develppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatch-devels390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatch-develx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-develnoarch Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-devel-azurenoarch Advisory build 6.4.0-150600.8.20.1 SUSE-SU-2024:4316-1
SUSE / openSUSE SLE-15-SP6 kernel-devel-coconoarch Advisory build 6.4.0-15061.9.coco15sp6.1 SUSE-SU-2024:4387-1
SUSE / openSUSE SLE-15-SP6 kernel-devel-rtnoarch Advisory build 6.4.0-150600.10.20.1 SUSE-SU-2024:4314-1
SUSE / openSUSE SLE-15-SP6 kernel-docsnoarch Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-livepatch-6_4_0-150600_10_20-rtx86_64 Advisory build 1-150600.1.3.1 SUSE-SU-2024:4314-1
SUSE / openSUSE SLE-15-SP6 kernel-livepatch-6_4_0-150600_23_30-defaultppc64le Advisory build 1-150600.13.3.5 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-livepatch-6_4_0-150600_23_30-defaults390x Advisory build 1-150600.13.3.5 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-livepatch-6_4_0-150600_23_30-defaultx86_64 Advisory build 1-150600.13.3.5 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-macrosnoarch Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-obs-buildaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-obs-buildppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-obs-builds390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-obs-buildx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-rtx86_64 Advisory build 6.4.0-150600.10.20.1 SUSE-SU-2024:4314-1
SUSE / openSUSE SLE-15-SP6 kernel-rt-develx86_64 Advisory build 6.4.0-150600.10.20.1 SUSE-SU-2024:4314-1
SUSE / openSUSE SLE-15-SP6 kernel-rt_debugx86_64 Advisory build 6.4.0-150600.10.20.1 SUSE-SU-2024:4314-1
SUSE / openSUSE SLE-15-SP6 kernel-rt_debug-develx86_64 Advisory build 6.4.0-150600.10.20.1 SUSE-SU-2024:4314-1
SUSE / openSUSE SLE-15-SP6 kernel-sourcenoarch Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-source-azurenoarch Advisory build 6.4.0-150600.8.20.1 SUSE-SU-2024:4316-1
SUSE / openSUSE SLE-15-SP6 kernel-source-coconoarch Advisory build 6.4.0-15061.9.coco15sp6.1 SUSE-SU-2024:4387-1
SUSE / openSUSE SLE-15-SP6 kernel-source-rtnoarch Advisory build 6.4.0-150600.10.20.1 SUSE-SU-2024:4314-1
SUSE / openSUSE SLE-15-SP6 kernel-symsaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-symsppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-symss390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-symsx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 kernel-syms-azureaarch64 Advisory build 6.4.0-150600.8.20.1 SUSE-SU-2024:4316-1
SUSE / openSUSE SLE-15-SP6 kernel-syms-azurex86_64 Advisory build 6.4.0-150600.8.20.1 SUSE-SU-2024:4316-1
SUSE / openSUSE SLE-15-SP6 kernel-syms-cocox86_64 Advisory build 6.4.0-15061.9.coco15sp6.1 SUSE-SU-2024:4387-1
SUSE / openSUSE SLE-15-SP6 kernel-syms-rtx86_64 Advisory build 6.4.0-150600.10.20.1 SUSE-SU-2024:4314-1
SUSE / openSUSE SLE-15-SP6 kernel-zfcpdumps390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 ocfs2-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 ocfs2-kmp-defaultppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 ocfs2-kmp-defaults390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 ocfs2-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 ocfs2-kmp-rtx86_64 Advisory build 6.4.0-150600.10.20.1 SUSE-SU-2024:4314-1
SUSE / openSUSE SLE-15-SP6 reiserfs-kmp-cocox86_64 Advisory build 6.4.0-15061.9.coco15sp6.1 SUSE-SU-2024:4387-1
SUSE / openSUSE SLE-15-SP6 reiserfs-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 reiserfs-kmp-defaultppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 reiserfs-kmp-defaults390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE SLE-15-SP6 reiserfs-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-64kbaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-azureaarch64 Advisory build 6.4.0-150600.8.20.1 SUSE-SU-2024:4316-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-azurex86_64 Advisory build 6.4.0-150600.8.20.1 SUSE-SU-2024:4316-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-defaultppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-defaults390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-rtx86_64 Advisory build 6.4.0-150600.10.20.1 SUSE-SU-2024:4314-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-64kbaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-azureaarch64 Advisory build 6.4.0-150600.8.20.1 SUSE-SU-2024:4316-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-azurex86_64 Advisory build 6.4.0-150600.8.20.1 SUSE-SU-2024:4316-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-defaultppc64le Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-defaults390x Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.30.1 SUSE-SU-2024:4318-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 uninitialized pointer free on read_alloc_one_name() error The function read_alloc_one_name() does not initialize the name field of the passed fscrypt_str struct if kmalloc fails to allocate the corresponding buffer. Thus, it is not guaranteed that fscrypt_str.name is initialized when freeing it. This is a follow-up to the linked patch that fixes the remaining instances of the bug introduced by commit e43eec81c516 ("btrfs: use struct qstr instead of name and namelen pairs").

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

26

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 code executes only in the btrfs mount-time log-replay path (`btrfs_replay_log()` → `replay_one_buffer()`/`replay_dir_deletes()`), reached through the local `mount()` syscall on a local block device or loop image. There is no remote or adjacent-network path into tree-log replay. AC:L - The attacker supplies the image, so log replay is guaranteed to run and can be padded with thousands of dir-index entries, each producing another `kmalloc(GFP_NOFS)` attempt; the required allocation failure is induced by attacker-generated memory pressure (userspace ballooning, or a memcg-constrained mount context), which is within the attacker's influence rather than beyond it. PR:L - In the most severe realistic deployment — desktops and kiosks running udisks2/removable-media automount, which supports btrfs — an unprivileged local user mounts an attacker-prepared btrfs volume with a dirty log without holding root, and the concurrent memory-pressure side needs no privileges at all. UI:N - The attacker performs the triggering mount themselves via automount of attacker-controlled removable media or a mount helper; no separate victim has to open a file or take any action. S:U - The corruption occurs in kernel slab memory during mount and stays entirely within the kernel's own security authority, with no crossing of a hypervisor, IOMMU, or sandbox boundary. C:H - `kfree()` on an uninitialized stack value can release a still-live slab object whose stale pointer was left by earlier frames in the same mount call chain, yielding a use-after-free that can be reallocated with attacker-chosen data and read back, exposing arbitrary kernel memory. I:H - The arbitrary/premature free gives a classic heap-corruption primitive — reclaiming the freed object with a sprayed structure permits attacker-controlled writes into kernel objects and potential control-flow hijack. A:H - Freeing a wild pointer typically faults inside the allocator or trips slab consistency checks, and the resulting use-after-free corrupts kernel state during mount, producing an oops or panic.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 5.5 medium CISA-ADP · adp CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1cf474cd474bc5d3ef63086ffd009a87a5b7bb2e to < b37de9491f140a0ff125c27dd1050185c3accbc1 (affected · git)e43eec81c5167b655b72c781b0e75e62a05e415e to < 7fc7c47b9ba0cf2d192f2117a64b24881b0b577f (affected · git)e43eec81c5167b655b72c781b0e75e62a05e415e to < 1ec28de5e476913ae51f909660b4447eddb28838 (affected · git)e43eec81c5167b655b72c781b0e75e62a05e415e to < 2ab5e243c2266c841e0f6904fad1514b18eaf510 (affected · git)6.1.57 to < 6.1.114 (affected · semver)Default: unaffected Linux · cna
Linux Linux 6.2 (affected)0 to < 6.2 (unaffected · semver)6.1.114 through 6.1.* (unaffected · semver)6.6.58 through 6.6.* (unaffected · semver)6.11.5 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-824 CWE-824 Access of Uninitialized Pointer (CISA-ADP · adp)

References

5

Provider assertions

3

Linux · cna

btrfs: fix uninitialized pointer free on read_alloc_one_name() error

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
e990a3b9d85db41183812c0c1141a28263a9398ad3dddeb8c1fe2894376b31fb
Ingested
23 Sep 2026, 08:29:52 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