CVE-2023-52735
published critical CVSS 3.1 · 9.1bpf, sockmap: Don't let sock_map_{close,destroy,unhash} call itself
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxc5cc0d23c5414d23438c5024890e367cc5a0e645 to < f312367f5246e04df564d341044286e9e37a97ba · c5d2177a72a1659554922728fc407f59950aa929 to < 7499859881488da97589f3c79cc66fa75748ad49 · c5d2177a72a1659554922728fc407f59950aa929 to < 5b4a79ba65a1ab479903fff2e604865d229b70a9 · 0580e47c8895a4d61ee095f086cba1ded7ca5e7f · 5.15.3 to < 5.15.95 · 5.14.19 to < 5.15 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.16 (affected) · 0 to < 5.16 (unaffected · semver) · 5.15.95 through 5.15.* (unaffected · semver) · 6.1.13 through 6.1.* (unaffected · semver) · 6.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| linux | — | linux_kernel1da177e4c3f4 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| linux | — | linux_kernel5.15.95 · Other versions: unknown | Unaffected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2023-015 | Fixed | Not stated | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolaarch64 | Advisory build | 7.0.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolaarch64 | Advisory build | 7.2.0-362.8.1.el9_3 | RHSA-2023:6583 |
Show 102 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| linux | — | linux_kernel6.1.13 · Other versions: unknown | Unaffected | Not stated | CISA-ADP |
| linux | — | linux_kernel6.2 · Other versions: unknown | Unaffected | Not stated | CISA-ADP |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-127 | Fixed | Not stated | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolppc64le | Advisory build | 7.0.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolppc64le | Advisory build | 7.2.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | bpftools390x | Advisory build | 7.0.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | bpftools390x | Advisory build | 7.2.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolx86_64 | Advisory build | 7.0.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolx86_64 | Advisory build | 7.2.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoaarch64 | Advisory build | 7.0.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoaarch64 | Advisory build | 7.2.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoppc64le | Advisory build | 7.0.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoppc64le | Advisory build | 7.2.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfos390x | Advisory build | 7.0.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfos390x | Advisory build | 7.2.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfox86_64 | Advisory build | 7.0.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfox86_64 | Advisory build | 7.2.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernelaarch64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernelaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernelppc64le | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernelppc64le | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernels390x | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernels390x | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernelsrc | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernelsrc | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernelx86_64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernelx86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64kaarch64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64kaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-coreaarch64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-coreaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debugaarch64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debugaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-coreaarch64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-coreaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-debuginfoaarch64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-debuginfoaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-develaarch64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-develaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-devel-matchedaarch64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-devel-matchedaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modulesaarch64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modulesaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-coreaarch64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-coreaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-extraaarch64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-extraaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debuginfoaarch64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debuginfoaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-develaarch64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-develaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-devel-matchedaarch64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-devel-matchedaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modulesaarch64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modulesaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-coreaarch64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-coreaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-extraaarch64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-extraaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-abi-stablelistsnoarch | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-abi-stablelistsnoarch | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreaarch64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreppc64le | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreppc64le | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-cores390x | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-cores390x | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-corex86_64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-corex86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugaarch64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugppc64le | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugppc64le | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugs390x | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugs390x | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugx86_64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugx86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreaarch64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreppc64le | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreppc64le | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-cores390x | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-cores390x | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-corex86_64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-corex86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoaarch64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoppc64le | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoppc64le | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfos390x | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfos390x | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfox86_64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfox86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develaarch64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develaarch64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develppc64le | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develppc64le | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devels390x | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devels390x | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develx86_64 | Advisory build | 5.14.0-284.80.1.el9_2 | RHSA-2024:5672 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develx86_64 | Advisory build | 5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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/[email protected]/
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | c5cc0d23c5414d23438c5024890e367cc5a0e645 to < f312367f5246e04df564d341044286e9e37a97ba (affected · git)c5d2177a72a1659554922728fc407f59950aa929 to < 7499859881488da97589f3c79cc66fa75748ad49 (affected · git)c5d2177a72a1659554922728fc407f59950aa929 to < 5b4a79ba65a1ab479903fff2e604865d229b70a9 (affected · git)0580e47c8895a4d61ee095f086cba1ded7ca5e7f (affected · git)5.15.3 to < 5.15.95 (affected · semver)5.14.19 to < 5.15 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 5.16 (affected)0 to < 5.16 (unaffected · semver)5.15.95 through 5.15.* (unaffected · semver)6.1.13 through 6.1.* (unaffected · semver)6.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
| linux | linux_kernel | 1da177e4c3f4 (affected)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 5.15.95 (unaffected)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 6.1.13 (unaffected)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 6.2 (unaffected)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-120 CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
References
3Provider assertions
3Linux · cna
bpf, sockmap: Don't let sock_map_{close,destroy,unhash} call itself
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- aa2d5e5542dc5183aae46ee780c684d3c6e1a6ac78175ef77d2ab93d7641c630
- Ingested
- 23 Sep 2026, 08:14:33 UTC
- Source record
- Official CVE record