CVE-2023-52735

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinuxc5cc0d23c5414d23438c5024890e367cc5a0e645 < f312367f5246e04df564d341044286e9e37a97baaffected
LinuxLinuxc5d2177a72a1659554922728fc407f59950aa929 < 7499859881488da97589f3c79cc66fa75748ad49affected
LinuxLinuxc5d2177a72a1659554922728fc407f59950aa929 < 5b4a79ba65a1ab479903fff2e604865d229b70a9affected
LinuxLinux0580e47c8895a4d61ee095f086cba1ded7ca5e7faffected
LinuxLinux5.15.3 < 5.15.95affected
LinuxLinux5.14.19 < 5.15affected
LinuxLinux5.16affected
LinuxLinux0 < 5.16unaffected
LinuxLinux5.15.95 <= 5.15.*unaffected
LinuxLinux6.1.13 <= 6.1.*unaffected
LinuxLinux6.2 <= *unaffected

Weaknesses

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: yes
    • Technical Impact: partial

CVE Program Container

Additional References

References