CVE-2026-99362
Description
In the Linux kernel, the following vulnerability has been resolved: nfsd: preflight SEQUENCE replies before accepting a slot nfsd4_sequence() narrows the reply buffer to the session's cached reply limit before it accepts the slot seqid. A client may negotiate ca_maxresponsesize_cached down to NFSD_MIN_HDR_SEQ_SZ, and nfsd4_alloc_slot() then gives every slot a zero-length sl_data[]. A COMPOUND tag can fill that narrowed buffer until it holds the SEQUENCE opcode but not the status word that follows. nfsd4_encode_operation() returns without running nfsd4_encode_sequence(), so cstate.data_offset stays zero. It leaves op->status at nfs_ok as well, so the COMPOUND is treated as having succeeded. nfsd4_store_cache_entry() declines to cache a lone SEQUENCE that returned an error. That test reads the status the operation reported, so it passes here. The copy starts at offset zero and takes the whole reply, RPC and COMPOUND headers included, into the zero-length sl_data[]. The COMPOUND tag is copied along with it, so the client picks most of the bytes written past the end of the slot: BUG: KASAN: slab-out-of-bounds in read_bytes_from_xdr_buf+0x1bc/0x390 Write of size 80 at addr ffff888003a549cd by task kunit_try_catch/24 __asan_memcpy+0x38/0x60 read_bytes_from_xdr_buf+0x1bc/0x390 nfsd4_sequence_done+0x5b0/0x810 nfs4svc_encode_compoundres+0x1bf/0x240 Check that the fixed-size SEQUENCE result, plus room for a following operation's error status, fits the negotiated limit before narrowing the buffer and consuming the slot seqid. The slot and its reply cache are left unchanged, as RFC 8881 Section 2.10.6.1.2 requires of an error returned from SEQUENCE.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-99362 NameCVE-2026-99362 DescriptionIn the Linux kernel, the following vulnerability has been resolved: nfsd: preflight SEQUENCE replies before accepting a slot nfsd4_sequence() narrows the reply buffer to the session's cached reply limit before it accepts the slot seqid. A client may negotiate ca_maxresponsesize_cached down to NFSD_MIN_HDR_SEQ_SZ, and nfsd4_alloc_slot() then gives every…
CVE-2026-99362
| Name | CVE-2026-99362 |
| Description | In the Linux kernel, the following vulnerability has been resolved: nfsd: preflight SEQUENCE replies before accepting a slot nfsd4_sequence() narrows the reply buffer to the session's cached reply limit before it accepts the slot seqid. A client may negotiate ca_maxresponsesize_cached down to NFSD_MIN_HDR_SEQ_SZ, and nfsd4_alloc_slot() then gives every slot a zero-length sl_data[]. A COMPOUND tag can fill that narrowed buffer until it holds the SEQUENCE opcode but not the status word that follows. nfsd4_encode_operation() returns without running nfsd4_encode_sequence(), so cstate.data_offset stays zero. It leaves op->status at nfs_ok as well, so the COMPOUND is treated as having succeeded. nfsd4_store_cache_entry() declines to cache a lone SEQUENCE that returned an error. That test reads the status the operation reported, so it passes here. The copy starts at offset zero and takes the whole reply, RPC and COMPOUND headers included, into the zero-length sl_data[]. The COMPOUND tag is copied along with it, so the client picks most of the bytes written past the end of the slot: BUG: KASAN: slab-out-of-bounds in read_bytes_from_xdr_buf+0x1bc/0x390 Write of size 80 at addr ffff888003a549cd by task kunit_try_catch/24 __asan_memcpy+0x38/0x60 read_bytes_from_xdr_buf+0x1bc/0x390 nfsd4_sequence_done+0x5b0/0x810 nfs4svc_encode_compoundres+0x1bf/0x240 Check that the fixed-size SEQUENCE result, plus room for a following operation's error status, fits the negotiated limit before narrowing the buffer and consuming the slot seqid. The slot and its reply cache are left unchanged, as RFC 8881 Section 2.10.6.1.2 requires of an error returned from SEQUENCE. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4927-1, DLA-4942-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| linux (PTS) | bookworm | 6.1.176-1 | vulnerable |
| bookworm (security) | 6.1.192-3 | fixed | |
| trixie | 6.12.117-1 | fixed | |
| trixie (security) | 6.12.118-1 | fixed | |
| forky | 7.3.5-1 | fixed | |
| sid | 7.3.6-1 | fixed | |
| linux-6.12 (PTS) | bookworm (security) | 6.12.117-1~deb12u1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| linux | source | bookworm | 6.1.192-3 | DLA-4942-1 | ||
| linux | source | trixie | 6.12.117-1 | |||
| linux | source | (unstable) | 7.3.3-1 | |||
| linux-6.12 | source | bookworm | 6.12.117-1~deb12u1 | DLA-4927-1 |
Notes
https://git.kernel.org/linus/35ff1a7a7e3835c3e974bc5c45d335897564ceae (7.4-rc1)
https://opensec.in/blog/nfs2root-cve-2026-99362
Apply commands
https://git.kernel.org/linus/35ff1a7a7e3835c3e974bc5c45d335897564ceae (7.4-rc1)https://opensec.in/blog/nfs2root-cve-2026-99362
OS impact
Azure Linux Affected 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| 3.0 | — | Affected | — |
AlmaLinux Fixed 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| 8 | kernel-debug kernel-zfcpdump kernel-zfcpdump-core +22 more |
Fixed | 4.18.0-553.190.1.el8_10 |
| 8 | kernel-rt-debug-modules kernel-rt-modules-extra kernel-rt-devel +7 more |
Fixed | 4.18.0-553.190.1.rt7.531.el8_10 |
Debian Fixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | linux |
Fixed | 6.12.117-1 |
| sid | linux |
Fixed | 7.3.3-1 |
| forky | linux |
Fixed | 7.3.3-1 |
| bookworm | linux |
Fixed | 6.1.192-3 |
| bookworm | linux-6.12 |
Fixed | 6.12.117-1~deb12u1 |
Red Hat Fixed 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| 8 | kernel-core kernel-debug-core kernel-debug-devel +20 more |
Fixed | 4.18.0-553.190.1.el8_10 |
| 8 | kernel-rt-kvm kernel-rt kernel-rt-core +9 more |
Fixed | 4.18.0-553.190.1.rt7.531.el8_10 |
Rocky Linux Fixed 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| 8 | kernel |
Fixed | 4.18.0-553.190.1.el8_10 |
| 8 | kernel-rt |
Fixed | 4.18.0-553.190.1.rt7.531.el8_10 |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| linux | linux | 3.16 | |
References
- https://git.kernel.org/stable/c/1a5a227bca6a8a9f9d31230697aeb84c62a21da6
- https://git.kernel.org/stable/c/35ff1a7a7e3835c3e974bc5c45d335897564ceae
- https://git.kernel.org/stable/c/37fc2ec211630360e9aefcaaec8730db964645f2
- https://git.kernel.org/stable/c/ed98b0c57e5e84290c5b35428144ab26778905f3
- https://security-tracker.debian.org/tracker/CVE-2026-99362
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-99362
- https://git.kernel.org/stable/c/6a26c5473bb112d8420ffd48d5331bc5fb5a2065
- https://git.kernel.org/stable/c/aff12e327620258123f847d7d06565f4555c5cb4
- https://git.kernel.org/stable/c/cd303eb29cf34a6780f4c42aca5b8ca4a05a5d59
- https://git.kernel.org/stable/c/fa85acf074f000ad3d1a5ffb703128ff97de983d
- https://www.suse.com/security/cve/CVE-2026-99362.html
- https://access.redhat.com/errata/RHSA-2026:103817
- https://bugzilla.redhat.com/2502316
- https://bugzilla.redhat.com/2555081
- https://bugzilla.redhat.com/2565258
- https://bugzilla.redhat.com/2576719
- https://errata.almalinux.org/8/ALSA-2026-103817.html
- https://access.redhat.com/errata/RHSA-2026:103838
- https://errata.almalinux.org/8/ALSA-2026-103838.html
- https://lists.debian.org/debian-lts-announce/2026/11/msg00069.html
- https://errata.rockylinux.org/RLSA-2026:103817
- https://errata.rockylinux.org/RLSA-2026:103838
- http://www.openwall.com/lists/oss-security/2026/11/28/2
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.