Skip to content
VulniPulse
Critical 2 vendors · 2 advisories

CVE-2026-31402: nfsd: fix heap overflow in NFSv4.0 LOCK replay cache

CVE-2026-31402 key facts

CISA KEV
Not listed (catalogue checked )
Highest advisory rating
Critical
CVSS base score
9.8 (NetApp), 7.8 (Red Hat)
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · base score 9.8, scored by LinuxAttack vector: network. Attack complexity: low. Privileges required: none. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.
Weakness
  • CWE-787 Out-of-bounds Write
EPSS
1.57% chance of exploitation in the next 30 days (76th percentile). FIRST EPSS, .
CISA SSVC
Exploitation: none observed. Automatable: yes. Technical impact: total. CISA, .
Fixed releases
  • NetApp: NetApp Console Agent OVA: 4.13.0, ONTAP tools for VMware vSphere 10: 10.5P2
  • Red Hat: RHSA-2026:13936
Vendor advisories
2 from NetApp, Red Hat
Assigned by
Linux (CNA)
CVE record published
Listed by VulniPulse
Record changed

Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-31402; each belongs to its advisory, not to every product listed. How records are collected and checked.

Am I affected by CVE-2026-31402?

You are affected if you run Red Hat Enterprise Linux Server -EXTENSION(v. 6 ELS-EXTENSION), Red Hat Enterprise Linux Server Optional -EXTENSION (v. 6 ELS -EXTENSION), Red Hat Enterprise Linux Server (v. 7 ELS) at one of the versions below. If you do, upgrade to the fixed release listed for your version.

AffectedFixed in
Red Hat: kernel-0:4.18.0-553.123.1.el8_10No fixed release on this branch listed by the vendor
Red Hat: kernel-0:4.18.0-372.190.1.el8_6No fixed release on this branch listed by the vendor
Red Hat: kernel-0:4.18.0-477.139.1.el8_8No fixed release on this branch listed by the vendor
Red Hat: kernel-0:6.12.0-55.72.1.el10_0No fixed release on this branch listed by the vendor
Red Hat: kernel-rt-0:5.14.0-70.178.1.rt21.250.el9_0No fixed release on this branch listed by the vendor
Red Hat: kernel-rt-0:4.18.0-553.123.1.rt7.464.el8_10No fixed release on this branch listed by the vendor
Red Hat: kernel-0:5.14.0-611.54.1.el9_7No fixed release on this branch listed by the vendor
Red Hat: kernel-0:5.14.0-687.10.1.el9_8No fixed release on this branch listed by the vendor
Red Hat: kernel-0:5.14.0-427.121.1.el9_4No fixed release on this branch listed by the vendor
Red Hat: kernel-0:5.14.0-570.110.1.el9_6No fixed release on this branch listed by the vendor
Red Hat: kernel-0:5.14.0-70.178.1.el9_0No fixed release on this branch listed by the vendor
Red Hat: kernel-rt-0:3.10.0-1160.149.1.rt56.1301.el7No fixed release on this branch listed by the vendor

Also listed as fixed: Red Hat: RHSA-2026:13936

Description

In the Linux kernel, the following vulnerability has been resolved: nfsd: fix heap overflow in NFSv4.0 LOCK replay cache The NFSv4.0 replay cache uses a fixed 112-byte inline buffer (rp_ibuf[NFSD4_REPLAY_ISIZE]) to store encoded operation responses. This size was calculated based on OPEN responses and does not account for LOCK denied responses, which include the conflicting lock owner as a variable-length field up to 1024 bytes (NFS4_OPAQUE_LIMIT). When a LOCK operation is denied due to a conflict with an existing lock that has a large owner, nfsd4_encode_operation() copies the full encoded response into the undersized replay buffer via read_bytes_from_xdr_buf() with no bounds check. This results in a slab-out-of-bounds write of up to 944 bytes past the end of the buffer, corrupting adjacent heap memory. This can be triggered remotely by an unauthenticated attacker with two cooperating NFSv4.0 clients: one sets a lock with a large owner string, then the other requests a conflicting lock to provoke the denial. We could fix this by increasing NFSD4_REPLAY_ISIZE to allow for a full opaque, but that would increase the size of every stateowner, when most lockowners are not that large. Instead, fix this by checking the encoded response length against NFSD4_REPLAY_ISIZE before copying into the replay buffer. If the response is too large, set rp_buflen to 0 to skip caching the replay payload. The status is still cached, and the client already received the correct response on the original request.

Text from the CVE.org record (Linux).

How do I fix CVE-2026-31402?

Upgrade to a fixed release named by the vendor:

  • NetApp: NetApp Console Agent OVA: 4.13.0, ONTAP tools for VMware vSphere 10: 10.5P2
  • Red Hat: RHSA-2026:13936
  • Update affected NetApp products to a fixed release: NetApp Console Agent OVA: 4.13.0, ONTAP tools for VMware vSphere 10: 10.5P2. (NetApp)
  • NetApp Console Agent OVA: Customers using older versions should upgrade to the latest release, version 4.13.0. (NetApp)
  • Update the affected package(s) to the fixed version shipped in RHSA-2026:13936 (`sudo dnf update` / `yum update`). (Red Hat)

Vendor advisories for CVE-2026-31402

NetApp

1 advisory
  • Advisory severityCritical9.8

    Critical [CVE-2026-31402] Linux Kernel Vulnerability in NetApp Products

    NTAP-20260417-0008Source published Source updated

    Multiple NetApp products incorporate Linux kernel. Certain Linux kernel versions are susceptible to a vulnerability which when successfully exploited could lead to disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS). Affected products: NetApp Console Agent OVA, ONTAP tools for VMware vSphere 10. NetApp reports that one or more additional products remain under investigation; review the canonical advisory for current status. NetApp states there is no workaround available at this time.

    Affected products in this advisory
    • NetApp Console Agent OVA
    • ONTAP tools for VMware vSphere 10
    Source-reported affected versions
    Affected-version details not available in this record.
    Source-reported fixed versions
    • NetApp Console Agent OVA: 4.13.0
    • ONTAP tools for VMware vSphere 10: 10.5P2
    Mitigation guidance
    • Update affected NetApp products to a fixed release: NetApp Console Agent OVA: 4.13.0, ONTAP tools for VMware vSphere 10: 10.5P2.
    • NetApp Console Agent OVA: Customers using older versions should upgrade to the latest release, version 4.13.0.

Red Hat

1 advisory
  • Advisory severityHigh7.8

    High [CVE-2026-31402] fix heap overflow in NFSv4.0 LOCK replay cache

    CVE-2026-31402Source published

    fix heap overflow in NFSv4.0 LOCK replay cache. Red Hat rates this important (CVSS 7.8). Weakness: CWE-787. Affected package(s): kernel, kernel-rt. Resolved in Red Hat advisory RHSA-2026:13936 — update the affected packages (`sudo dnf update`).

    Affected products in this advisory
    • Red Hat Enterprise Linux Server -EXTENSION(v. 6 ELS-EXTENSION)
    • Red Hat Enterprise Linux Server Optional -EXTENSION (v. 6 ELS -EXTENSION)
    • Red Hat Enterprise Linux Server (v. 7 ELS)
    • Red Hat Enterprise Linux for Real Time (v. 7 ELS)

    60 more entries in the full advisory.

    Source-reported affected versions
    • kernel-0:4.18.0-553.123.1.el8_10
    • kernel-0:4.18.0-372.190.1.el8_6
    • kernel-0:4.18.0-477.139.1.el8_8
    • kernel-0:6.12.0-55.72.1.el10_0

    8 more entries in the full advisory.

    Source-reported fixed versions
    • RHSA-2026:13936
    Mitigation guidance
    • Update the affected package(s) to the fixed version shipped in RHSA-2026:13936 (`sudo dnf update` / `yum update`).

References

Timeline

  1. First vendor advisory listed by VulniPulse
  2. CVE record published
  3. CVE record last updated

All NetApp advisories

Get an email when NetApp publishes the next one.

See NetApp's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro (first month US$5).

Alert me about NetApp