CVE-2026-89674 in the critical feed json
nfsd: fix XDR length calculation in nfsd4_ff_encode_layoutget
published 2026-09-11 58 d ago modified 2026-10-19 21 d ago also EUVD-2026-76586
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.109, 6.18.50, 7.2.4, 7.3
- linux Debian 12 6.1.190-1
- linux Debian 13 6.12.111-1
- linux Debian 14 7.2.6-1
- linux-6.12 Debian 12 6.12.111-1~deb12u1
debian advisories DEBIAN-CVE-2026-89674
- linux Ubuntu 22.04 LTS 5.15.0-202.212
- linux Ubuntu 26.04 LTS 7.0.0-42.42
- linux-aws Ubuntu 22.04 LTS 5.15.0-1119.126
- linux-aws Ubuntu 26.04 LTS 7.0.0-1016.17
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1120.130
- linux-gcp Ubuntu 26.04 LTS 7.0.0-1016.18
- linux-gke Ubuntu 22.04 LTS 5.15.0-1115.121
- linux-ibm Ubuntu 22.04 LTS 5.15.0-1113.117
ubuntu advisories UBUNTU-CVE-2026-89674
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-livepatch-SLE16-RT_Update_5 Linux Micro 6.2 14-160000.1.1
- kernel-livepatch-SLE16-RT_Update_3 Linux Micro 6.2 15-160000.1.1
- kernel-livepatch-SLE16-RT_Update_2 Linux Micro 6.2 16-160000.1.1
- kernel-livepatch-SLE16-RT_Update_1 Linux Micro 6.2 18-160000.1.1
- kernel-livepatch-SLE16-RT_Update_0 Linux Micro 6.2 19-160000.3.4
- kernel-livepatch-SLE16-RT_Update_12 Linux Micro 6.2 8-160000.1.1
- kernel-livepatch-SLE16-RT_Update_11 Linux Micro 6.2 10-160000.1.1
- kernel-livepatch-SLE16-RT_Update_10 Linux Micro 6.2 10-160000.1.1
suse advisories SUSE-SU-2026:5088-1SUSE-SU-2026:5086-1SUSE-SU-2026:5085-1SUSE-SU-2026:5084-1SUSE-SU-2026:5059-1SUSE-SU-2026:5058-1
- kernel-rt openSUSE Leap 16.0 6.12.0-160000.39.1
- dtb-aarch64 openSUSE Leap 16.0 6.12.0-160000.39.1
- kernel-64kb openSUSE Leap 16.0 6.12.0-160000.39.1
- kernel-syms openSUSE Leap 16.0 6.12.0-160000.39.1
- kernel-azure openSUSE Leap 16.0 6.12.0-160000.39.1
- kernel-obs-qa openSUSE Leap 16.0 6.12.0-160000.39.1
- kernel-source openSUSE Leap 16.0 6.12.0-160000.39.1
- kernel-default openSUSE Leap 16.0 6.12.0-160000.39.1
opensuse advisories openSUSE-SU-2026:22091-1openSUSE-SU-2026:11805-1
- kernel Azure Linux 3.0 6.6.157.1-1
azure linux advisories AZL-100637
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- git.kernel.org/stable/c/3a7fd224df0fbb42167eb1b77be45d72fe0b1098 commit
- git.kernel.org/stable/c/29e4478e2ed5a227e8f0c33cacb91bf227cedd47 commit
- git.kernel.org/stable/c/65a72b721943618eeb3a41c8b36e915591f3f83f commit
- git.kernel.org/stable/c/bee826c00ac900473f91306f1f3e5a5a81fd4a74 commit
- git.kernel.org/stable/c/e7d9d23ecd9172f05b09bb678ff22db8e361c428 commit
- git.kernel.org/stable/c/0380129b1373c437eb35401a174671c8888f4b80 commit
- git.kernel.org/stable/c/c81cef6a805dec266c10fc4f83c93d6fcf1a2b43 commit
- git.kernel.org/stable/c/f9868174af49d207fbaf0c5e055d088a983684af commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-89674 updated cvss 8.8
kernel: nfsd: fix XDR length calculation in nfsd4_ff_encode_layoutget
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernel Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9not affected: vulnerable code not present
+1 more productsfewer
Red Hat OpenShift Container Platform 5 openshift/ose-rhel-coreos-9
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.51% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/3a7fd224df0fbb42167eb1b77be45d72fe0b1098
- git.kernel.org /stable/c/29e4478e2ed5a227e8f0c33cacb91bf227cedd47
- git.kernel.org /stable/c/65a72b721943618eeb3a41c8b36e915591f3f83f
- git.kernel.org /stable/c/bee826c00ac900473f91306f1f3e5a5a81fd4a74
- git.kernel.org /stable/c/e7d9d23ecd9172f05b09bb678ff22db8e361c428
- git.kernel.org /stable/c/0380129b1373c437eb35401a174671c8888f4b80
- git.kernel.org /stable/c/c81cef6a805dec266c10fc4f83c93d6fcf1a2b43
- git.kernel.org /stable/c/f9868174af49d207fbaf0c5e055d088a983684af
Sources
- CVE List CVE-2026-89674
- NVD CVE-2026-89674
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.