nfsd: call cache_put if xdr_reserve_space returns NULL
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ddd1ea56367202f6c99135cd59de7a97af4c4ffd · < a1afbbb5276f943ad7173d0b4c626b8c75a260da| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
nfsd: call cache_put if xdr_reserve_space returns NULL
If not enough buffer space available, but idmap_lookup has triggered lookup_fn which calls cache_get and returns successfully. Then we missed to call cache_put here which pairs with cache_get.
Reviwed-by: Jeff Layton <jlayton@kernel.org>
From the CVE record · Linux
The Linux kernel’s nfsd component can miss a cache_put call after a successful idmap lookup if xdr_reserve_space returns NULL because buffer space is insufficient. The input does not establish what an attacker could do or whether exploitation requires network access, authentication, or user interaction.
Engineers running Linux kernel versions with the affected nfsd code should check their exposure; affected versions are not specified.