Skip to main content
← All vulnerabilities
CVE-2024-50043

nfsd: fix possible badness in FREE_STATEID

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.7, 6.11.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

In the Linux kernel, the following vulnerability has been resolved: nfsd: fix possible badness in FREE_STATEID When multiple FREE_STATEIDs are sent for the same delegation stateid, it can lead to a possible either use-after-free or counter refcount underflow errors. In nfsd4_free_stateid() under the client lock we find a delegation stateid, however the code drops the lock before calling nfs4_put_stid(), that allows another FREE_STATE to find the stateid again. The first one will proceed to then free the stateid which leads to either use-after-free or decrementing already zeroed counter.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 3f29cc82a84c23cfd12b903029dd26002ca825f5 · fixed in 7ca9e472ce5c67daa3188a348ece8c02a0765039; From 3f29cc82a84c23cfd12b903029dd26002ca825f5 · fixed in c88c150a467fcb670a1608e2272beeee3e86df6e; From 6.6.160 · fixed in 6.7

  • Linux Linux

    6.9

  • KernelLinux

    From 6.9.0 · fixed in 6.11.4

References 2

git.kernel.org