{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-52735","id":"CVE-2023-52735","title":"bpf, sockmap: Don't let sock_map_{close,destroy,unhash} call itself","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf, sockmap: Don't let sock_map_{close,destroy,unhash} call itself\n\nsock_map proto callbacks should never call themselves by design. Protect\nagainst bugs like [1] and break out of the recursive loop to avoid a stack\noverflow in favor of a resource leak.\n\n[1] https://lore.kernel.org/all/00000000000073b14905ef2e7401@google.com/","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf, sockmap: Don't let sock_map_{close,destroy,unhash} call itself\n\nsock_map proto callbacks should never call themselves by design. Protect\nagainst bugs like [1] and break out of the recursive loop to avoid a stack\noverflow in favor of a resource leak.\n\n[1] https://lore.kernel.org/all/00000000000073b14905ef2e7401@google.com/","published":"2024-05-21T15:22:59.893Z","updated":"2026-11-17T07:00:39.761056859Z","reserved":"2024-05-21T15:19:24.232Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","rating":"critical","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c5cc0d23c5414d23438c5024890e367cc5a0e645","lessThan":"f312367f5246e04df564d341044286e9e37a97ba","status":"affected","versionType":"git"},{"version":"c5d2177a72a1659554922728fc407f59950aa929","lessThan":"7499859881488da97589f3c79cc66fa75748ad49","status":"affected","versionType":"git"},{"version":"c5d2177a72a1659554922728fc407f59950aa929","lessThan":"5b4a79ba65a1ab479903fff2e604865d229b70a9","status":"affected","versionType":"git"},{"version":"0580e47c8895a4d61ee095f086cba1ded7ca5e7f","status":"affected","versionType":"git"},{"version":"5.15.3","lessThan":"5.15.95","status":"affected","versionType":"semver"},{"version":"5.14.19","lessThan":"5.15","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.16","status":"affected"},{"version":"0","lessThan":"5.16","status":"unaffected","versionType":"semver"},{"version":"5.15.95","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.13","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-120"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/f312367f5246e04df564d341044286e9e37a97ba","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/7499859881488da97589f3c79cc66fa75748ad49","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/5b4a79ba65a1ab479903fff2e604865d229b70a9","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52735.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52735","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.01219,"epssPercentile":0.69384,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-52735","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52735","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-52735","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-52735","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}