Menu

Star on GitHub · 3.4k

CVE-2024-26630

7.1 · HIGH

In the Linux kernel, the following vulnerability has been resolved: mm: cachestat: fix folio read-after-free in cache walk In cachestat, we access the folio from the page cache's xarray to comput…

Published Mar 13, 2024CWE-416EPSS 0.30%

Overview

CVE-2024-26630 is a high-severity vulnerability. It was published on March 13, 2024 and has a CVSS 3.1 base score of 7.1 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.1, 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:

mm: cachestat: fix folio read-after-free in cache walk

In cachestat, we access the folio from the page cache's xarray to compute

its page offset, and check for its dirty and writeback flags. However, we

do not hold a reference to the folio before performing these actions,

which means the folio can concurrently be released and reused as another

folio/page/slab.

Get around this altogether by just using xarray's existing machinery for

the folio page offsets and dirty/writeback states.

This changes behavior for tmpfs files to now always report zeroes in their

dirty and writeback counters. This is okay as tmpfs doesn't follow

conventional writeback cache behavior: its pages get "cleaned" during

swapout, after which they're no longer resident etc.

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

CVE-2024-26630 is a high-severity vulnerability. It was published on March 13, 2024 and has a CVSS 3.1 base score of 7.1 (HIGH).

How severe is CVE-2024-26630?

This vulnerability has a CVSS 3.1 base score of 7.1, 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-26630?

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

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-26630 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
LiveWatch live →