CVE-2026-98843

Source
https://cve.org/CVERecord?id=CVE-2026-98843
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98843.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98843
Downstream
Published
2026-10-18T15:50:23Z
Modified
2026-10-20T02:30:44Z
Summary
netfs: zero gaps in read-gaps folio to avoid writing back stale data
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98843.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ee4cdf7ba857a894ad1650d6ab77669cbbfa329e
Fixed
512eaf01ffabf4258e945016b50df5aed940b705
Fixed
2a62fe628a877c249c8286b157ee99d82840d9dc
Fixed
8db55c5cd831a786a1a2a2d391aa80354535a353

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98843.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.12.0
Fixed
6.18.56
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98843.json"