# CVE-2024-47737: nfsd: call cache_put if xdr_reserve_space returns NULL

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2024-10-21T12:14:07.168Z
- Modified: 2026-10-15T01:18:57.843Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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>

(As written by CVE List.)

## Affected

- Linux Linux: from ddd1ea56367202f6c99135cd59de7a97af4c4ffd before 3e8081ebff12bec1347deaceb6bce0765cce54df; from ddd1ea56367202f6c99135cd59de7a97af4c4ffd before c6b16e700cf4d959af524bd9d3978407ff7ce462; from ddd1ea56367202f6c99135cd59de7a97af4c4ffd before 9f03f0016ff797932551881c7e06ae50e9c39134; from ddd1ea56367202f6c99135cd59de7a97af4c4ffd before 9803ab882d565a8fb2dde5999d98866d1c499dfd; from ddd1ea56367202f6c99135cd59de7a97af4c4ffd before 81821617312988096f5deccf0f7da6f888e98056; from ddd1ea56367202f6c99135cd59de7a97af4c4ffd before a1afbbb5276f943ad7173d0b4c626b8c75a260da; from ddd1ea56367202f6c99135cd59de7a97af4c4ffd before e32ee6a61041925d1a05c14d10352dcfce9ef029; from ddd1ea56367202f6c99135cd59de7a97af4c4ffd before 8d0765f86135e27f0bb5c950c136495719b4c834; from ddd1ea56367202f6c99135cd59de7a97af4c4ffd before d078cbf5c38de83bc31f83c47dcd2184c04a50c7; 3.16 (not affected: before 3.16; from 4.19.323 up to 4.19.*; from 5.4.285 up to 5.4.*; from 5.10.227 up to 5.10.*; from 5.15.168 up to 5.15.*; from 6.1.113 up to 6.1.*; from 6.6.54 up to 6.6.*; from 6.10.13 up to 6.10.*; from 6.11.2 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 3.16 before 5.10.227; from 5.11 before 5.15.168; from 5.16 before 6.1.113; from 6.2 before 6.6.54; from 6.7 before 6.10.13; from 6.11 before 6.11.2

## References

- <https://git.kernel.org/stable/c/3e8081ebff12bec1347deaceb6bce0765cce54df>
- <https://git.kernel.org/stable/c/c6b16e700cf4d959af524bd9d3978407ff7ce462>
- <https://git.kernel.org/stable/c/9f03f0016ff797932551881c7e06ae50e9c39134> (patch)
- <https://git.kernel.org/stable/c/9803ab882d565a8fb2dde5999d98866d1c499dfd> (patch)
- <https://git.kernel.org/stable/c/81821617312988096f5deccf0f7da6f888e98056> (patch)
- <https://git.kernel.org/stable/c/a1afbbb5276f943ad7173d0b4c626b8c75a260da> (patch)
- <https://git.kernel.org/stable/c/e32ee6a61041925d1a05c14d10352dcfce9ef029> (patch)
- <https://git.kernel.org/stable/c/8d0765f86135e27f0bb5c950c136495719b4c834> (patch)
- <https://git.kernel.org/stable/c/d078cbf5c38de83bc31f83c47dcd2184c04a50c7> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-355557.html>

## Sources

- CVE List: [CVE-2024-47737](https://www.cve.org/CVERecord?id=CVE-2024-47737), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-47737](https://nvd.nist.gov/vuln/detail/CVE-2024-47737), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-47737 · Whole record: https://cve.day/CVE-2024-47737.json · Rebuilt by cve.day 2026-11-25T22:58:46.994Z
