CVE-2026-98843
netfs: zero gaps in read-gaps folio to avoid writing back stale data
Check your servers for CVE-2026-98843
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98843 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
netfs: zero gaps in read-gaps folio to avoid writing back stale data
netfs_read_gaps() leaves gaps around a streaming write's dirty region unread on the server side, so a short/EOF response there left stale folio content that later got written back.
Zero it after the read completes, not before: netfs_wait_for_read() returns rreq->transferred once ret >= 0, so build an iterator over the same bvec array the read used, advance past ret, and zero the rest. The dirty region already maps to sink pages in that array rather than the real folio, so this can't touch it, and only the actual shortfall gets zeroed instead of the whole gap upfront.
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.15% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from ee4cdf7ba857a894ad1650d6ab77669cbbfa329e, before 512eaf01ffabf4258e945016b50df5aed940b705 affected from ee4cdf7ba857a894ad1650d6ab77669cbbfa329e, before 2a62fe628a877c249c8286b157ee99d82840d9dc affected from ee4cdf7ba857a894ad1650d6ab77669cbbfa329e, before 8db55c5cd831a786a1a2a2d391aa80354535a353
Other versions: unaffected
|
| Linux |
affected 6.12 unaffected before 6.12 unaffected from 6.18.56 up to and including 6.18.* unaffected from 7.2.10 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98843 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98843
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-98843
trivy image --scanners vuln IMAGE | grep CVE-2026-98843
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/512eaf01ffabf4258e945016b50df5aed940b705 git.kernel.org
- https://git.kernel.org/stable/c/2a62fe628a877c249c8286b157ee99d82840d9dc git.kernel.org
- https://git.kernel.org/stable/c/8db55c5cd831a786a1a2a2d391aa80354535a353 git.kernel.org
Source: the record CVE-2026-98843 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse