Use-after-free in Linux kernel - CVE-2026-53399

 

Use-after-free in Linux kernel - CVE-2026-53399

Published: July 21, 2026


Vulnerability identifier: #VU138859
CSH Severity: Medium
CVSS v4: 6 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-53399
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to cause a denial of service.

The vulnerability exists due to a use-after-free in the nfsd layout stateid handling in fs/nfsd/nfs4layouts.c when processing layout stateid allocation failures after a setlease error. A remote user can trigger a setlease failure and subsequent IDR walker access to dereference a dangling pointer to cause a denial of service.

The issue occurs because a published stateid remains referenced in the IDR after the associated memory is freed, and a related destructor path may access uninitialized delayed work on the same failure path.


Affected software

Linux kernel
Debian Linux
Red Hat Enterprise Linux for x86_64
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Real Time for NFV
Red Hat Enterprise Linux for Real Time
openEuler
Ubuntu
kernel (Red Hat package)
kernel-rt (Red Hat package)
bpftool-debuginfo
bpftool
kernel-debuginfo
kernel-debugsource
kernel-devel
kernel-source
kernel-tools
kernel-tools-debuginfo
kernel-tools-devel
perf
perf-debuginfo
python2-perf
python2-perf-debuginfo
python3-perf
python3-perf-debuginfo
kernel
kernel-headers
linux (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-oracle-5.15 (Ubuntu package)
linux-gcp-5.15 (Ubuntu package)
linux-gcp (Ubuntu package)
linux-azure-fde (Ubuntu package)
linux-nvidia-tegra (Ubuntu package)
linux (Debian package)
linux-oracle-7.0 (Ubuntu package)
linux-gcp-7.0 (Ubuntu package)
linux-azure (Ubuntu package)
linux-ibm (Ubuntu package)
linux-oem-7.0 (Ubuntu package)
linux-azure-7.0 (Ubuntu package)
linux-nvidia-7.0 (Ubuntu package)
linux-raspi (Ubuntu package)
linux-nvidia-bos (Ubuntu package)

How to mitigate CVE-2026-53399

Install security update from vendor's repository.

Linux kernel - update to 7.0 rc3
kernel (Red Hat package) - addressed in versions 4.18.0-553.159.1.el8_10, 6.12.0-211.50.1.el10_2
kernel-rt (Red Hat package) - update to 4.18.0-553.159.1.rt7.500.el8_10
bpftool-debuginfo - addressed in versions 4.19.90-2608.3.0.0385, 5.10.0-328.0.0.229
bpftool - addressed in versions 4.19.90-2608.3.0.0385, 5.10.0-328.0.0.229
kernel-debuginfo - addressed in versions 4.19.90-2608.3.0.0385, 5.10.0-328.0.0.229
kernel-debugsource - addressed in versions 4.19.90-2608.3.0.0385, 5.10.0-328.0.0.229
kernel-devel - addressed in versions 4.19.90-2608.3.0.0385, 5.10.0-328.0.0.229
kernel-source - addressed in versions 4.19.90-2608.3.0.0385, 5.10.0-328.0.0.229
kernel-tools - addressed in versions 4.19.90-2608.3.0.0385, 5.10.0-328.0.0.229
kernel-tools-debuginfo - addressed in versions 4.19.90-2608.3.0.0385, 5.10.0-328.0.0.229
kernel-tools-devel - addressed in versions 4.19.90-2608.3.0.0385, 5.10.0-328.0.0.229
perf - addressed in versions 4.19.90-2608.3.0.0385, 5.10.0-328.0.0.229
perf-debuginfo - addressed in versions 4.19.90-2608.3.0.0385, 5.10.0-328.0.0.229
python2-perf - update to 4.19.90-2608.3.0.0385
python2-perf-debuginfo - update to 4.19.90-2608.3.0.0385
python3-perf - addressed in versions 4.19.90-2608.3.0.0385, 5.10.0-328.0.0.229
python3-perf-debuginfo - addressed in versions 4.19.90-2608.3.0.0385, 5.10.0-328.0.0.229
kernel - addressed in versions 4.19.90-2608.3.0.0385, 5.10.0-328.0.0.229
kernel-headers - update to 5.10.0-328.0.0.229
linux (Ubuntu package) - addressed in versions 5.15.0-195.205~20.04.1, 5.15.0-195.205, 5.15.0-198.208~20.04.1, 5.15.0-198.208+fips1, 5.15.0-1080.84, 5.15.0-1100.108, 5.15.0-1109.111, 5.15.0-1109.114, 5.15.0-1111.115~20.04.1, 5.15.0-1111.115, 5.15.0-1112.118~20.04.1, 5.15.0-1112.118, 5.15.0-1113.119, 5.15.0-1114.120, 5.15.0-1116.125~20.04.1, 5.15.0-1117.124~20.04.1, 5.15.0-1117.124, 5.15.0-1117.124+fips1, 5.15.0-1122.131~20.04.1, 5.15.0-1123.132~20.04.1, 5.15.0-1123.132, 5.15.0-1123.132+fips1, 5.15.0.195.160, 5.15.0.195.205~20.04.1, 5.15.0.198.114, 5.15.0.198.171, 5.15.0.198.208~20.04.1, 5.15.0.1080.83~20.04.1, 5.15.0.1100.99, 5.15.0.1109.105, 5.15.0.1109.113, 5.15.0.1111.108, 5.15.0.1111.115~20.04.1, 5.15.0.1112.111, 5.15.0.1112.118~20.04.1, 5.15.0.1113.112, 5.15.0.1114.110, 5.15.0.1116.120, 5.15.0.1117.113, 5.15.0.1117.120, 5.15.0.1117.124~20.04.1, 5.15.0.1122.131~20.04.1, 5.15.0.1123.107, 5.15.0.1123.121, 5.15.0.1123.132~20.04.1, 7.0.0-31.31~24.04.1, 7.0.0-31.31, 7.0.0-31.31.1, 7.0.0-1006.7, 7.0.0-1011.11~24.04.1, 7.0.0-1012.12~24.04.1, 7.0.0-1012.12
linux-nvidia (Ubuntu package) - addressed in versions 5.15.0-1112.113, 5.15.0.1112.112, 7.0.0-1018.18
linux-oracle-5.15 (Ubuntu package) - addressed in versions 5.15.0-1114.120~20.04.1, 5.15.0.1114.120~20.04.1
linux-gcp-5.15 (Ubuntu package) - addressed in versions 5.15.0-1118.128~20.04.1, 5.15.0.1118.128~20.04.1
linux-gcp (Ubuntu package) - addressed in versions 5.15.0-1118.128, 5.15.0-1118.128+fips1, 5.15.0.1118.107, 5.15.0.1118.115
linux-azure-fde (Ubuntu package) - addressed in versions 5.15.0-1122.131, 5.15.0.1122.131
linux-nvidia-tegra (Ubuntu package) - update to 6.8.0-1035.38
linux (Debian package) - update to 6.12.96-1
linux-oracle-7.0 (Ubuntu package) - update to 7.0.0-1011.11~24.04.1
linux-gcp-7.0 (Ubuntu package) - update to 7.0.0-1011.11~24.04.1
linux-azure (Ubuntu package) - addressed in versions 7.0.0-1011.11, 7.0.0-1014.14
linux-ibm (Ubuntu package) - update to 7.0.0-1013.13
linux-oem-7.0 (Ubuntu package) - update to 7.0.0-1013.13
linux-azure-7.0 (Ubuntu package) - update to 7.0.0-1014.14~24.04.1
linux-nvidia-7.0 (Ubuntu package) - update to 7.0.0-1018.18~24.04.1
linux-raspi (Ubuntu package) - update to 7.0.0-1019.19
linux-nvidia-bos (Ubuntu package) - update to 7.0.0-2018.18

External References

Related Security Bulletins