Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-57896

7.8 · HIGH
Published Jan 15, 2025 linux CWE-416 EPSS 0.21% (12th pctl)

Overview

CVE-2024-57896 is a high-severity vulnerability affecting linux linux_kernel. It was published on January 15, 2025 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: flush delalloc workers queue before stopping cleaner kthread during unmount

During the unmount path, at close_ctree(), we first stop the cleaner

kthread, using kthread_stop() which frees the associated task_struct, and

then stop and destroy all the work queues. However after we stopped the

cleaner we may still have a worker from the delalloc_workers queue running

inode.c:submit_compressed_extents(), which calls btrfs_add_delayed_iput(),

which in turn tries to wake up the cleaner kthread - which was already

destroyed before, resulting in a use-after-free on the task_struct.

Syzbot reported this with the following stack traces:

BUG: KASAN: slab-use-after-free in __lock_acquire+0x78/0x2100 kernel/locking/lockdep.c:5089

Read of size 8 at addr ffff8880259d2818 by task kworker/u8:3/52

CPU: 1 UID: 0 PID: 52 Comm: kworker/u8:3 Not tainted 6.13.0-rc1-syzkaller-00002-gcdd30ebb1b9f #0

Hardware name: Google Goo

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 0, < 5.10.233 Affected

Frequently Asked Questions

What is CVE-2024-57896?

CVE-2024-57896 is a high-severity vulnerability affecting linux linux_kernel. It was published on January 15, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-57896?

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-57896?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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-57896?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-57896 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.