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

7.8 · HIGH
Published Jun 25, 2024 linux CWE-362 EPSS 0.15% (4th pctl)

Overview

CVE-2024-38306 is a high-severity vulnerability affecting linux linux_kernel. It was published on June 25, 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: protect folio::private when attaching extent buffer folios

[BUG]

Since v6.8 there are rare kernel crashes reported by various people,

the common factor is bad page status error messages like this:

BUG: Bad page state in process kswapd0 pfn:d6e840

page: refcount:0 mapcount:0 mapping:000000007512f4f2 index:0x2796c2c7c

pfn:0xd6e840

aops:btree_aops ino:1

flags: 0x17ffffe0000008(uptodate|node=0|zone=2|lastcpupid=0x3fffff)

page_type: 0xffffffff()

raw: 0017ffffe0000008 dead000000000100 dead000000000122 ffff88826d0be4c0

raw: 00000002796c2c7c 0000000000000000 00000000ffffffff 0000000000000000

page dumped because: non-NULL mapping

[CAUSE]

Commit 09e6cef19c9f ("btrfs: refactor alloc_extent_buffer() to

allocate-then-attach method") changes the sequence when allocating a new

extent buffer.

Previously we always called grab_extent_buffer() under

mapping->i_private_lock, to ensure the safety on modificat

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.8, < 6.9.5 Affected

Frequently Asked Questions

What is CVE-2024-38306?

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

How severe is CVE-2024-38306?

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

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

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