NFS: Pin the 'struct nfs_server' during a FREE_STATEID call
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 7c1d5fae4a87d3cf3e9ffd68bcdbaf6529013009 · < d71dfffa512e71b166a889484e4c3b148a9a3af2| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
A delayed FREE_STATEID operation can cause a use-after-free of struct nfs_server in the Linux kernel’s NFS code. The input does not establish whether an attacker can trigger it or specify network, authentication, or user-interaction requirements.
Engineers running the Linux kernel should check their installations; affected versions are not specified.