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

7.8 · HIGH
Published Aug 17, 2024 linux CWE-476 EPSS 0.20% (10th pctl)

Overview

CVE-2024-42266 is a high-severity vulnerability affecting linux linux_kernel. It was published on August 17, 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: make cow_file_range_inline() honor locked_page on error

The btrfs buffered write path runs through __extent_writepage() which

has some tricky return value handling for writepage_delalloc().

Specifically, when that returns 1, we exit, but for other return values

we continue and end up calling btrfs_folio_end_all_writers(). If the

folio has been unlocked (note that we check the PageLocked bit at the

start of __extent_writepage()), this results in an assert panic like

this one from syzbot:

BTRFS: error (device loop0 state EAL) in free_log_tree:3267: errno=-5 IO failure

BTRFS warning (device loop0 state EAL): Skipping commit of aborted transaction.

BTRFS: error (device loop0 state EAL) in cleanup_transaction:2018: errno=-5 IO failure

assertion failed: folio_test_locked(folio), in fs/btrfs/subpage.c:871

------------[ cut here ]------------

kernel BUG at fs/btrfs/subpage.c:871!

Oops: invalid opcode: 0

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 >= 6.10, < 6.10.4 Affected

Frequently Asked Questions

What is CVE-2024-42266?

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

How severe is CVE-2024-42266?

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

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

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