CVE & CISA-KEV Catalog

CVE-2024-36001

HIGH
7.8
CVSS v3
NVD

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: 34 PID: 654 at fs/netfs/write_collect.c:105 ... CPU: 34 PID: 654 Comm: kworker/u386:27 Tainted: G S ... ... Workqueue: events_unbound netfs_write_collection_worker ... RIP: 0010:netfs_writeback_lookup_folio Fix this by making the flush-and-wait unconditional. It will do nothing if there are no folios in the pagecache and will return quickly if there are no folios in the region specified. Further, move the WBC attachment above the flush call as the flush is going to attach a WBC and detach it again if it is not present - and since we need one anyway we might as well share it.

How to fix

Remediation Available
linuxDebian
Fixed in:6.8.9-1CVE-2024-36001
Fixed in:6.8.9-1CVE-2024-36001
linuxUbuntu
Fixed in:6.8.0-40.40USN-6949-1
linux-awsUbuntu
Fixed in:6.8.0-1013.14USN-6949-1
linux-gcpUbuntu
Fixed in:6.8.0-1012.13USN-6949-1
linux-gkeUbuntu
Fixed in:6.8.0-1008.11USN-6949-1
linux-ibmUbuntu
Fixed in:6.8.0-1010.10USN-6949-1
linux-image-6.8.0-1008-gkeUbuntu
Fixed in:6.8.0-1008.11USN-6949-1
linux-image-6.8.0-1009-raspiUbuntu
Fixed in:6.8.0-1009.10USN-6949-2
linux-image-6.8.0-1010-ibmUbuntu
Fixed in:6.8.0-1010.10USN-6949-1
linux-image-6.8.0-1010-oemUbuntu
Fixed in:6.8.0-1010.10USN-6955-1
linux-image-6.8.0-1010-oracleUbuntu
Fixed in:6.8.0-1010.10USN-6952-1
linux-image-6.8.0-1010-oracle-64kUbuntu
Fixed in:6.8.0-1010.10USN-6952-1
linux-image-6.8.0-1011-nvidiaUbuntu
Fixed in:6.8.0-1011.11~22.04.1USN-6949-1
Fixed in:6.8.0-1011.11USN-6949-1
linux-image-6.8.0-1011-nvidia-64kUbuntu
Fixed in:6.8.0-1011.11~22.04.1USN-6949-1
Fixed in:6.8.0-1011.11USN-6949-1
linux-image-6.8.0-1011-nvidia-lowlatencyUbuntu
Fixed in:6.8.0-1011.11.1USN-6952-1
linux-image-6.8.0-1011-nvidia-lowlatency-64kUbuntu
Fixed in:6.8.0-1011.11.1USN-6952-1
linux-image-6.8.0-1012-gcpUbuntu
Fixed in:6.8.0-1012.13USN-6949-1
linux-image-6.8.0-1013-awsUbuntu
Fixed in:6.8.0-1013.14USN-6949-1
linux-image-6.8.0-40-genericUbuntu
Fixed in:6.8.0-40.40USN-6949-1
linux-image-6.8.0-40-generic-64kUbuntu
Fixed in:6.8.0-40.40USN-6949-1
linux-image-6.8.0-40-lowlatencyUbuntu
Fixed in:6.8.0-40.40.1USN-6949-2
linux-image-6.8.0-40-lowlatency-64kUbuntu
Fixed in:6.8.0-40.40.1USN-6949-2
linux-image-awsUbuntu
Fixed in:6.8.0-1013.14USN-6949-1
linux-image-gcpUbuntu
Fixed in:6.8.0-1012.13USN-6949-1
linux-image-genericUbuntu
Fixed in:6.8.0-40.40USN-6949-1
linux-image-generic-64kUbuntu
Fixed in:6.8.0-40.40USN-6949-1
linux-image-generic-64k-hwe-24.04Ubuntu
Fixed in:6.8.0-40.40USN-6949-1
linux-image-generic-hwe-24.04Ubuntu
Fixed in:6.8.0-40.40USN-6949-1
linux-image-generic-lpaeUbuntu
Fixed in:6.8.0-40.40USN-6949-1
linux-image-gkeUbuntu
Fixed in:6.8.0-1008.11USN-6949-1
linux-image-ibmUbuntu
Fixed in:6.8.0-1010.10USN-6949-1
linux-image-ibm-classicUbuntu
Fixed in:6.8.0-1010.10USN-6949-1
linux-image-ibm-lts-24.04Ubuntu
Fixed in:6.8.0-1010.10USN-6949-1
linux-image-kvmUbuntu
Fixed in:6.8.0-40.40USN-6949-1
linux-image-lowlatencyUbuntu
Fixed in:6.8.0-40.40.1USN-6949-2
linux-image-lowlatency-64kUbuntu
Fixed in:6.8.0-40.40.1USN-6949-2
linux-image-nvidiaUbuntu
Fixed in:6.8.0-1011.11USN-6949-1
linux-image-nvidia-6.8Ubuntu
Fixed in:6.8.0-1011.11~22.04.1USN-6949-1
linux-image-nvidia-64kUbuntu
Fixed in:6.8.0-1011.11USN-6949-1
linux-image-nvidia-64k-6.8Ubuntu
Fixed in:6.8.0-1011.11~22.04.1USN-6949-1
linux-image-nvidia-lowlatencyUbuntu
Fixed in:6.8.0-1011.11.1USN-6952-1
linux-image-nvidia-lowlatency-64kUbuntu
Fixed in:6.8.0-1011.11.1USN-6952-1
linux-image-oem-24.04Ubuntu
Fixed in:6.8.0-1010.10USN-6955-1
linux-image-oem-24.04aUbuntu
Fixed in:6.8.0-1010.10USN-6955-1
linux-image-oracleUbuntu
Fixed in:6.8.0-1010.10USN-6952-1
linux-image-oracle-64kUbuntu
Fixed in:6.8.0-1010.10USN-6952-1
linux-image-raspiUbuntu
Fixed in:6.8.0-1009.10USN-6949-2
linux-image-virtualUbuntu
Fixed in:6.8.0-40.40USN-6949-1
linux-image-virtual-hwe-24.04Ubuntu
Fixed in:6.8.0-40.40USN-6949-1
linux-lowlatencyUbuntu
Fixed in:6.8.0-40.40.1USN-6949-2
linux-nvidiaUbuntu
Fixed in:6.8.0-1011.11USN-6949-1
linux-nvidia-6.8Ubuntu
Fixed in:6.8.0-1011.11~22.04.1USN-6949-1
linux-nvidia-lowlatencyUbuntu
Fixed in:6.8.0-1011.11.1USN-6952-1
linux-oem-6.8Ubuntu
Fixed in:6.8.0-1010.10USN-6955-1
linux-oracleUbuntu
Fixed in:6.8.0-1010.10USN-6952-1
linux-raspiUbuntu
Fixed in:6.8.0-1009.10USN-6949-2

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

0.20%probability of exploitation in 30 days
11thpercentile

Low risk: more likely to be exploited than 11% of all known CVEs.

References

Related Vulnerabilities

Other CWE-787 (Out-of-bounds Write) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-22457Critical9.0100%KEV + RansomFix
CVE-2025-0282Critical9.0100%KEV + Ransom-
CVE-2015-3113Critical9.8100%KEVFix
CVE-2021-20038Critical9.8100%KEV + Ransom-
CVE-2023-4863High8.8100%KEVFix
CVE-2020-16040Medium6.5100%-Fix
Embed a live status badge for CVE-2024-36001
CVE-2024-36001 severity badge

Markdown

[![CVE-2024-36001](https://tridentstack.com/cve/badge/CVE-2024-36001.svg)](https://tridentstack.com/cve/CVE-2024-36001)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-36001"><img src="https://tridentstack.com/cve/badge/CVE-2024-36001.svg" alt="CVE-2024-36001"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-09-23.