NFSD: Initialize struct nfsd4_copy earlier
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ aadc3bbea163b6caaaebfdd2b6c4667fbc726752 · < 63fab04cbd0f96191b6e5beedc3b643b01c15889| No fix yet |
| Linux Linux |
| No fix yet |
In the Linux kernel, the following vulnerability has been resolved:
NFSD: Initialize struct nfsd4_copy earlier
Ensure the refcount and async_copies fields are initialized early. cleanup_async_copy() will reference these fields if an error occurs in nfsd4_copy(). If they are not correctly initialized, at the very least, a refcount underflow occurs.
From the CVE record · Linux
In the Linux kernel's NFSD code, the refcount and async_copies fields of struct nfsd4_copy may not be initialized before error cleanup. If an error occurs in nfsd4_copy(), cleanup_async_copy() references those fields, causing at least a refcount underflow. The input does not specify an attacker action, access requirements, or user interaction.
Engineers running the Linux kernel should check their NFSD exposure; affected versions are not specified.