CVE-2024-57896

Kernel crash via btrfs unmount race

Published Jan 15, 2025 · Updated Aug 5, 2026

Use-after-free in Linux kernel btrfs before fixed stable releases allows local users to crash the kernel during filesystem unmount. close_ctree() stops and frees the cleaner thread before draining delalloc_workers, allowing submit_compressed_extents() to call btrfs_add_delayed_iput() and wake the freed task. Reaching the race requires local privileges sufficient to unmount an active btrfs filesystem, and the demonstrated consequence is kernel memory corruption and a host crash.

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

Use-after-free in Linux kernel btrfs before fixed stable releases allows local users to crash the kernel during filesystem unmount. close_ctree() stops and frees the cleaner thread before draining delalloc_workers, allowing submit_compressed_extents() to call btrfs_add_delayed_iput() and wake the freed task. Reaching the race requires local privileges sufficient to unmount an active btrfs filesystem, and the demonstrated consequence is kernel memory corruption and a host crash.

The record

CVE
CVE-2024-57896
Published
Jan 15, 2025
Updated
Aug 5, 2026
Vendor
The Linux Kernel Organization
Product
Linux
Classifications
CWE-416, T1499
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Jan 15, 2025CVE 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=5.0
  2. Affected versionversion=fd340d0f68cc87badfc9efcb226f23a5428826a0 <1ea629e7bb2fb40555e5e01a1b5095df31287017
  3. Affected versionversion=fd340d0f68cc87badfc9efcb226f23a5428826a0 <35916b2f96505a18dc7242a115611b718d9de725
  4. Affected versionversion=fd340d0f68cc87badfc9efcb226f23a5428826a0 <63f4b594a688bf922e8691f0784679aa7af7988c
  5. Affected versionversion=fd340d0f68cc87badfc9efcb226f23a5428826a0 <a2718ed1eb8c3611b63f8933c7e68c8821fe2808
  6. Affected versionversion=fd340d0f68cc87badfc9efcb226f23a5428826a0 <d77a3a99b53d12c061c007cdc96df38825dee476
  7. Affected versionversion=fd340d0f68cc87badfc9efcb226f23a5428826a0 <f10bef73fb355e3fc85e63a50386798be68ff486

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

The Linux Kernel Organization · Linuxversion=5.0; version=fd340d0f68cc87badfc9efcb226f23a5428826a0 <1ea629e7bb2fb40555e5e01a1b5095df31287017; version=fd340d0f68cc87badfc9efcb226f23a5428826a0 <35916b2f96505a18dc7242a115611b718d9de725; version=fd340d0f68cc87badfc9efcb226f23a5428826a0 <63f4b594a688bf922e8691f0784679aa7af7988c; version=fd340d0f68cc87badfc9efcb226f23a5428826a0 <a2718ed1eb8c3611b63f8933c7e68c8821fe2808; version=fd340d0f68cc87badfc9efcb226f23a5428826a0 <d77a3a99b53d12c061c007cdc96df38825dee476; version=fd340d0f68cc87badfc9efcb226f23a5428826a0 <f10bef73fb355e3fc85e63a50386798be68ff486

Published CVSS scores

7.8CISA ADP VulnrichmentCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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 9, 2026Sep 15, 2026
Latest reporting daySep 15, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-416Use After Free
T1499Endpoint Denial of Service

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