In the Linux kernel, the following vulnerability has been resolved:
nfsd: avoid leaking pre-allocated openowner on unconfirmed retry race
When find_or_alloc_open_stateowner() encounters an unconfirmed owner, it
calls release_openowner() and sets oo = NULL. Control then falls through
past the `if (oo)` guard -- which would have freed any pre-allocated
`new` -- and unconditionally executes `new = alloc_stateowner(...)`. If
`new` was already allocated on a prior iteration, the pointer is
silently overwritten and the previous allocation (slab object + owner
name buffer) is leaked.
This requires a race: two NFSv4.0 OPEN threads with the same owner
string, where a concurrent thread inserts a new unconfirmed owner into
the hash between retry iterations. The window is narrow but repeatable
under adversarial conditions.
Fix by adding `goto retry` after `oo = NULL` so the already-allocated
`new` is reused on the next iteration rather than overwritten.
References
Configurations
Configuration 1 (hide)
|
History
29 Jul 2026, 20:33
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://git.kernel.org/stable/c/017a6150106b054cc84d1b0582d97bd3a74d4281 - Patch | |
| References | () https://git.kernel.org/stable/c/57aee7a35bb12753057c5b65d72d1f46c0e95b07 - Patch | |
| References | () https://git.kernel.org/stable/c/a10bf67fe06469a71a401f72f328237345d553c0 - Patch | |
| References | () https://git.kernel.org/stable/c/c9aefb2b5f11337c9202c5bd0c45d71198449718 - Patch | |
| CWE | CWE-401 | |
| First Time |
Linux linux Kernel
Linux |
|
| CPE | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
20 Jul 2026, 15:16
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.5 |
19 Jul 2026, 12:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-07-19 12:16
Updated : 2026-07-29 20:33
NVD link : CVE-2026-53394
Mitre link : CVE-2026-53394
CVE.ORG link : CVE-2026-53394
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-401
Missing Release of Memory after Effective Lifetime
