Skip to content
Threat Brief

← All advisories

CVE-2023-52735

Critical 9.1No known exploitationFix available

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

Record last updated

CVSS score

9.1

Critical on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

None

No EPSS score available

CISA remediation deadline

None

Not in the KEV catalog

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/

Weakness: CWE-120

Patching and mitigation

Patch status
Fix available (source: NVD (reference tagged Patch))
Fix documented (source date)
Mitigation
None documented
Vendor guidance
git.kernel.org (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
LinuxLinuxfrom 5.14.19 before 5.155.15CVE Program
LinuxLinuxfrom 5.15.3 before 5.15.955.15.95CVE Program
LinuxLinuxfrom c5cc0d23c5414d23438c5024890e367cc5a0e645 before f312367f5246e04df564d341044286e9e37a97baf312367f5246e04df564d341044286e9e37a97baCVE Program
LinuxLinuxfrom c5d2177a72a1659554922728fc407f59950aa929 before 5b4a79ba65a1ab479903fff2e604865d229b70a95b4a79ba65a1ab479903fff2e604865d229b70a9CVE Program
LinuxLinuxfrom c5d2177a72a1659554922728fc407f59950aa929 before 7499859881488da97589f3c79cc66fa75748ad497499859881488da97589f3c79cc66fa75748ad49CVE Program
LinuxLinux0580e47c8895a4d61ee095f086cba1ded7ca5e7fNot documentedCVE Program
LinuxLinux5.16Not documentedCVE Program
linuxlinux_kernelfrom 5.14.19 before 5.155.15NIST NVD
linuxlinux_kernelfrom 5.15.3 before 5.15.955.15.95NIST NVD
linuxlinux_kernelfrom 5.16 before 6.1.136.1.13NIST NVD
linuxlinux_kernel6.2Not documentedNIST NVD
linuxlinux_kernel6.2Not documentedNIST NVD
linuxlinux_kernel6.2Not documentedNIST NVD
linuxlinux_kernel6.2Not documentedNIST NVD
linuxlinux_kernel6.2Not documentedNIST NVD
linuxlinux_kernel6.2Not documentedNIST NVD
LinuxLinux (unaffected)from 5.15.95 up to and including 5.15.*Not documentedCVE Program
LinuxLinux (unaffected)from 6.1.13 up to and including 6.1.*Not documentedCVE Program
LinuxLinux (unaffected)6.2Not documentedCVE Program
LinuxLinux (unaffected)all versions before 5.16Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by Linux

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by NVD (reference tagged Patch)

    Source: NVD (reference tagged Patch) (opens in a new tab)

Vendor guidance and references

CVE-2023-52735: bpf, sockmap: Don't let sock_map_{close,destroy,unhash} call itself · Threat Brief