{"id":"CVE-2023-52735","aliases":["CVE-2023-52735"],"related":[],"kind":"vulnerability","state":"published","title":"bpf, sockmap: Don't let sock_map_{close,destroy,unhash} call itself","summary":"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/","summarySource":"cvelist","descriptions":[{"lang":"en","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/","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: bpf, sockmap: no permita que sock_map_{close,destroy,unhash} se llame a sí mismo. Las devoluciones de llamada del proto sock_map nunca deberían llamarse a sí mismas por diseño. Protéjase contra bugs como [1] y salga del bucle recursivo para evitar un desbordamiento de la pila que favorezca una fuga de recursos. [1] https://lore.kernel.org/all/00000000000073b14905ef2e7401@google.com/","source":"nvd"}],"published":"2024-05-21T15:22:59.893Z","modified":"2026-11-24T18:05:05.917Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-120"],"affected":[{"ranges":[{"type":"git","introduced":"c5cc0d23c5414d23438c5024890e367cc5a0e645","fixed":"f312367f5246e04df564d341044286e9e37a97ba","status":"affected"},{"type":"git","introduced":"c5d2177a72a1659554922728fc407f59950aa929","fixed":"7499859881488da97589f3c79cc66fa75748ad49","status":"affected"},{"type":"git","introduced":"c5d2177a72a1659554922728fc407f59950aa929","fixed":"5b4a79ba65a1ab479903fff2e604865d229b70a9","status":"affected"},{"type":"git","version":"0580e47c8895a4d61ee095f086cba1ded7ca5e7f","status":"affected"},{"type":"semver","introduced":"5.15.3","fixed":"5.15.95","status":"affected"},{"type":"semver","introduced":"5.14.19","fixed":"5.15","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.16","status":"unaffected"},{"type":"semver","introduced":"5.15.95","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.13","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"1da177e4c3f4","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"5.15.95","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"6.1.13","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"6.2","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.14.19","fixed":"5.15"},{"status":"affected","introduced":"5.15.3","fixed":"5.15.95"},{"status":"affected","introduced":"5.16","fixed":"6.1.13"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/f312367f5246e04df564d341044286e9e37a97ba","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7499859881488da97589f3c79cc66fa75748ad49","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5b4a79ba65a1ab479903fff2e604865d229b70a9","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-01-16T20:47:22.743Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-52735","url":"https://www.cve.org/CVERecord?id=CVE-2023-52735","licence":"CVE Terms of Use","modified":"2026-05-23T15:26:46.476Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-52735","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52735","licence":"Public domain","modified":"2026-11-24T18:05:05.917Z"}],"updatedAt":"2026-11-25T22:58:33.991Z","epss":{"score":0.01229,"percentile":0.69737,"date":"2026-12-01T12:00:22.000Z"}}