CVE-2023-52735
Critical 9.1No known exploitationFix availablebpf, sockmap: Don't let sock_map_{close,destroy,unhash} call itself
Record last updated
CVSS score
Critical on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
No EPSS score available
CISA remediation deadline
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
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Linux | Linux | from 5.14.19 before 5.15 | 5.15 | CVE Program |
| Linux | Linux | from 5.15.3 before 5.15.95 | 5.15.95 | CVE Program |
| Linux | Linux | from c5cc0d23c5414d23438c5024890e367cc5a0e645 before f312367f5246e04df564d341044286e9e37a97ba | f312367f5246e04df564d341044286e9e37a97ba | CVE Program |
| Linux | Linux | from c5d2177a72a1659554922728fc407f59950aa929 before 5b4a79ba65a1ab479903fff2e604865d229b70a9 | 5b4a79ba65a1ab479903fff2e604865d229b70a9 | CVE Program |
| Linux | Linux | from c5d2177a72a1659554922728fc407f59950aa929 before 7499859881488da97589f3c79cc66fa75748ad49 | 7499859881488da97589f3c79cc66fa75748ad49 | CVE Program |
| Linux | Linux | 0580e47c8895a4d61ee095f086cba1ded7ca5e7f | Not documented | CVE Program |
| Linux | Linux | 5.16 | Not documented | CVE Program |
| linux | linux_kernel | from 5.14.19 before 5.15 | 5.15 | NIST NVD |
| linux | linux_kernel | from 5.15.3 before 5.15.95 | 5.15.95 | NIST NVD |
| linux | linux_kernel | from 5.16 before 6.1.13 | 6.1.13 | NIST NVD |
| linux | linux_kernel | 6.2 | Not documented | NIST NVD |
| linux | linux_kernel | 6.2 | Not documented | NIST NVD |
| linux | linux_kernel | 6.2 | Not documented | NIST NVD |
| linux | linux_kernel | 6.2 | Not documented | NIST NVD |
| linux | linux_kernel | 6.2 | Not documented | NIST NVD |
| linux | linux_kernel | 6.2 | Not documented | NIST NVD |
| Linux | Linux (unaffected) | from 5.15.95 up to and including 5.15.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.1.13 up to and including 6.1.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | 6.2 | Not documented | CVE Program |
| Linux | Linux (unaffected) | all versions before 5.16 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by Linux
Source: CVE Program (opens in a new tab)
Patch
Fix documented by NVD (reference tagged Patch)
Vendor guidance and references
- https://git.kernel.org/stable/c/5b4a79ba65a1ab479903fff2e604865d229b70a9 (opens in a new tab)patch, x_transferred
- https://git.kernel.org/stable/c/7499859881488da97589f3c79cc66fa75748ad49 (opens in a new tab)patch, x_transferred
- https://git.kernel.org/stable/c/f312367f5246e04df564d341044286e9e37a97ba (opens in a new tab)patch, x_transferred