# CVE-2026-53394: nfsd: avoid leaking pre-allocated openowner on unconfirmed retry race

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 45% of CVEs (2026-11-30)
- Published: 2026-07-19T12:01:57.261Z
- Modified: 2026-10-19T20:19:18.173Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 23df17788c6212809848f836b10c4f85b16843a5 before c9aefb2b5f11337c9202c5bd0c45d71198449718; from 23df17788c6212809848f836b10c4f85b16843a5 before 017a6150106b054cc84d1b0582d97bd3a74d4281; from 23df17788c6212809848f836b10c4f85b16843a5 before a10bf67fe06469a71a401f72f328237345d553c0; from 23df17788c6212809848f836b10c4f85b16843a5 before 57aee7a35bb12753057c5b65d72d1f46c0e95b07; 6.10 (not affected: before 6.10; from 6.12.95 up to 6.12.*; from 6.18.38 up to 6.18.*; from 7.1.3 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 6.10 before 6.12.95; from 6.13 before 6.18.38; from 6.19 before 7.1.3

## References

- <https://git.kernel.org/stable/c/c9aefb2b5f11337c9202c5bd0c45d71198449718> (patch)
- <https://git.kernel.org/stable/c/017a6150106b054cc84d1b0582d97bd3a74d4281> (patch)
- <https://git.kernel.org/stable/c/a10bf67fe06469a71a401f72f328237345d553c0> (patch)
- <https://git.kernel.org/stable/c/57aee7a35bb12753057c5b65d72d1f46c0e95b07> (patch)

## Sources

- CVE List: [CVE-2026-53394](https://www.cve.org/CVERecord?id=CVE-2026-53394), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-53394](https://nvd.nist.gov/vuln/detail/CVE-2026-53394), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-53394 · Whole record: https://cve.day/CVE-2026-53394.json · Rebuilt by cve.day 2026-11-25T22:59:28.697Z
