9.1critical
bpf, sockmap: Don't let sock_map_{close,destroy,unhash} call itself
- Severity
- 9.1critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.23% (higher than 69% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: bpf, sockmap: Don't let sock_map_{close,destroy,unhash} call itself sock_map proto callbacks should never call themselves by design. Protect against bugs like [1] and break out of the recursive loop to avoid a stack overflow in favor of a resource leak. [1] https://lore.kernel.org/all/00000000000073b14905ef2e7401@google.com/
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from c5cc0d23c5414d23438c5024890e367cc5a0e645 before f312367f5246e04df564d341044286e9e37a97ba, from c5d2177a72a1659554922728fc407f59950aa929 before 7499859881488da97589f3c79cc66fa75748ad49, from c5d2177a72a1659554922728fc407f59950aa929 before 5b4a79ba65a1ab479903fff2e604865d229b70a9, 0580e47c8895a4d61ee095f086cba1ded7ca5e7f, from 5.15.3 before 5.15.95, from 5.14.19 before 5.15, 5.16 Not affected: before 5.16, from 5.15.95 up to 5.15.*, from 6.1.13 up to 6.1.*, from 6.2 up to * | CVE List |
| linux linux_kernel | 1da177e4c3f4, from 5.14.19 before 5.15, from 5.15.3 before 5.15.95, from 5.16 before 6.1.13, 6.2 Not affected: 5.15.95, 6.1.13, 6.2 | CVE List, NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: bpf, sockmap: Don't let sock_map_{close,destroy,unhash} call itself sock_map proto callbacks should never call themselves by design. Protect against bugs like [1] and break out of the recursive loop to avoid a stack overflow in favor of a resource leak. [1] https://lore.kernel.org/all/00000000000073b14905ef2e7401@google.com/
NVD (es)
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/
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-52735 changed 2026-05-23 | CVE Terms of Use |
| NVD | CVE-2023-52735 changed 2026-11-24 | Public domain |