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 <[email protected]>
https://git.kernel.org/stable/c/e32ee6a61041925d1a05c14d10352dcfce9ef029
https://git.kernel.org/stable/c/d078cbf5c38de83bc31f83c47dcd2184c04a50c7
https://git.kernel.org/stable/c/c6b16e700cf4d959af524bd9d3978407ff7ce462
https://git.kernel.org/stable/c/a1afbbb5276f943ad7173d0b4c626b8c75a260da
https://git.kernel.org/stable/c/9f03f0016ff797932551881c7e06ae50e9c39134
https://git.kernel.org/stable/c/9803ab882d565a8fb2dde5999d98866d1c499dfd
https://git.kernel.org/stable/c/8d0765f86135e27f0bb5c950c136495719b4c834
https://git.kernel.org/stable/c/81821617312988096f5deccf0f7da6f888e98056
https://git.kernel.org/stable/c/3e8081ebff12bec1347deaceb6bce0765cce54df