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-26792

7.8 · HIGH
Published Apr 4, 2024 linux CWE-415 EPSS 0.24% (14th pctl)

Overview

CVE-2024-26792 is a high-severity vulnerability affecting linux linux_kernel. It was published on April 4, 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: fix double free of anonymous device after snapshot creation failure

When creating a snapshot we may do a double free of an anonymous device

in case there's an error committing the transaction. The second free may

result in freeing an anonymous device number that was allocated by some

other subsystem in the kernel or another btrfs filesystem.

The steps that lead to this:

1) At ioctl.c:create_snapshot() we allocate an anonymous device number

and assign it to pending_snapshot->anon_dev;

2) Then we call btrfs_commit_transaction() and end up at

transaction.c:create_pending_snapshot();

3) There we call btrfs_get_new_fs_root() and pass it the anonymous device

number stored in pending_snapshot->anon_dev;

4) btrfs_get_new_fs_root() frees that anonymous device number because

btrfs_lookup_fs_root() returned a root - someone else did a lookup

of the new root already, which could some task doing backref

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 >= 5.10.210, < 5.11 Affected

Frequently Asked Questions

What is CVE-2024-26792?

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

How severe is CVE-2024-26792?

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

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

CyberStrike's AI-powered security agents can automatically detect CVE-2024-26792 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.