CVE-2026-99362
Severity unknownNo known exploitationFix availablenfsd: preflight SEQUENCE replies before accepting a slot
Record last updated
CVSS score
No score published yet
EPSS, chance of exploitation in 30 days
Higher than 12% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Patching and mitigation
- Patch status
- Fix available (source: CVE record (Linux))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- No vendor link on record
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Linux | Linux | from 47ee52986472dba068e8223cbaf1b65d74238781 before 37fc2ec211630360e9aefcaaec8730db964645f2 | 37fc2ec211630360e9aefcaaec8730db964645f2 | CVE Program |
| Linux | Linux | from 47ee52986472dba068e8223cbaf1b65d74238781 before ed98b0c57e5e84290c5b35428144ab26778905f3 | ed98b0c57e5e84290c5b35428144ab26778905f3 | CVE Program |
| Linux | Linux | from 47ee52986472dba068e8223cbaf1b65d74238781 before 35ff1a7a7e3835c3e974bc5c45d335897564ceae | 35ff1a7a7e3835c3e974bc5c45d335897564ceae | CVE Program |
| Linux | Linux | from 47ee52986472dba068e8223cbaf1b65d74238781 before 1a5a227bca6a8a9f9d31230697aeb84c62a21da6 | 1a5a227bca6a8a9f9d31230697aeb84c62a21da6 | CVE Program |
| Linux | Linux | 3.16 | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.12.117 up to and including 6.12.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.18.61 up to and including 6.18.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 7.3.2 up to and including 7.3.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | 7.4-rc1 | Not documented | CVE Program |
| Linux | Linux (unaffected) | all versions before 3.16 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by Linux
Source: CVE Program (opens in a new tab)
Patch
Fix documented by CVE record (Linux)
Vendor guidance and references
- https://git.kernel.org/stable/c/1a5a227bca6a8a9f9d31230697aeb84c62a21da6 (opens in a new tab)
- https://git.kernel.org/stable/c/35ff1a7a7e3835c3e974bc5c45d335897564ceae (opens in a new tab)
- https://git.kernel.org/stable/c/37fc2ec211630360e9aefcaaec8730db964645f2 (opens in a new tab)
- https://git.kernel.org/stable/c/ed98b0c57e5e84290c5b35428144ab26778905f3 (opens in a new tab)