CVE-2026-74730 PUBLISHED

NFS: Pin the 'struct nfs_server' during a FREE_STATEID call

Assigner: Linux
Reserved: 15.08.2026 Published: 22.08.2026 Updated: 22.08.2026

In the Linux kernel, the following vulnerability has been resolved:

NFS: Pin the 'struct nfs_server' during a FREE_STATEID call

Dan Aloni reports that he was able to hit a use-after-free bug if a FREE_STATEID operation gets delayed for whatever reason. Fix this by bumping the refcount of the 'struct nfs_server' object for the duration of the FREE_STATEID so it doesn't get cleaned up from underneath us while operations are still in flight.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 7c1d5fae4a87d3cf3e9ffd68bcdbaf6529013009 to ed2f92ce2fc48463c41e0e540b9a3454889e8af8 (excl.)
  • affected from 7c1d5fae4a87d3cf3e9ffd68bcdbaf6529013009 to d858ab09e787106432d4d9830bad9dfedf02f890 (excl.)
  • affected from 7c1d5fae4a87d3cf3e9ffd68bcdbaf6529013009 to af62f1af182d33a0de38308c012841885d8ab92e (excl.)
  • affected from 7c1d5fae4a87d3cf3e9ffd68bcdbaf6529013009 to caee6a68ffaa5016dfc01cd0b3dc1896a32e3abd (excl.)
  • affected from 7c1d5fae4a87d3cf3e9ffd68bcdbaf6529013009 to ed1161ab6239761958b38d5667225634fc2be894 (excl.)
  • affected from 7c1d5fae4a87d3cf3e9ffd68bcdbaf6529013009 to d71dfffa512e71b166a889484e4c3b148a9a3af2 (excl.)
  • affected from 7c1d5fae4a87d3cf3e9ffd68bcdbaf6529013009 to 80ed3d762628b36c9e4b22fac7c65b72ef3b13dd (excl.)
  • affected from 7c1d5fae4a87d3cf3e9ffd68bcdbaf6529013009 to cf616096a0f3a2b60f7d68b6b39674a6867ded9c (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 3.10 is affected
  • unaffected from 0 to 3.10 (excl.)
  • unaffected from 5.10.265 to 5.10.* (incl.)
  • unaffected from 5.15.216 to 5.15.* (incl.)
  • unaffected from 6.1.183 to 6.1.* (incl.)
  • unaffected from 6.6.152 to 6.6.* (incl.)
  • unaffected from 6.12.104 to 6.12.* (incl.)
  • unaffected from 6.18.45 to 6.18.* (incl.)
  • unaffected from 7.1.9 to 7.1.* (incl.)
  • unaffected from 7.2 to * (incl.)

References