Aller au contenu
9.8 Critique

CVE-2026-31402 In the Linux kernel, the following vulnerability has been resolved: nfsd: fix heap overflow in NFSv4.0 LOCK replay cache…

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.

Produits et versions touchés

Produit Versions touchées Corrigé en
Linux 7.0 premières → < 7.0 7.0
Linux 6.19 premières → < 6.19.10 6.19.10
Linux 6.18 premières → < 6.18.20 6.18.20
Linux 6.12 premières → < 6.12.78 6.12.78
Linux 6.6 premières → < 6.6.130 6.6.130
Linux 6.1 premières → < 6.1.167 6.1.167
Linux 5.15 premières → < 5.15.210 5.15.210
Linux 5.10 premières → < 5.10.253 5.10.253
Linux 2.6.12 Pas de correctif indiqué
Afficher les 71 autres branches
Produit Versions touchées Corrigé en
Red Hat Enterprise Linux Server -EXTENSION(v. 6 ELS-EXTENSION) Versions non publiées
Red Hat Enterprise Linux Server Optional -EXTENSION (v. 6 ELS -EXTENSION) Versions non publiées
Red Hat Enterprise Linux Server (v. 7 ELS) Versions non publiées
Red Hat Enterprise Linux for Real Time (v. 7 ELS) Versions non publiées
Red Hat Enterprise Linux Server Optional (v. 7 ELS) Versions non publiées
Red Hat Enterprise Linux AppStream EUS (v. 10.0) Versions non publiées
Red Hat Enterprise Linux AppStream (v. 10) Versions non publiées
Red Hat Enterprise Linux AppStream E4S (v.9.0) Versions non publiées
Red Hat Enterprise Linux AppStream E4S (v.9.2) Versions non publiées
Red Hat Enterprise Linux AppStream EUS (v.9.4) Versions non publiées
Red Hat Enterprise Linux AppStream EUS (v.9.6) Versions non publiées
Red Hat Enterprise Linux AppStream (v. 9) Versions non publiées
Red Hat Enterprise Linux BaseOS EUS (v. 10.0) Versions non publiées
Red Hat Enterprise Linux BaseOS (v. 10) Versions non publiées
Red Hat Enterprise Linux BaseOS (v. 8) Versions non publiées
Red Hat Enterprise Linux BaseOS AUS (v.8.4) Versions non publiées
Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) Versions non publiées
Red Hat Enterprise Linux BaseOS AUS (v.8.6) Versions non publiées
Red Hat Enterprise Linux BaseOS E4S (v.8.6) Versions non publiées
Red Hat Enterprise Linux BaseOS TUS (v.8.6) Versions non publiées
Red Hat Enterprise Linux BaseOS E4S (v.8.8) Versions non publiées
Red Hat Enterprise Linux BaseOS TUS (v.8.8) Versions non publiées
Red Hat Enterprise Linux BaseOS E4S (v.9.0) Versions non publiées
Red Hat Enterprise Linux BaseOS E4S (v.9.2) Versions non publiées
Red Hat Enterprise Linux BaseOS EUS (v.9.4) Versions non publiées
Red Hat Enterprise Linux BaseOS EUS (v.9.6) Versions non publiées
Red Hat Enterprise Linux BaseOS (v. 9) Versions non publiées
Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) Versions non publiées
Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) Versions non publiées
Red Hat Enterprise Linux CRB (v. 8) Versions non publiées
Red Hat CodeReady Linux Builder EUS (v.9.4) Versions non publiées
Red Hat CodeReady Linux Builder EUS (v.9.6) Versions non publiées
Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) Versions non publiées
Red Hat Enterprise Linux Real Time for NFV EUS (v. 10.0) Versions non publiées
Red Hat Enterprise Linux Real Time for NFV (v. 10) Versions non publiées
Red Hat Enterprise Linux NFV (v. 8) Versions non publiées
Red Hat Enterprise Linux NFV E4S (v.9.0) Versions non publiées
Red Hat Enterprise Linux Real Time for NFV E4S (v.9.2) Versions non publiées
Red Hat Enterprise Linux Real Time for NFV EUS (v.9.4) Versions non publiées
Red Hat Enterprise Linux Real Time for NFV EUS (v.9.6) Versions non publiées
Red Hat Enterprise Linux Real Time for NFV (v. 9) Versions non publiées
Red Hat Enterprise Linux Real Time EUS (v. 10.0) Versions non publiées
Red Hat Enterprise Linux Real Time (v. 10) Versions non publiées
Red Hat Enterprise Linux RT (v. 8) Versions non publiées
Red Hat Enterprise Linux Real Time E4S (v.9.0) Versions non publiées
Red Hat Enterprise Linux Real Time E4S (v.9.2) Versions non publiées
Red Hat Enterprise Linux Real Time EUS (v.9.4) Versions non publiées
Red Hat Enterprise Linux Real Time EUS (v.9.6) Versions non publiées
Red Hat Enterprise Linux Real Time (v. 9) Versions non publiées
Red Hat Enterprise Linux 9 Versions non publiées
Red Hat Enterprise Linux BaseOS E4S (v.9.4) Versions non publiées
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.7 → dernières Pas de correctif indiqué
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP 3.1 3.1.7 → dernières Pas de correctif indiqué
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.7 → dernières Pas de correctif indiqué
Red Hat Enterprise Linux 10 Versions non publiées
Red Hat Enterprise Linux 10.0 Extended Update Support Versions non publiées
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION Versions non publiées
Red Hat Enterprise Linux 7 Extended Lifecycle Support Versions non publiées
Red Hat Enterprise Linux 8 Versions non publiées
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support Versions non publiées
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On Versions non publiées
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support Versions non publiées
Red Hat Enterprise Linux 8.6 Telecommunications Update Service Versions non publiées
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions Versions non publiées
Red Hat Enterprise Linux 8.8 Telecommunications Update Service Versions non publiées
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions Versions non publiées
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions Versions non publiées
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions Versions non publiées
Red Hat Enterprise Linux 9.4 Extended Update Support Versions non publiées
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions Versions non publiées
Red Hat Enterprise Linux 9.6 Extended Update Support Versions non publiées

Références

Chronologie

  1. Publiée
  2. Dernière modification
Les 18283 CVE de Linux →
Suivre cette CVE