{"id":"CVE-2023-52735","published":"2024-05-21T15:22:59Z","modified":"2026-05-23T15:26:46Z","title":"bpf, sockmap: Don't let sock_map_{close,destroy,unhash} call itself","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf, sockmap: Don't let sock_map_{close,destroy,unhash} call itself\n\nsock_map proto callbacks should never call themselves by design. Protect\nagainst bugs like [1] and break out of the recursive loop to avoid a stack\noverflow in favor of a resource leak.\n\n[1] https://lore.kernel.org/all/00000000000073b14905ef2e7401@google.com/","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01328,"percentile":0.71096,"provenance":"source"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"references":[{"url":"https://git.kernel.org/stable/c/f312367f5246e04df564d341044286e9e37a97ba","tags":[]},{"url":"https://git.kernel.org/stable/c/7499859881488da97589f3c79cc66fa75748ad49","tags":[]},{"url":"https://git.kernel.org/stable/c/5b4a79ba65a1ab479903fff2e604865d229b70a9","tags":[]}],"priority":{"score":20.6,"factors":[{"name":"EPSS percentile","points":14.22},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= c5cc0d23c5414d23438c5024890e367cc5a0e645, < f312367f5246e04df564d341044286e9e37a97ba",">= c5d2177a72a1659554922728fc407f59950aa929, < 7499859881488da97589f3c79cc66fa75748ad49",">= c5d2177a72a1659554922728fc407f59950aa929, < 5b4a79ba65a1ab479903fff2e604865d229b70a9","0580e47c8895a4d61ee095f086cba1ded7ca5e7f",">= 5.15.3, < 5.15.95",">= 5.14.19, < 5.15"]},{"vendor":"Linux","product":"Linux","versions":["5.16"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-01-16T20:47:22.743454Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-59454","exploited":false,"provenance":"source"}}