Menu

Star on GitHub · 3.2k

CVE-2024-49867

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: btrfs: wait for fixup workers before stopping cleaner kthread during umount During unmount, at close_ctree(), we have the follo…

Published Oct 21, 2024CWE-416EPSS 0.30%

Overview

CVE-2024-49867 is a high-severity vulnerability. It was published on October 21, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

btrfs: wait for fixup workers before stopping cleaner kthread during umount

During unmount, at close_ctree(), we have the following steps in this order:

1) Park the cleaner kthread - this doesn't destroy the kthread, it basically

halts its execution (wake ups against it work but do nothing);

2) We stop the cleaner kthread - this results in freeing the respective

struct task_struct;

3) We call btrfs_stop_all_workers() which waits for any jobs running in all

the work queues and then free the work queues.

Syzbot reported a case where a fixup worker resulted in a crash when doing

a delayed iput on its inode while attempting to wake up the cleaner at

btrfs_add_delayed_iput(), because the task_struct of the cleaner kthread

was already freed. This can happen during unmount because we don't wait

for any fixup workers still running before we call kthread_stop() against

the cleaner kthread, which stops and free al

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-49867?

CVE-2024-49867 is a high-severity vulnerability. It was published on October 21, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-49867?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-49867?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-49867?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-49867 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all