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

Published Apr 3, 2026
·
Updated

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 (rpibuf[NFSD4REPLAYISIZE]) 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 (NFS4OPAQUELIMIT).

When a LOCK operation is denied due to a conflict with an existing lock that has a large owner, nfsd4encodeoperation() copies the full encoded response into the undersized replay buffer via readbytesfromxdrbuf() 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 NFSD4REPLAYISIZE 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 NFSD4REPLAYISIZE before copying into the replay buffer. If the response is too large, set rpbuflen 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.

Affected Software

264 affected componentsFixes available
Linux Linux kernel (nfsd)
IBM Verify Identity Access<=11.0 - 11.0.2
IBM Security Verify Access<=10.0 - 10.0.9.1
IBM Verify Identity Access Container<=11.0 - 11.0.2
IBM Security Verify Access Container<=10.0 - 10.0.9.1
Linux Linux kernel>=2.6.12.1<5.10.253
Linux Linux kernel>=5.11<6.1.167
Linux Linux kernel>=6.2<6.6.130
Linux Linux kernel>=6.7<6.12.78
Linux Linux kernel>=6.13<6.18.20
Linux Linux kernel>=6.19<6.19.10
Linux Linux kernel=2.6.12
Linux Linux kernel=2.6.12-rc2
Linux Linux kernel=2.6.12-rc3
Linux Linux kernel=2.6.12-rc4
Linux Linux kernel=2.6.12-rc5
Linux Linux kernel=7.0-rc1
Linux Linux kernel=7.0-rc2
Linux Linux kernel=7.0-rc3
Linux Linux kernel=7.0-rc4
ubuntu/linux<3.13.0-214.265
3.13.0-214.265
ubuntu/linux-aws<4.4.0-1156.162
4.4.0-1156.162
ubuntu/linux-azure<4.15.0-1205.220~14.04.1
4.15.0-1205.220~14.04.1
ubuntu/linux-lts-xenial<4.4.0-283.317~14.04.1
4.4.0-283.317~14.04.1
ubuntu/linux<4.4.0-283.317
4.4.0-283.317
ubuntu/linux-aws<4.4.0-1194.209
4.4.0-1194.209
ubuntu/linux-aws-hwe<4.15.0-1194.207~16.04.1
4.15.0-1194.207~16.04.1
ubuntu/linux-azure<4.15.0-1204.219~16.04.1
4.15.0-1204.219~16.04.1
ubuntu/linux-gcp<4.15.0-1187.204~16.04.1
4.15.0-1187.204~16.04.1
ubuntu/linux-hwe<4.15.0-253.265~16.04.1
4.15.0-253.265~16.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux-kvm<4.4.0-1157.168
4.4.0-1157.168
ubuntu/linux-oracle<4.15.0-1156.167~16.04.1
4.15.0-1156.167~16.04.1
ubuntu/linux-fips<4.4.0-1126.133
4.4.0-1126.133
ubuntu/linux-fips*
ubuntu/linux<4.15.0-253.265
4.15.0-253.265
ubuntu/linux-aws<4.15.0-1194.207
4.15.0-1194.207
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-aws-5.4<5.4.0-1161.172~18.04.1
5.4.0-1161.172~18.04.1
ubuntu/linux-azure*
ubuntu/linux-azure-4.15<4.15.0-1204.219
4.15.0-1204.219
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-5.4<5.4.0-1166.172~18.04.1
5.4.0-1166.172~18.04.1
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-4.15<4.15.0-1187.204
4.15.0-1187.204
ubuntu/linux-gcp-5.3*
ubuntu/linux-gcp-5.4<5.4.0-1164.173~18.04.1
5.4.0-1164.173~18.04.1
ubuntu/linux-gke-4.15*
ubuntu/linux-gke-5.4*
ubuntu/linux-gkeop-5.4*
ubuntu/linux-hwe*
ubuntu/linux-hwe-5.4<5.4.0-233.253~18.04.1
5.4.0-233.253~18.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux-ibm-5.4<5.4.0-1107.112~18.04.1
5.4.0-1107.112~18.04.1
ubuntu/linux-kvm<4.15.0-1176.181
4.15.0-1176.181
ubuntu/linux-oem*
ubuntu/linux-oracle<4.15.0-1156.167
4.15.0-1156.167
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-oracle-5.4<5.4.0-1159.169~18.04.1
5.4.0-1159.169~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1144.157~18.04.1
5.4.0-1144.157~18.04.1
ubuntu/linux-aws-fips<4.15.0-2132.138
4.15.0-2132.138
ubuntu/linux-azure-fips<4.15.0-2112.118
4.15.0-2112.118
ubuntu/linux-fips<4.15.0-1149.161
4.15.0-1149.161
ubuntu/linux-gcp-fips<4.15.0-2095.101
4.15.0-2095.101
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.4.0-233.253
5.4.0-233.253
ubuntu/linux-aws<5.4.0-1161.172
5.4.0-1161.172
ubuntu/linux-aws-5.11*
ubuntu/linux-aws-5.13*
ubuntu/linux-aws-5.15<5.15.0-1111.118~20.04.1
5.15.0-1111.118~20.04.1
ubuntu/linux-aws-5.8*
ubuntu/linux-azure<5.4.0-1166.172
5.4.0-1166.172
ubuntu/linux-azure-5.11*
ubuntu/linux-azure-5.13*
ubuntu/linux-azure-5.15<5.15.0-1116.125~20.04.1
5.15.0-1116.125~20.04.1
ubuntu/linux-azure-5.8*
ubuntu/linux-azure-fde*
ubuntu/linux-azure-fde-5.15<5.15.0-1116.125~20.04.1
5.15.0-1116.125~20.04.1
ubuntu/linux-bluefield<5.4.0-1120.127
5.4.0-1120.127
ubuntu/linux-gcp<5.4.0-1164.173
5.4.0-1164.173
ubuntu/linux-gcp-5.11*
ubuntu/linux-gcp-5.13*
ubuntu/linux-gcp-5.15<5.15.0-1111.121~20.04.1
5.15.0-1111.121~20.04.1
ubuntu/linux-gcp-5.8*
ubuntu/linux-gke*
ubuntu/linux-gke-5.15*
ubuntu/linux-gkeop*
ubuntu/linux-gkeop-5.15*
ubuntu/linux-hwe-5.11*
ubuntu/linux-hwe-5.13*
ubuntu/linux-hwe-5.15<5.15.0-185.195~20.04.1
5.15.0-185.195~20.04.1
ubuntu/linux-hwe-5.8*
ubuntu/linux-ibm<5.4.0-1107.112
5.4.0-1107.112
ubuntu/linux-ibm-5.15<5.15.0-1105.109~20.04.1
5.15.0-1105.109~20.04.1
ubuntu/linux-intel-5.13*
ubuntu/linux-intel-iotg-5.15<5.15.0-1106.112~20.04.1
5.15.0-1106.112~20.04.1
ubuntu/linux-iot<5.4.0-1065.68
5.4.0-1065.68
ubuntu/linux-kvm<5.4.0-1149.158
5.4.0-1149.158
ubuntu/linux-lowlatency-hwe-5.15<5.15.0-183.193~20.04.1
5.15.0-183.193~20.04.1
ubuntu/linux-nvidia-tegra-5.15<5.15.0-1063.63~20.04.1
5.15.0-1063.63~20.04.1
ubuntu/linux-oem-5.10*
ubuntu/linux-oem-5.13*
ubuntu/linux-oem-5.6*
ubuntu/linux-oracle<5.4.0-1159.169
5.4.0-1159.169
ubuntu/linux-oracle-5.11*
ubuntu/linux-oracle-5.13*
ubuntu/linux-oracle-5.15<5.15.0-1108.114~20.04.1
5.15.0-1108.114~20.04.1
ubuntu/linux-oracle-5.8*
ubuntu/linux-raspi<5.4.0-1144.157
5.4.0-1144.157
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.11*
ubuntu/linux-riscv-5.15<5.15.0-1105.109~20.04.1
5.15.0-1105.109~20.04.1
ubuntu/linux-riscv-5.8*
ubuntu/linux-xilinx-zynqmp<5.4.0-1079.83
5.4.0-1079.83
ubuntu/linux-aws-fips<5.4.0-1161.172+fips1
5.4.0-1161.172+fips1
ubuntu/linux-azure-fips<5.4.0-1166.172+fips1
5.4.0-1166.172+fips1
ubuntu/linux-fips<5.4.0-1135.145
5.4.0-1135.145
ubuntu/linux-gcp-fips<5.4.0-1164.173+fips1
5.4.0-1164.173+fips1
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.15.0-185.195
5.15.0-185.195
ubuntu/linux-allwinner-5.19*
ubuntu/linux-aws<5.15.0-1111.118
5.15.0-1111.118
ubuntu/linux-aws-5.19*
ubuntu/linux-aws-6.2*
ubuntu/linux-aws-6.5*
ubuntu/linux-aws-6.8<6.8.0-1060.63~22.04.1
6.8.0-1060.63~22.04.1
ubuntu/linux-azure<5.15.0-1116.125
5.15.0-1116.125
ubuntu/linux-azure-5.19*
ubuntu/linux-azure-6.2*
ubuntu/linux-azure-6.5*
ubuntu/linux-azure-6.8<6.8.0-1063.71~22.04.1
6.8.0-1063.71~22.04.1
ubuntu/linux-azure-fde<5.15.0-1116.125
5.15.0-1116.125
ubuntu/linux-azure-fde-5.19*
ubuntu/linux-azure-fde-6.2*
ubuntu/linux-azure-fde-6.8<6.8.0-1062.69~22.04.1
6.8.0-1062.69~22.04.1
ubuntu/linux-gcp<5.15.0-1111.121
5.15.0-1111.121
ubuntu/linux-gcp-5.19*
ubuntu/linux-gcp-6.2*
ubuntu/linux-gcp-6.5*
ubuntu/linux-gcp-6.8<6.8.0-1063.69~22.04.1
6.8.0-1063.69~22.04.1
ubuntu/linux-gke<5.15.0-1107.113
5.15.0-1107.113
ubuntu/linux-gkeop<5.15.0-1094.102
5.15.0-1094.102
ubuntu/linux-hwe-5.19*
ubuntu/linux-hwe-6.2*
ubuntu/linux-hwe-6.5*
ubuntu/linux-hwe-6.8<6.8.0-136.136~22.04.1
6.8.0-136.136~22.04.1
ubuntu/linux-ibm<5.15.0-1105.109
5.15.0-1105.109
ubuntu/linux-ibm-6.8<6.8.0-1060.61~22.04.1
6.8.0-1060.61~22.04.1
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-intel-iotg<5.15.0-1106.112
5.15.0-1106.112
ubuntu/linux-kvm<5.15.0-1103.108
5.15.0-1103.108
ubuntu/linux-lowlatency<5.15.0-183.193
5.15.0-183.193
ubuntu/linux-lowlatency-hwe-5.19*
ubuntu/linux-lowlatency-hwe-6.2*
ubuntu/linux-lowlatency-hwe-6.5*
ubuntu/linux-lowlatency-hwe-6.8<6.8.0-134.134.1~22.04.1
6.8.0-134.134.1~22.04.1
ubuntu/linux-nvidia<5.15.0-1106.107
5.15.0-1106.107
ubuntu/linux-nvidia-6.2*
ubuntu/linux-nvidia-6.5*
ubuntu/linux-nvidia-6.8<6.8.0-1058.61~22.04.1
6.8.0-1058.61~22.04.1
ubuntu/linux-nvidia-tegra<5.15.0-1063.63
5.15.0-1063.63
ubuntu/linux-nvidia-tegra-igx<5.15.0-1052.52
5.15.0-1052.52
ubuntu/linux-oem-5.17*
ubuntu/linux-oem-6.0*
ubuntu/linux-oem-6.1*
ubuntu/linux-oem-6.5*
ubuntu/linux-oracle<5.15.0-1108.114
5.15.0-1108.114
ubuntu/linux-oracle-6.5*
ubuntu/linux-oracle-6.8<6.8.0-1057.58~22.04.1
6.8.0-1057.58~22.04.1
ubuntu/linux-raspi<5.15.0-1105.108
5.15.0-1105.108
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.19*
ubuntu/linux-riscv-6.5*
ubuntu/linux-riscv-6.8<6.8.0-134.134~22.04.1
6.8.0-134.134~22.04.1
ubuntu/linux-starfive-5.19*
ubuntu/linux-starfive-6.2*
ubuntu/linux-starfive-6.5*
ubuntu/linux-xilinx-zynqmp<5.15.0-1074.78
5.15.0-1074.78
ubuntu/linux-bluefield<5.15.0-1095.97
5.15.0-1095.97
ubuntu/linux-intel-iot-realtime<5.15.0-1103.105
5.15.0-1103.105
ubuntu/linux-realtime<5.15.0-1110.119
5.15.0-1110.119
ubuntu/linux-realtime-6.8<6.8.1-1055.56~22.04.1
6.8.1-1055.56~22.04.1
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-aws-fips<5.15.0-1111.118+fips1
5.15.0-1111.118+fips1
ubuntu/linux-azure-fips<5.15.0-1116.125+fips1
5.15.0-1116.125+fips1
ubuntu/linux-fips<5.15.0-185.195+fips1
5.15.0-185.195+fips1
ubuntu/linux-gcp-fips<5.15.0-1111.121+fips1
5.15.0-1111.121+fips1
ubuntu/linux<6.8.0-134.134
6.8.0-134.134
ubuntu/linux-aws<6.8.0-1060.63
6.8.0-1060.63
ubuntu/linux-aws-6.14*
ubuntu/linux-aws-6.17<6.17.0-1019.19~24.04.1
6.17.0-1019.19~24.04.1
ubuntu/linux-azure<6.8.0-1063.71
6.8.0-1063.71
ubuntu/linux-azure-6.11*
ubuntu/linux-azure-6.14*
ubuntu/linux-azure-6.17<6.17.0-1021.21~24.04.1
6.17.0-1021.21~24.04.1
ubuntu/linux-azure-fde<6.8.0-1062.69
6.8.0-1062.69
ubuntu/linux-azure-fde-6.14*
ubuntu/linux-azure-nvidia*
ubuntu/linux-azure-nvidia-6.14*
ubuntu/linux-gcp<6.8.0-1063.69
6.8.0-1063.69
ubuntu/linux-gcp-6.11*
ubuntu/linux-gcp-6.14*
ubuntu/linux-gcp-6.17<6.17.0-1020.22~24.04.1
6.17.0-1020.22~24.04.1
ubuntu/linux-gke<6.8.0-1058.64
6.8.0-1058.64
ubuntu/linux-gkeop<6.8.0-1045.48
6.8.0-1045.48
ubuntu/linux-hwe-6.11*
ubuntu/linux-hwe-6.14*
ubuntu/linux-hwe-6.17<6.17.0-40.40~24.04.1
6.17.0-40.40~24.04.1
ubuntu/linux-ibm<6.8.0-1060.61
6.8.0-1060.61
ubuntu/linux-lowlatency<6.8.0-134.134.1
6.8.0-134.134.1
ubuntu/linux-lowlatency-hwe-6.11*
ubuntu/linux-nvidia<6.8.0-1058.61
6.8.0-1058.61
ubuntu/linux-nvidia-6.11*
ubuntu/linux-nvidia-6.17<6.17.0-1026.26
6.17.0-1026.26
ubuntu/linux-nvidia-lowlatency<6.8.0-1058.61.1
6.8.0-1058.61.1
ubuntu/linux-nvidia-tegra<6.8.0-1029.30
6.8.0-1029.30
ubuntu/linux-oem-6.11*
ubuntu/linux-oem-6.14*
ubuntu/linux-oem-6.17<6.17.0-1028.28
6.17.0-1028.28
ubuntu/linux-oem-6.8*
ubuntu/linux-oracle<6.8.0-1057.58
6.8.0-1057.58
ubuntu/linux-oracle-6.14*
ubuntu/linux-oracle-6.17<6.17.0-1018.18~24.04.1
6.17.0-1018.18~24.04.1
ubuntu/linux-raspi<6.8.0-1060.64
6.8.0-1060.64
ubuntu/linux-raspi-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-riscv-6.14*
ubuntu/linux-riscv-6.17*
ubuntu/linux-vmware<6.8.0-1008.8
6.8.0-1008.8
ubuntu/linux-xilinx<6.8.0-1032.33
6.8.0-1032.33
ubuntu/linux-bluefield<6.8.0-1026.30
6.8.0-1026.30
ubuntu/linux-raspi-realtime<6.8.0-2049.50
6.8.0-2049.50
ubuntu/linux-realtime<6.8.1-1055.56
6.8.1-1055.56
ubuntu/linux-realtime-6.14*
ubuntu/linux-realtime-6.17<6.17.0-1017.19~24.04.1
6.17.0-1017.19~24.04.1
ubuntu/linux-aws-fips<6.8.0-1060.63+fips1
6.8.0-1060.63+fips1
ubuntu/linux-azure-fips<6.8.0-1062.69+fips1
6.8.0-1062.69+fips1
ubuntu/linux-fips<6.8.0-134.134+fips1
6.8.0-134.134+fips1
ubuntu/linux-gcp-fips<6.8.0-1063.69+fips1
6.8.0-1063.69+fips1
ubuntu/linux<6.17.0-40.40
6.17.0-40.40
ubuntu/linux-aws<6.17.0-1019.19
6.17.0-1019.19
ubuntu/linux-azure*
ubuntu/linux-azure-fde*
ubuntu/linux-gcp<6.17.0-1020.22
6.17.0-1020.22
ubuntu/linux-oracle<6.17.0-1018.18
6.17.0-1018.18
ubuntu/linux-raspi<6.17.0-1021.21
6.17.0-1021.21
ubuntu/linux-realtime<6.17.0-1017.19
6.17.0-1017.19
ubuntu/linux-riscv<6.17.0-40.40.1
6.17.0-40.40.1
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.15-17.3.3-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 3.13.0-214.265
  2. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1156.162
  3. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1205.220~14.04.1
  4. Upgrade

    Upgrade ubuntu/linux-lts-xenial to a version that resolves this vulnerability.

    Fixed in 4.4.0-283.317~14.04.1
  5. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.4.0-283.317
  6. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1194.209
  7. Upgrade

    Upgrade ubuntu/linux-aws-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-1194.207~16.04.1
  8. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1204.219~16.04.1
  9. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 4.15.0-1187.204~16.04.1
  10. Upgrade

    Upgrade ubuntu/linux-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-253.265~16.04.1
  11. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.4.0-1157.168
  12. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1156.167~16.04.1
  13. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 4.4.0-1126.133
  14. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.15.0-253.265
  15. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.15.0-1194.207
  16. Upgrade

    Upgrade ubuntu/linux-aws-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1161.172~18.04.1
  17. Upgrade

    Upgrade ubuntu/linux-azure-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1204.219
  18. Upgrade

    Upgrade ubuntu/linux-azure-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1166.172~18.04.1
  19. Upgrade

    Upgrade ubuntu/linux-gcp-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1187.204
  20. Upgrade

    Upgrade ubuntu/linux-gcp-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1164.173~18.04.1
  21. Upgrade

    Upgrade ubuntu/linux-hwe-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-233.253~18.04.1
  22. Upgrade

    Upgrade ubuntu/linux-ibm-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1107.112~18.04.1
  23. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.15.0-1176.181
  24. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1156.167
  25. Upgrade

    Upgrade ubuntu/linux-oracle-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1159.169~18.04.1
  26. Upgrade

    Upgrade ubuntu/linux-raspi-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1144.157~18.04.1
  27. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2132.138
  28. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2112.118
  29. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-1149.161
  30. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2095.101
  31. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 5.4.0-233.253
  32. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 5.4.0-1161.172
  33. Upgrade

    Upgrade ubuntu/linux-aws-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1111.118~20.04.1
  34. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 5.4.0-1166.172
  35. Upgrade

    Upgrade ubuntu/linux-azure-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1116.125~20.04.1
  36. Upgrade

    Upgrade ubuntu/linux-azure-fde-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1116.125~20.04.1
  37. Upgrade

    Upgrade ubuntu/linux-bluefield to a version that resolves this vulnerability.

    Fixed in 5.4.0-1120.127
  38. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 5.4.0-1164.173
  39. Upgrade

    Upgrade ubuntu/linux-gcp-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1111.121~20.04.1
  40. Upgrade

    Upgrade ubuntu/linux-hwe-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-185.195~20.04.1
  41. Upgrade

    Upgrade ubuntu/linux-ibm to a version that resolves this vulnerability.

    Fixed in 5.4.0-1107.112
  42. Upgrade

    Upgrade ubuntu/linux-ibm-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1105.109~20.04.1
  43. Upgrade

    Upgrade ubuntu/linux-intel-iotg-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1106.112~20.04.1
  44. Upgrade

    Upgrade ubuntu/linux-iot to a version that resolves this vulnerability.

    Fixed in 5.4.0-1065.68
  45. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 5.4.0-1149.158
  46. Upgrade

    Upgrade ubuntu/linux-lowlatency-hwe-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-183.193~20.04.1
  47. Upgrade

    Upgrade ubuntu/linux-nvidia-tegra-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1063.63~20.04.1
  48. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 5.4.0-1159.169
  49. Upgrade

    Upgrade ubuntu/linux-oracle-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1108.114~20.04.1
  50. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 5.4.0-1144.157
  51. Upgrade

    Upgrade ubuntu/linux-riscv-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1105.109~20.04.1
  52. Upgrade

    Upgrade ubuntu/linux-xilinx-zynqmp to a version that resolves this vulnerability.

    Fixed in 5.4.0-1079.83
  53. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1161.172+fips1
  54. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1166.172+fips1
  55. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1135.145
  56. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1164.173+fips1
  57. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 5.15.0-185.195
  58. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 5.15.0-1111.118
  59. Upgrade

    Upgrade ubuntu/linux-aws-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1060.63~22.04.1
  60. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 5.15.0-1116.125
  61. Upgrade

    Upgrade ubuntu/linux-azure-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1063.71~22.04.1
  62. Upgrade

    Upgrade ubuntu/linux-azure-fde to a version that resolves this vulnerability.

    Fixed in 5.15.0-1116.125
  63. Upgrade

    Upgrade ubuntu/linux-azure-fde-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1062.69~22.04.1
  64. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 5.15.0-1111.121
  65. Upgrade

    Upgrade ubuntu/linux-gcp-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1063.69~22.04.1
  66. Upgrade

    Upgrade ubuntu/linux-gke to a version that resolves this vulnerability.

    Fixed in 5.15.0-1107.113
  67. Upgrade

    Upgrade ubuntu/linux-gkeop to a version that resolves this vulnerability.

    Fixed in 5.15.0-1094.102
  68. Upgrade

    Upgrade ubuntu/linux-hwe-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-136.136~22.04.1
  69. Upgrade

    Upgrade ubuntu/linux-ibm to a version that resolves this vulnerability.

    Fixed in 5.15.0-1105.109
  70. Upgrade

    Upgrade ubuntu/linux-ibm-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1060.61~22.04.1
  71. Upgrade

    Upgrade ubuntu/linux-intel-iotg to a version that resolves this vulnerability.

    Fixed in 5.15.0-1106.112
  72. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 5.15.0-1103.108
  73. Upgrade

    Upgrade ubuntu/linux-lowlatency to a version that resolves this vulnerability.

    Fixed in 5.15.0-183.193
  74. Upgrade

    Upgrade ubuntu/linux-lowlatency-hwe-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-134.134.1~22.04.1
  75. Upgrade

    Upgrade ubuntu/linux-nvidia to a version that resolves this vulnerability.

    Fixed in 5.15.0-1106.107
  76. Upgrade

    Upgrade ubuntu/linux-nvidia-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1058.61~22.04.1
  77. Upgrade

    Upgrade ubuntu/linux-nvidia-tegra to a version that resolves this vulnerability.

    Fixed in 5.15.0-1063.63
  78. Upgrade

    Upgrade ubuntu/linux-nvidia-tegra-igx to a version that resolves this vulnerability.

    Fixed in 5.15.0-1052.52
  79. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 5.15.0-1108.114
  80. Upgrade

    Upgrade ubuntu/linux-oracle-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-1057.58~22.04.1
  81. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 5.15.0-1105.108
  82. Upgrade

    Upgrade ubuntu/linux-riscv-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.0-134.134~22.04.1
  83. Upgrade

    Upgrade ubuntu/linux-xilinx-zynqmp to a version that resolves this vulnerability.

    Fixed in 5.15.0-1074.78
  84. Upgrade

    Upgrade ubuntu/linux-bluefield to a version that resolves this vulnerability.

    Fixed in 5.15.0-1095.97
  85. Upgrade

    Upgrade ubuntu/linux-intel-iot-realtime to a version that resolves this vulnerability.

    Fixed in 5.15.0-1103.105
  86. Upgrade

    Upgrade ubuntu/linux-realtime to a version that resolves this vulnerability.

    Fixed in 5.15.0-1110.119
  87. Upgrade

    Upgrade ubuntu/linux-realtime-6.8 to a version that resolves this vulnerability.

    Fixed in 6.8.1-1055.56~22.04.1
  88. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 5.15.0-1111.118+fips1
  89. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 5.15.0-1116.125+fips1
  90. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 5.15.0-185.195+fips1
  91. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 5.15.0-1111.121+fips1
  92. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 6.8.0-134.134
  93. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 6.8.0-1060.63
  94. Upgrade

    Upgrade ubuntu/linux-aws-6.17 to a version that resolves this vulnerability.

    Fixed in 6.17.0-1019.19~24.04.1
  95. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 6.8.0-1063.71
  96. Upgrade

    Upgrade ubuntu/linux-azure-6.17 to a version that resolves this vulnerability.

    Fixed in 6.17.0-1021.21~24.04.1
  97. Upgrade

    Upgrade ubuntu/linux-azure-fde to a version that resolves this vulnerability.

    Fixed in 6.8.0-1062.69
  98. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 6.8.0-1063.69
  99. Upgrade

    Upgrade ubuntu/linux-gcp-6.17 to a version that resolves this vulnerability.

    Fixed in 6.17.0-1020.22~24.04.1
  100. Upgrade

    Upgrade ubuntu/linux-gke to a version that resolves this vulnerability.

    Fixed in 6.8.0-1058.64
  101. Upgrade

    Upgrade ubuntu/linux-gkeop to a version that resolves this vulnerability.

    Fixed in 6.8.0-1045.48
  102. Upgrade

    Upgrade ubuntu/linux-hwe-6.17 to a version that resolves this vulnerability.

    Fixed in 6.17.0-40.40~24.04.1
  103. Upgrade

    Upgrade ubuntu/linux-ibm to a version that resolves this vulnerability.

    Fixed in 6.8.0-1060.61
  104. Upgrade

    Upgrade ubuntu/linux-lowlatency to a version that resolves this vulnerability.

    Fixed in 6.8.0-134.134.1
  105. Upgrade

    Upgrade ubuntu/linux-nvidia to a version that resolves this vulnerability.

    Fixed in 6.8.0-1058.61
  106. Upgrade

    Upgrade ubuntu/linux-nvidia-6.17 to a version that resolves this vulnerability.

    Fixed in 6.17.0-1026.26
  107. Upgrade

    Upgrade ubuntu/linux-nvidia-lowlatency to a version that resolves this vulnerability.

    Fixed in 6.8.0-1058.61.1
  108. Upgrade

    Upgrade ubuntu/linux-nvidia-tegra to a version that resolves this vulnerability.

    Fixed in 6.8.0-1029.30
  109. Upgrade

    Upgrade ubuntu/linux-oem-6.17 to a version that resolves this vulnerability.

    Fixed in 6.17.0-1028.28
  110. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 6.8.0-1057.58
  111. Upgrade

    Upgrade ubuntu/linux-oracle-6.17 to a version that resolves this vulnerability.

    Fixed in 6.17.0-1018.18~24.04.1
  112. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 6.8.0-1060.64
  113. Upgrade

    Upgrade ubuntu/linux-vmware to a version that resolves this vulnerability.

    Fixed in 6.8.0-1008.8
  114. Upgrade

    Upgrade ubuntu/linux-xilinx to a version that resolves this vulnerability.

    Fixed in 6.8.0-1032.33
  115. Upgrade

    Upgrade ubuntu/linux-bluefield to a version that resolves this vulnerability.

    Fixed in 6.8.0-1026.30
  116. Upgrade

    Upgrade ubuntu/linux-raspi-realtime to a version that resolves this vulnerability.

    Fixed in 6.8.0-2049.50
  117. Upgrade

    Upgrade ubuntu/linux-realtime to a version that resolves this vulnerability.

    Fixed in 6.8.1-1055.56
  118. Upgrade

    Upgrade ubuntu/linux-realtime-6.17 to a version that resolves this vulnerability.

    Fixed in 6.17.0-1017.19~24.04.1
  119. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 6.8.0-1060.63+fips1
  120. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 6.8.0-1062.69+fips1
  121. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 6.8.0-134.134+fips1
  122. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 6.8.0-1063.69+fips1
  123. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 6.17.0-40.40
  124. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 6.17.0-1019.19
  125. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 6.17.0-1020.22
  126. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 6.17.0-1018.18
  127. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 6.17.0-1021.21
  128. Upgrade

    Upgrade ubuntu/linux-realtime to a version that resolves this vulnerability.

    Fixed in 6.17.0-1017.19
  129. Upgrade

    Upgrade ubuntu/linux-riscv to a version that resolves this vulnerability.

    Fixed in 6.17.0-40.40.1
  130. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.15-1Fixed in 7.3.3-1
  131. Configuration

    When the encoded response exceeds NFSD4_REPLAY_ISIZE, set rp_buflen to 0 to skip caching the replay payload; check the response length before copying it into the replay buffer.

    NFSv4.0 LOCK replay cache rp_buflen = 0

Event History

Apr 3, 2026
CVE Published
via MITRE·03:16 PM
Data Sourced
via MITRE·03:16 PM
DescriptionSeverity
Data Sourced
via Red Hat·04:03 PM
DescriptionSeverityAffected Software
Data Sourced
via OSV·04:16 PM
DescriptionSeverityAffected Software
Event
via OSV·04:16 PM
Data Sourced
via NVD·04:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 9, 2026
Exploit Published
via GitHub·07:10 PM
Jul 8, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2026-31402?

CVE-2026-31402 has a high severity rating due to the heap overflow vulnerability it introduces in the NFSv4.0 LOCK replay cache.

2

How do I fix CVE-2026-31402?

To fix CVE-2026-31402, update your Linux kernel to the latest patched version that addresses this vulnerability.

3

What software is affected by CVE-2026-31402?

CVE-2026-31402 affects the Linux kernel, specifically implementations utilizing the NFSv4.0 LOCK replay cache.

4

What types of attacks can be executed using CVE-2026-31402?

CVE-2026-31402 can potentially be exploited to execute arbitrary code or crash systems through controlled heap overflow attacks.

5

When was CVE-2026-31402 disclosed?

CVE-2026-31402 was disclosed as part of a security announcement regarding vulnerabilities in the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203