CVE-2026-89674
nfsd: fix XDR length calculation in nfsd4_ff_encode_layoutget
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 9b9960a0ca4773e21c4b153ed355583946346b25, < 3a7fd224df0fbb42167eb1b77be45d72fe0b1098; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < 29e4478e2ed5a227e8f0c33cacb91bf227cedd47; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < 65a72b721943618eeb3a41c8b36e915591f3f83f; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < bee826c00ac900473f91306f1f3e5a5a81fd4a74; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < e7d9d23ecd9172f05b09bb678ff22db8e361c428; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < 0380129b1373c437eb35401a174671c8888f4b80; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < c81cef6a805dec266c10fc4f83c93d6fcf1a2b43; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < f9868174af49d207fbaf0c5e055d088a983684af
- Anyone running Linux 4.8
Vulnerability facts
- Affected
- Linux >= 9b9960a0ca4773e21c4b153ed355583946346b25, < 3a7fd224df0fbb42167eb1b77be45d72fe0b1098; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < 29e4478e2ed5a227e8f0c33cacb91bf227cedd47; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < 65a72b721943618eeb3a41c8b36e915591f3f83f; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < bee826c00ac900473f91306f1f3e5a5a81fd4a74; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < e7d9d23ecd9172f05b09bb678ff22db8e361c428; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < 0380129b1373c437eb35401a174671c8888f4b80; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < c81cef6a805dec266c10fc4f83c93d6fcf1a2b43; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < f9868174af49d207fbaf0c5e055d088a983684af; Linux 4.8
- Fixed in
- Linux 3a7fd224df0fbb42167eb1b77be45d72fe0b1098, Linux 29e4478e2ed5a227e8f0c33cacb91bf227cedd47, Linux 65a72b721943618eeb3a41c8b36e915591f3f83f, Linux 0380129b1373c437eb35401a174671c8888f4b80
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.76% chance of exploitation in 30 days (percentile 51, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: nfsd: fix XDR length calculation in nfsd4_ff_encode_layoutget The XDR buffer size calculation in nfsd4_ff_encode_layoutget() has multiple errors that can result in either an out-of-bounds write or leaking uninitialized kernel memory to the client: - fh_len doesn't account for XDR padding on the file handle data - uid and gid lengths use "8 + len" but xdr_encode_opaque() actually writes "4 + xdr_align_size(len)" bytes - ds_len omits the flags and stats_collect_hint fields (8 bytes), while len's header constant overestimates by 8 bytes -- these partially cancel but leave a net mismatch The worst case occurs with short strings (e.g. uid=0, gid=0 with an odd-sized file handle), where the function writes up to 5 bytes past the reserved XDR buffer. Conversely, when string lengths happen to be 4-byte aligned, the reservation is too large and stale buffer content is sent to the client. Fix this by breaking out every encoded field explicitly in the ds_len calculation, using xdr_align_size() for all variable-length opaque fields, and correcting the header constants.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 9b9960a0ca4773e21c4b153ed355583946346b25, < 3a7fd224df0fbb42167eb1b77be45d72fe0b1098; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < 29e4478e2ed5a227e8f0c33cacb91bf227cedd47; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < 65a72b721943618eeb3a41c8b36e915591f3f83f; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < bee826c00ac900473f91306f1f3e5a5a81fd4a74; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < e7d9d23ecd9172f05b09bb678ff22db8e361c428; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < 0380129b1373c437eb35401a174671c8888f4b80; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < c81cef6a805dec266c10fc4f83c93d6fcf1a2b43; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < f9868174af49d207fbaf0c5e055d088a983684af | — | cvelist |
| Linux | 4.8 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-89674. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-89674.md Affected: Linux >= 9b9960a0ca4773e21c4b153ed355583946346b25, < 3a7fd224df0fbb42167eb1b77be45d72fe0b1098; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < 29e4478e2ed5a227e8f0c33cacb91bf227cedd47; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < 65a72b721943618eeb3a41c8b36e915591f3f83f; >= 9b9960a0ca4773e21c4b153… Fixed in: Linux 3a7fd224df0fbb42167eb1b77be45d72fe0b1098, Linux 29e4478e2ed5a227e8f0c33cacb91bf227cedd47, Linux 65a72b721943618eeb3a41c8b36e915591f3f83f, Linux 0380129b1373c437eb35401a174671c8888f4b80 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.
References
Other
- https://git.kernel.org/stable/c/3a7fd224df0fbb42167eb1b77be45d72fe0b1098
- https://git.kernel.org/stable/c/29e4478e2ed5a227e8f0c33cacb91bf227cedd47
- https://git.kernel.org/stable/c/65a72b721943618eeb3a41c8b36e915591f3f83f
- https://git.kernel.org/stable/c/bee826c00ac900473f91306f1f3e5a5a81fd4a74
- https://git.kernel.org/stable/c/e7d9d23ecd9172f05b09bb678ff22db8e361c428
- https://git.kernel.org/stable/c/0380129b1373c437eb35401a174671c8888f4b80
- https://git.kernel.org/stable/c/c81cef6a805dec266c10fc4f83c93d6fcf1a2b43
- https://git.kernel.org/stable/c/f9868174af49d207fbaf0c5e055d088a983684af
FAQ
Is CVE-2026-89674 being exploited?
There is no confirmed exploitation: CVE-2026-89674 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.76% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-89674?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-89674?
Linux >= 9b9960a0ca4773e21c4b153ed355583946346b25, < 3a7fd224df0fbb42167eb1b77be45d72fe0b1098; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < 29e4478e2ed5a227e8f0c33cacb91bf227cedd47; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < 65a72b721943618eeb3a41c8b36e915591f3f83f; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < bee826c00ac900473f91306f1f3e5a5a81fd4a74; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < e7d9d23ecd9172f05b09bb678ff22db8e361c428; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < 0380129b1373c437eb35401a174671c8888f4b80; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < c81cef6a805dec266c10fc4f83c93d6fcf1a2b43; >= 9b9960a0ca4773e21c4b153ed355583946346b25, < f9868174af49d207fbaf0c5e055d088a983684af; Linux 4.8.
Is there a fix for CVE-2026-89674?
Yes. Fixed in Linux 3a7fd224df0fbb42167eb1b77be45d72fe0b1098, Linux 29e4478e2ed5a227e8f0c33cacb91bf227cedd47, Linux 65a72b721943618eeb3a41c8b36e915591f3f83f, Linux 0380129b1373c437eb35401a174671c8888f4b80. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-89674?
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.