← CVE Intelligence

CVE-2023-52735

bpf, sockmap: Don't let sock_map_{close,destroy,unhash} call itself PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected c5cc0d23c5414d23438c5024890e367cc5a0e645 before f312367f5246e04df564d341044286e9e37a97ba; affected c5d2177a72a1659554922728fc407f59950aa929 before 7499859881488da97589f3c79cc66fa75748ad49; affected c5d2177a72a1659554922728fc407f59950aa929 before 5b4a79ba65a1ab479903fff2e604865d229b70a9; affected 0580e47c8895a4d61ee095f086cba1ded7ca5e7f; affected 5.15.3 before 5.15.95; affected 5.14.19 before 5.15
Linux / Linuxaffected 5.16; unaffected 0 before 5.16; unaffected 5.15.95 through 5.15.*; unaffected 6.1.13 through 6.1.*; unaffected 6.2 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.