CVE-2023-52735

Source
https://cve.org/CVERecord?id=CVE-2023-52735
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52735.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-52735
Downstream
Related
Published
2024-05-21T15:22:59.893Z
Modified
2026-03-13T07:48:10.127161Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
bpf, sockmap: Don't let sock_map_{close,destroy,unhash} call itself
Details

In the Linux kernel, the following vulnerability has been resolved:

bpf, sockmap: Don't let sockmap{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/

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52735.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c5cc0d23c5414d23438c5024890e367cc5a0e645
Fixed
f312367f5246e04df564d341044286e9e37a97ba
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c5d2177a72a1659554922728fc407f59950aa929
Fixed
7499859881488da97589f3c79cc66fa75748ad49
Fixed
5b4a79ba65a1ab479903fff2e604865d229b70a9
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
0580e47c8895a4d61ee095f086cba1ded7ca5e7f

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52735.json"