CVE-2024-49867
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-49867 affects the Linux kernel's BTRFS file system implementation. The vulnerability was discovered and reported by Syzbot in October 2024, affecting Linux kernel versions up to (excluding) 5.10.227, from 5.11 up to (excluding) 5.15.168, from 5.16 up to (excluding) 6.1.113, from 6.2 up to (excluding) 6.6.55, and from 6.7 up to (excluding) 6.10.14 (NVD).

Technical details

The vulnerability is a use-after-free issue in the BTRFS file system during unmount operations. During closectree(), the system executes steps in sequence: 1) Parks the cleaner kthread (halting execution), 2) Stops the cleaner kthread (freeing taskstruct), and 3) Calls btrfsstopallworkers(). The issue occurs when a fixup worker attempts to perform a delayed iput on its inode while trying to wake up the cleaner thread after the cleaner's taskstruct has already been freed (Kernel Patch). The vulnerability has been assigned a CVSS v3.1 Base Score of 5.5 MEDIUM (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) (NVD).

Impact

The vulnerability can result in a system crash (denial of service) when attempting to unmount a BTRFS filesystem. The issue manifests as a use-after-free condition when the fixup worker tries to access the already freed cleaner kthread's task_struct (Kernel Patch).

Mitigation and workarounds

The issue has been fixed by adding a wait for fixup workers to complete before stopping the cleaner kthread during unmount. The fix involves calling btrfsflushworkqueue() on the fixup workers before the cleaner kthread is stopped (Kernel Patch). Users should update to patched kernel versions: 5.10.227 or later, 5.15.168 or later, 6.1.113 or later, 6.6.55 or later, or 6.10.14 or later (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40205HIGH7.8
  • Linux KernelLinux Kernel
  • linux-gcp-5.4
NoYesNov 12, 2025
CVE-2025-40211HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-6.8
NoYesNov 21, 2025
CVE-2025-40206MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules-extra
NoYesNov 12, 2025
CVE-2025-40210MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-rt-64k-modules
NoYesNov 21, 2025
CVE-2025-40212N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-6.14
NoYesNov 24, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management