{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-53174","id":"CVE-2024-53174","title":"SUNRPC: make sure cache entry active before cache_show","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nSUNRPC: make sure cache entry active before cache_show\n\nThe function `c_show` was called with protection from RCU. This only\nensures that `cp` will not be freed. Therefore, the reference count for\n`cp` can drop to zero, which will trigger a refcount use-after-free\nwarning when `cache_get` is called. To resolve this issue, use\n`ca","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nSUNRPC: make sure cache entry active before cache_show\n\nThe function `c_show` was called with protection from RCU. This only\nensures that `cp` will not be freed. Therefore, the reference count for\n`cp` can drop to zero, which will trigger a refcount use-after-free\nwarning when `cache_get` is called. To resolve this issue, use\n`cache_get_rcu` to ensure that `cp` remains active.\n\n------------[ cut here ]------------\nrefcount_t: addition on 0; use-after-free.\nWARNING: CPU: 7 PID: 822 at lib/refcount.c:25\nrefcount_warn_saturate+0xb1/0x120\nCPU: 7 UID: 0 PID: 822 Comm: cat Not tainted 6.12.0-rc3+ #1\nHardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS\n1.16.1-2.fc37 04/01/2014\nRIP: 0010:refcount_warn_saturate+0xb1/0x120\n\nCall Trace:\n <TASK>\n c_show+0x2fc/0x380 [sunrpc]\n seq_read_iter+0x589/0x770\n seq_read+0x1e5/0x270\n proc_reg_read+0xe1/0x140\n vfs_read+0x125/0x530\n ksys_read+0xc1/0x160\n do_syscall_64+0x5f/0x170\n entry_SYSCALL_64_after_hwframe+0x76/0x7e","published":"2024-12-27T13:49:18.892Z","updated":"2026-10-28T02:30:49.612907717Z","reserved":"2024-11-19T17:17:25.007Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d48cf356a13073853f19be6ca5ebbecfc2762ebe","lessThan":"e9be26735d055c42543a4d047a769cc6d0fb1504","status":"affected","versionType":"git"},{"version":"d48cf356a13073853f19be6ca5ebbecfc2762ebe","lessThan":"02999e135b013d85c6df738746e8e24699befee4","status":"affected","versionType":"git"},{"version":"d48cf356a13073853f19be6ca5ebbecfc2762ebe","lessThan":"c7dac3af57e38b2054f990e573256d90bf887958","status":"affected","versionType":"git"},{"version":"d48cf356a13073853f19be6ca5ebbecfc2762ebe","lessThan":"068c0b50f3f700b94f78850834cd91ae3b34c2c1","status":"affected","versionType":"git"},{"version":"d48cf356a13073853f19be6ca5ebbecfc2762ebe","lessThan":"acfaf37888e0f0732fb6a50ff093dce6d99994d0","status":"affected","versionType":"git"},{"version":"d48cf356a13073853f19be6ca5ebbecfc2762ebe","lessThan":"ec305f303bf070b4f6896b7a76009f702956d402","status":"affected","versionType":"git"},{"version":"d48cf356a13073853f19be6ca5ebbecfc2762ebe","lessThan":"d882e2b7fad3f5e5fac66184a347f408813f654a","status":"affected","versionType":"git"},{"version":"d48cf356a13073853f19be6ca5ebbecfc2762ebe","lessThan":"2862eee078a4d2d1f584e7f24fa50dddfa5f3471","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.20","status":"affected"},{"version":"0","lessThan":"4.20","status":"unaffected","versionType":"semver"},{"version":"5.4.287","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.231","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.174","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.120","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.64","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.11.11","lessThanOrEqual":"6.11.*","status":"unaffected","versionType":"semver"},{"version":"6.12.2","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/e9be26735d055c42543a4d047a769cc6d0fb1504","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/02999e135b013d85c6df738746e8e24699befee4","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c7dac3af57e38b2054f990e573256d90bf887958","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/068c0b50f3f700b94f78850834cd91ae3b34c2c1","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/acfaf37888e0f0732fb6a50ff093dce6d99994d0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ec305f303bf070b4f6896b7a76009f702956d402","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d882e2b7fad3f5e5fac66184a347f408813f654a","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2862eee078a4d2d1f584e7f24fa50dddfa5f3471","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53174.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53174","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00259,"epssPercentile":0.17799,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-53174","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53174","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-53174","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-53174","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}