Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-36001

published high CVSS 3.1 · 7.8

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

Published
20 May 2024, 09:48:02 UTC
Updated
05 Aug 2026, 11:31:31 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux41d8e7673a7726cba57cb8112d81c89cfb6c3e35 to < 5eaf23b2e81349f6614f88396dc468fda89fc0b9 · 41d8e7673a7726cba57cb8112d81c89cfb6c3e35 to < c97f59e276d4e93480f29a70accbd0d7273cf3f5 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.8.9 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Ubuntu jammy linux-buildinfo-6.8.0-1011-nvidia Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-buildinfo-6.8.0-1011-nvidia-64k Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-headers-6.8.0-1011-nvidia Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-headers-6.8.0-1011-nvidia-64k Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu jammy linux-image-unsigned-6.8.0-1011-nvidia Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-image-unsigned-6.8.0-1011-nvidia-64k Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-modules-6.8.0-1011-nvidia Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-modules-6.8.0-1011-nvidia-64k Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-modules-extra-6.8.0-1011-nvidia Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-modules-nvidia-fs-6.8.0-1011-nvidia Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-modules-nvidia-fs-6.8.0-1011-nvidia-64k Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-nvidia-6.8 Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-nvidia-6.8-headers-6.8.0-1011 Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-nvidia-6.8-tools-6.8.0-1011 Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-nvidia-6.8-tools-host Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-tools-6.8.0-1011-nvidia Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu jammy linux-tools-6.8.0-1011-nvidia-64k Advisory build 6.8.0-1011.11~22.04.1 USN-6949-1
Ubuntu noble linux Advisory build 6.8.0-40.40 USN-6949-1
Ubuntu noble linux-aws Advisory build 6.8.0-1013.14 USN-6949-1
Ubuntu noble linux-aws-cloud-tools-6.8.0-1013 Advisory build 6.8.0-1013.14 USN-6949-1
Ubuntu noble linux-aws-headers-6.8.0-1013 Advisory build 6.8.0-1013.14 USN-6949-1
Ubuntu noble linux-aws-tools-6.8.0-1013 Advisory build 6.8.0-1013.14 USN-6949-1
Ubuntu noble linux-azure Advisory build 6.8.0-1012.14 USN-6952-2
Ubuntu noble linux-azure-cloud-tools-6.8.0-1012 Advisory build 6.8.0-1012.14 USN-6952-2
Ubuntu noble linux-azure-headers-6.8.0-1012 Advisory build 6.8.0-1012.14 USN-6952-2
Ubuntu noble linux-azure-tools-6.8.0-1012 Advisory build 6.8.0-1012.14 USN-6952-2
Ubuntu noble linux-buildinfo-6.8.0-1008-gke Advisory build 6.8.0-1008.11 USN-6949-1
Ubuntu noble linux-buildinfo-6.8.0-1009-raspi Advisory build 6.8.0-1009.10 USN-6949-2
Ubuntu noble linux-buildinfo-6.8.0-1010-ibm Advisory build 6.8.0-1010.10 USN-6949-1
Ubuntu noble linux-buildinfo-6.8.0-1010-oem Advisory build 6.8.0-1010.10 USN-6955-1
Ubuntu noble linux-buildinfo-6.8.0-1010-oracle Advisory build 6.8.0-1010.10 USN-6952-1
Ubuntu noble linux-buildinfo-6.8.0-1010-oracle-64k Advisory build 6.8.0-1010.10 USN-6952-1
Ubuntu noble linux-buildinfo-6.8.0-1011-nvidia Advisory build 6.8.0-1011.11 USN-6949-1
Ubuntu noble linux-buildinfo-6.8.0-1011-nvidia-64k Advisory build 6.8.0-1011.11 USN-6949-1
Ubuntu noble linux-buildinfo-6.8.0-1011-nvidia-lowlatency Advisory build 6.8.0-1011.11.1 USN-6952-1
Ubuntu noble linux-buildinfo-6.8.0-1011-nvidia-lowlatency-64k Advisory build 6.8.0-1011.11.1 USN-6952-1
Ubuntu noble linux-buildinfo-6.8.0-1012-azure Advisory build 6.8.0-1012.14 USN-6952-2
Ubuntu noble linux-buildinfo-6.8.0-1012-gcp Advisory build 6.8.0-1012.13 USN-6949-1
Ubuntu noble linux-buildinfo-6.8.0-1013-aws Advisory build 6.8.0-1013.14 USN-6949-1
Ubuntu noble linux-buildinfo-6.8.0-40-generic Advisory build 6.8.0-40.40 USN-6949-1
Ubuntu noble linux-buildinfo-6.8.0-40-generic-64k Advisory build 6.8.0-40.40 USN-6949-1
Ubuntu noble linux-buildinfo-6.8.0-40-lowlatency Advisory build 6.8.0-40.40.1 USN-6949-2
Ubuntu noble linux-buildinfo-6.8.0-40-lowlatency-64k Advisory build 6.8.0-40.40.1 USN-6949-2
Ubuntu noble linux-cloud-tools-6.8.0-1012-azure Advisory build 6.8.0-1012.14 USN-6952-2
Ubuntu noble linux-cloud-tools-6.8.0-1013-aws Advisory build 6.8.0-1013.14 USN-6949-1
Ubuntu noble linux-cloud-tools-6.8.0-40 Advisory build 6.8.0-40.40 USN-6949-1
Ubuntu noble linux-cloud-tools-6.8.0-40-generic Advisory build 6.8.0-40.40 USN-6949-1
Ubuntu noble linux-cloud-tools-6.8.0-40-lowlatency Advisory build 6.8.0-40.40.1 USN-6949-2
Ubuntu noble linux-cloud-tools-common Advisory build 6.8.0-40.40 USN-6949-1
Ubuntu noble linux-gcp Advisory build 6.8.0-1012.13 USN-6949-1
Ubuntu noble linux-gcp-headers-6.8.0-1012 Advisory build 6.8.0-1012.13 USN-6949-1
Ubuntu noble linux-gcp-tools-6.8.0-1012 Advisory build 6.8.0-1012.13 USN-6949-1
Ubuntu noble linux-gke Advisory build 6.8.0-1008.11 USN-6949-1
Ubuntu noble linux-gke-headers-6.8.0-1008 Advisory build 6.8.0-1008.11 USN-6949-1
Ubuntu noble linux-gke-tools-6.8.0-1008 Advisory build 6.8.0-1008.11 USN-6949-1
Ubuntu noble linux-headers-6.8.0-1008-gke Advisory build 6.8.0-1008.11 USN-6949-1
Ubuntu noble linux-headers-6.8.0-1009-raspi Advisory build 6.8.0-1009.10 USN-6949-2
Ubuntu noble linux-headers-6.8.0-1010-ibm Advisory build 6.8.0-1010.10 USN-6949-1
Ubuntu noble linux-headers-6.8.0-1010-oem Advisory build 6.8.0-1010.10 USN-6955-1
Ubuntu noble linux-headers-6.8.0-1010-oracle Advisory build 6.8.0-1010.10 USN-6952-1
Ubuntu noble linux-headers-6.8.0-1010-oracle-64k Advisory build 6.8.0-1010.10 USN-6952-1
Ubuntu noble linux-headers-6.8.0-1011-nvidia Advisory build 6.8.0-1011.11 USN-6949-1
Ubuntu noble linux-headers-6.8.0-1011-nvidia-64k Advisory build 6.8.0-1011.11 USN-6949-1
Ubuntu noble linux-headers-6.8.0-1011-nvidia-lowlatency Advisory build 6.8.0-1011.11.1 USN-6952-1
Ubuntu noble linux-headers-6.8.0-1011-nvidia-lowlatency-64k Advisory build 6.8.0-1011.11.1 USN-6952-1
Ubuntu noble linux-headers-6.8.0-1012-azure Advisory build 6.8.0-1012.14 USN-6952-2
Ubuntu noble linux-headers-6.8.0-1012-gcp Advisory build 6.8.0-1012.13 USN-6949-1
Ubuntu noble linux-headers-6.8.0-1013-aws Advisory build 6.8.0-1013.14 USN-6949-1
Ubuntu noble linux-headers-6.8.0-40 Advisory build 6.8.0-40.40 USN-6949-1
Ubuntu noble linux-headers-6.8.0-40-generic Advisory build 6.8.0-40.40 USN-6949-1
Ubuntu noble linux-headers-6.8.0-40-generic-64k Advisory build 6.8.0-40.40 USN-6949-1
Ubuntu noble linux-headers-6.8.0-40-lowlatency Advisory build 6.8.0-40.40.1 USN-6949-2
Ubuntu noble linux-headers-6.8.0-40-lowlatency-64k Advisory build 6.8.0-40.40.1 USN-6949-2
Ubuntu noble linux-ibm Advisory build 6.8.0-1010.10 USN-6949-1
Ubuntu noble linux-ibm-cloud-tools-common Advisory build 6.8.0-1010.10 USN-6949-1
Ubuntu noble linux-ibm-headers-6.8.0-1010 Advisory build 6.8.0-1010.10 USN-6949-1
Ubuntu noble linux-ibm-source-6.8.0 Advisory build 6.8.0-1010.10 USN-6949-1
Ubuntu noble linux-ibm-tools-6.8.0-1010 Advisory build 6.8.0-1010.10 USN-6949-1
Ubuntu noble linux-image-6.8.0-1009-raspi Advisory build 6.8.0-1009.10 USN-6949-2
Ubuntu noble linux-image-6.8.0-40-generic Advisory build 6.8.0-40.40 USN-6949-1
Ubuntu noble linux-image-unsigned-6.8.0-1008-gke Advisory build 6.8.0-1008.11 USN-6949-1
Ubuntu noble linux-image-unsigned-6.8.0-1010-ibm Advisory build 6.8.0-1010.10 USN-6949-1
Ubuntu noble linux-image-unsigned-6.8.0-1010-oem Advisory build 6.8.0-1010.10 USN-6955-1
Ubuntu noble linux-image-unsigned-6.8.0-1010-oracle Advisory build 6.8.0-1010.10 USN-6952-1
Ubuntu noble linux-image-unsigned-6.8.0-1010-oracle-64k Advisory build 6.8.0-1010.10 USN-6952-1
Ubuntu noble linux-image-unsigned-6.8.0-1011-nvidia Advisory build 6.8.0-1011.11 USN-6949-1
Ubuntu noble linux-image-unsigned-6.8.0-1011-nvidia-64k Advisory build 6.8.0-1011.11 USN-6949-1
Ubuntu noble linux-image-unsigned-6.8.0-1011-nvidia-lowlatency Advisory build 6.8.0-1011.11.1 USN-6952-1
Ubuntu noble linux-image-unsigned-6.8.0-1011-nvidia-lowlatency-64k Advisory build 6.8.0-1011.11.1 USN-6952-1
Ubuntu noble linux-image-unsigned-6.8.0-1012-azure Advisory build 6.8.0-1012.14 USN-6952-2
Ubuntu noble linux-image-unsigned-6.8.0-1012-gcp Advisory build 6.8.0-1012.13 USN-6949-1
Ubuntu noble linux-image-unsigned-6.8.0-1013-aws Advisory build 6.8.0-1013.14 USN-6949-1
Ubuntu noble linux-image-unsigned-6.8.0-40-generic Advisory build 6.8.0-40.40 USN-6949-1
Ubuntu noble linux-image-unsigned-6.8.0-40-generic-64k Advisory build 6.8.0-40.40 USN-6949-1
Ubuntu noble linux-image-unsigned-6.8.0-40-lowlatency Advisory build 6.8.0-40.40.1 USN-6949-2
Ubuntu noble linux-image-unsigned-6.8.0-40-lowlatency-64k Advisory build 6.8.0-40.40.1 USN-6949-2
Ubuntu noble linux-lib-rust-6.8.0-40-generic Advisory build 6.8.0-40.40 USN-6949-1
Ubuntu noble linux-lowlatency Advisory build 6.8.0-40.40.1 USN-6949-2
Ubuntu noble linux-lowlatency-cloud-tools-6.8.0-40 Advisory build 6.8.0-40.40.1 USN-6949-2
Ubuntu noble linux-lowlatency-cloud-tools-common Advisory build 6.8.0-40.40.1 USN-6949-2

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

6

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerability is triggered by local write(2)/pwritev2(2)/sync_file_range(2) syscalls against a file on a mounted 9p or AFS filesystem; no remote peer can initiate the sequence on its own. AC:L - The attacker controls both sides of the race — sync_file_range(SYNC_FILE_RANGE_WRITE) or an async io_uring/AIO RWF_SYNC write starts writeback without waiting and without holding i_rwsem, and an immediately following O_SYNC append at EOF lands in the same tail folio; the kernel test robot reproduced it in routine stress testing. PR:L - Any unprivileged local user with write access to a file on an existing 9p or AFS mount can trigger this — no capabilities are required, and 9p mounts writable by ordinary users are standard in VM guests and container runtimes (QEMU virtio-9p, WSL2, crosvm, Kata/gVisor). UI:N - The attacker performs every step itself on its own file; no action by another user or administrator is needed. S:U - The corruption and the vulnerable code are both in the kernel of the machine where the attack originates, so no security authority boundary is crossed. C:H - Premature PG_writeback clearing lets a folio be truncated, freed and reused while the reference-free ITER_XARRAY writethrough request is still transmitting from it, so freed-and-reused kernel memory is sent to the 9p/AFS server, and the resulting UAF is a general read primitive. I:H - The bug yields a use-after-free on page-cache folios plus a double kfree() of struct netfs_folio and a netfs_group refcount underflow in netfs_pages_written_back(), all of which are exploitable for heap corruption and arbitrary write, in addition to silent file data corruption. A:H - The second completion trips WARN() in netfs_pages_written_back() (panic under panic_on_warn) and VM_BUG_ON_FOLIO() inside folio_end_writeback() under CONFIG_DEBUG_VM, and the underlying use-after-free crashes the kernel outright.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 41d8e7673a7726cba57cb8112d81c89cfb6c3e35 to < 5eaf23b2e81349f6614f88396dc468fda89fc0b9 (affected · git)41d8e7673a7726cba57cb8112d81c89cfb6c3e35 to < c97f59e276d4e93480f29a70accbd0d7273cf3f5 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.8 (affected)0 to < 6.8 (unaffected · semver)6.8.9 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

3

Linux · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
9c73e7a15853209259e9da0e20f97b9cd1f23466aed3e762750df73eaffae29e
Ingested
23 Sep 2026, 08:23:51 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected