NFSD: Fix infinite loop in layout state revocation
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
NFSD: Fix infinite loop in layout state revocation
find_one_sb_stid() skips stids whose sc_status is non-zero, but the SC_TYPE_LAYOUT case in nfsd4_revoke_states() never sets sc_status before calling nfsd4_close_layout(). The retry loop therefore finds the same layout stid on every iteration, hanging the revoker indefinitely.
From the CVE record · Linux
A flaw in Linux kernel NFSD layout state revocation can cause the revoker to loop indefinitely when it repeatedly selects the same layout state. The input does not specify whether an attacker can trigger this, or what access or interaction would be required.
Engineers running the Linux kernel should check whether their version is affected; affected versions were not provided.