# CVE-2026-99373: NFS/localio: detect a short read or write before the iterator has moved

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-19 · Modified: 2026-11-19
- Aliases: DEBIAN-CVE-2026-99373, UBUNTU-CVE-2026-99373, CGA-276v-955m-q534, CGA-2j77-3925-576v, CGA-56h5-4994-2439, CGA-6cfx-vvjr-p3rq, CGA-9pj9-4q2q-j4r6, CGA-jj2r-mhcc-c284, CGA-jrjr-f8jg-g58q, CGA-v3pm-59h8-64m8, CGA-wqfx-2x45-3m8h, CGA-ww39-9x29-84mr, CGA-277q-hqg7-mcfv, CGA-37v2-x6j4-54wr, CGA-529x-h46x-4mhc, CGA-6g97-w2vp-jch5, CGA-82x7-hhxg-499p, CGA-v8gv-r3jf-wcfv, CGA-wwrq-mmf9-xwqr, CGA-227j-vvg6-vhjx, CGA-3rg9-h3j8-92cv
- Record: https://cvemate.com/vulnerability/CVE-2026-99373 · JSON: https://cvemate.com/vulnerability/CVE-2026-99373/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

NFS/localio: detect a short read or write before the iterator has moved

nfs_local_call_read() and nfs_local_call_write() issue a misaligned
DIO as up to three segments and must stop at the first short one, or
the next segment lands at the wrong file offset.  They test for that
by comparing the bytes transferred against iov_iter_count() of the
segment, read after read_iter() or write_iter() has advanced the
iterator, when the count is the residual rather than the request:

    before the call:  count == expected
    after the call:   count == expected - status

The test is therefore status < expected - status, and it fires only
when less than half of the segment was transferred.  A short I/O that
covers between 50% and 99% of a segment slips through: the loop moves
on with ki_pos advanced by the short amount, the next segment is
issued at the wrong offset, and the header's byte count is
over-reported to the caller.  A write that slips through also never
sets NFS_CONTEXT_WRITE_SYNC, which is what makes the writes that
follow a short one synchronous.

Take the segment's count before issuing it and compare against that.

This is the same defect that commit 250ec14932d5 ("nfsd: fix
partial-write detection in nfsd_direct_write") fixed in NFSD's version
of this loop.
```

## Signals

- CVSS: 4.8 medium (v4.0, OSV · Ubuntu) CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- EPSS: 0.222%, percentile 13.635%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 133)

- chainguard linux-desktop-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-modules (Chainguard): All versions (No fix recorded)
- debian linux (Debian): \< 7.3.3-1
- ubuntu linux (Ubuntu): All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/8be28bd11e098cd4f109edca1b883fe5704167ee>
- <https://git.kernel.org/stable/c/ca85441a75b526228923e2959bd576403c4bba85>
- <https://git.kernel.org/stable/c/db3ca539c1142d2c5380c5dbd3154ab7bb1c7d77>
- <https://security-tracker.debian.org/tracker/CVE-2026-99373>
- <https://ubuntu.com/security/CVE-2026-99373>
- <https://www.cve.org/CVERecord?id=CVE-2026-99373>
- <https://git.kernel.org/linus/db3ca539c1142d2c5380c5dbd3154ab7bb1c7d77>

---

Data as of 2026-12-05T08:38:15.182Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
