CVE-2024-50087

Kernel compromise via uninitialized btrfs pointer free

Published Oct 29, 2024 · Updated Aug 5, 2026

Memory corruption in affected Linux kernels allows local users to compromise the kernel by mounting a crafted btrfs volume. During mount-time log replay, read_alloc_one_name() leaves fscrypt_str.name uninitialized when kmalloc fails, and cleanup passes the stale value to kfree(). Exploitation requires an attacker-controlled btrfs image and induced allocation failure; the invalid free can disclose or corrupt kernel memory or panic the host.

CVSS severity7.8
High
EPSS probability0.21%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Memory corruption in affected Linux kernels allows local users to compromise the kernel by mounting a crafted btrfs volume. During mount-time log replay, read_alloc_one_name() leaves fscrypt_str.name uninitialized when kmalloc fails, and cleanup passes the stale value to kfree(). Exploitation requires an attacker-controlled btrfs image and induced allocation failure; the invalid free can disclose or corrupt kernel memory or panic the host.

The record

CVE
CVE-2024-50087
Published
Oct 29, 2024
Updated
Aug 5, 2026
Vendor
The Linux Kernel Organization
Product
Linux
Classifications
CWE-824, T1068
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Oct 29, 2024CVE publishedPublication date reported by the CVE source.
  2. Aug 5, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=1cf474cd474bc5d3ef63086ffd009a87a5b7bb2e <b37de9491f140a0ff125c27dd1050185c3accbc1
  2. Affected versionversion=6.1.57 <6.1.114
  3. Affected versionversion=6.2
  4. Affected versionversion=e43eec81c5167b655b72c781b0e75e62a05e415e <1ec28de5e476913ae51f909660b4447eddb28838
  5. Affected versionversion=e43eec81c5167b655b72c781b0e75e62a05e415e <2ab5e243c2266c841e0f6904fad1514b18eaf510
  6. Affected versionversion=e43eec81c5167b655b72c781b0e75e62a05e415e <7fc7c47b9ba0cf2d192f2117a64b24881b0b577f

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

The Linux Kernel Organization · Linuxversion=1cf474cd474bc5d3ef63086ffd009a87a5b7bb2e <b37de9491f140a0ff125c27dd1050185c3accbc1; version=6.1.57 <6.1.114; version=6.2; version=e43eec81c5167b655b72c781b0e75e62a05e415e <1ec28de5e476913ae51f909660b4447eddb28838; version=e43eec81c5167b655b72c781b0e75e62a05e415e <2ab5e243c2266c841e0f6904fad1514b18eaf510; version=e43eec81c5167b655b72c781b0e75e62a05e415e <7fc7c47b9ba0cf2d192f2117a64b24881b0b577f

Published CVSS scores

5.5NIST NVDCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
7.8kernel.orgCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
5.5CISA-ADPCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-824Access of Uninitialized Pointer
T1068Exploitation for Privilege Escalation

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo