SecurityContext

CVE-2026-99362: Linux Kernel nfsd - Out-of-Bounds Write

  • Cve: CVE-2026-99362
  • Name: Linux Kernel nfsd - Out-of-Bounds Write
  • 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.
  • Impact: Remote NFS clients can cause kernel slab-out-of-bounds writes, potentially leading to memory corruption or denial of service.
  • Remediation: Update to the latest kernel version containing the fix for nfsd SEQUENCE reply preflight validation.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: data_tampering, denial_of_service
  • Requirements: Attacker must be an NFS client able to negotiate ca_maxresponsesize_cached down to NFSD_MIN_HDR_SEQ_SZ.
  • Labels source: securitycontext
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00764
  • Epss percentile: 0.56353
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2026-11-19T15:17:47Z
  • Age in days: 5
  • Modified at: 2026-11-23T08:17:41Z
  • Patch available: yes
  • References total: 8
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-99362
  • Nvd status: received
  • Checked, none or zero: cwe, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, hackerone

References

Same in every row:

  • Source: nvd
  • Tags:
Url
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/6a26c5473bb112d8420ffd48d5331bc5fb5a2065
https://git.kernel.org/stable/c/aff12e327620258123f847d7d06565f4555c5cb4
https://git.kernel.org/stable/c/cd303eb29cf34a6780f4c42aca5b8ca4a05a5d59
https://git.kernel.org/stable/c/ed98b0c57e5e84290c5b35428144ab26778905f3
https://git.kernel.org/stable/c/fa85acf074f000ad3d1a5ffb703128ff97de983d

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 3.16, < 7.4-rc1; >= 3.16, < 7.3.2; >= 3.16, < 6.18.61; >= 3.16, < 6.12.117; >= 3.16, < 6.6.163; >= 3.16, < 6.1.193; >= 3.16, < 5.15.226; >= 3.16, < 5.10.275nocna/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports