# CVE-2026-98843: netfs: zero gaps in read-gaps folio to avoid writing back stale data

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-28)
- **Published:** 2026-10-18T15:50:23.578Z
- **Modified:** 2026-10-19T10:19:48.390Z

## Who should check

- Anyone running Linux \>= ee4cdf7ba857a894ad1650d6ab77669cbbfa329e, \< 512eaf01ffabf4258e945016b50df5aed940b705; \>= ee4cdf7ba857a894ad1650d6ab77669cbbfa329e, \< 2a62fe628a877c249c8286b157ee99d82840d9dc; \>= ee4cdf7ba857a894ad1650d6ab77669cbbfa329e, \< 8db55c5cd831a786a1a2a2d391aa80354535a353
- Anyone running Linux 6.12

## 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.

## Affected and fixed versions

- Linux: \>= ee4cdf7ba857a894ad1650d6ab77669cbbfa329e, \< 512eaf01ffabf4258e945016b50df5aed940b705; \>= ee4cdf7ba857a894ad1650d6ab77669cbbfa329e, \< 2a62fe628a877c249c8286b157ee99d82840d9dc; \>= ee4cdf7ba857a894ad1650d6ab77669cbbfa329e, \< 8db55c5cd831a786a1a2a2d391aa80354535a353 (cvelist)
- Linux: 6.12 (cvelist)

## Mitigation

- Upgrade Linux to 8db55c5cd831a786a1a2a2d391aa80354535a353 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98843. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98843.md
Affected: Linux >= ee4cdf7ba857a894ad1650d6ab77669cbbfa329e, < 512eaf01ffabf4258e945016b50df5aed940b705; >= ee4cdf7ba857a894ad1650d6ab77669cbbfa329e, < 2a62fe628a877c249c8286b157ee99d82840d9dc; >= ee4cdf7ba857a894ad1650d6ab77669cbbfa329e, < 8db55c5cd831a786a1a2a2d391aa80354535a353; Linux 6.12
Fixed in: Linux 512eaf01ffabf4258e945016b50df5aed940b705, Linux 2a62fe628a877c249c8286b157ee99d82840d9dc, Linux 8db55c5cd831a786a1a2a2d391aa80354535a353

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98843 being exploited?

There is no confirmed exploitation: CVE-2026-98843 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-98843?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98843?

Linux \>= ee4cdf7ba857a894ad1650d6ab77669cbbfa329e, \< 512eaf01ffabf4258e945016b50df5aed940b705; \>= ee4cdf7ba857a894ad1650d6ab77669cbbfa329e, \< 2a62fe628a877c249c8286b157ee99d82840d9dc; \>= ee4cdf7ba857a894ad1650d6ab77669cbbfa329e, \< 8db55c5cd831a786a1a2a2d391aa80354535a353; Linux 6.12.

### Is there a fix for CVE-2026-98843?

Yes. Fixed in Linux 512eaf01ffabf4258e945016b50df5aed940b705, Linux 2a62fe628a877c249c8286b157ee99d82840d9dc, Linux 8db55c5cd831a786a1a2a2d391aa80354535a353. Upgrade Linux to 8db55c5cd831a786a1a2a2d391aa80354535a353 or later.

### How do I check if I'm affected by CVE-2026-98843?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/512eaf01ffabf4258e945016b50df5aed940b705>
- other: <https://git.kernel.org/stable/c/2a62fe628a877c249c8286b157ee99d82840d9dc>
- other: <https://git.kernel.org/stable/c/8db55c5cd831a786a1a2a2d391aa80354535a353>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98843>

HTML: <https://flawdb.com/CVE-2026-98843> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98843>
