Menu

Star on GitHub · 3.2k

CVE-2024-36001

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: netfs: Fix the pre-flush when appending to a file in writethrough mode In netfs_perform_write(), when the file is marked NETFS_…

Published May 20, 2024CWE-787EPSS 0.21%

Overview

CVE-2024-36001 is a high-severity vulnerability. It was published on May 20, 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:

netfs: Fix the pre-flush when appending to a file in writethrough mode

In netfs_perform_write(), when the file is marked NETFS_ICTX_WRITETHROUGH

or O_*SYNC or RWF_*SYNC was specified, write-through caching is performed

on a buffered file. When setting up for write-through, we flush any

conflicting writes in the region and wait for the write to complete,

failing if there's a write error to return.

The issue arises if we're writing at or above the EOF position because we

skip the flush and - more importantly - the wait. This becomes a problem

if there's a partial folio at the end of the file that is being written out

and we want to make a write to it too. Both the already-running write and

the write we start both want to clear the writeback mark, but whoever is

second causes a warning looking something like:

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

R=00000012: folio 11 is not under writeback

WARNING: CPU:

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

CVE-2024-36001 is a high-severity vulnerability. It was published on May 20, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-36001?

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

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

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