CVEvulnerability
CVE-2023-52735
9.1 CRITICAL
Official page ↗
- Status
- Analyzed
- Published
- 2024-05-21
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 9.1 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- Weaknesses
- CWE-120
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]/
Affected configurations
• linux linux kernel (< 5.15.95)
• linux linux kernel (>= 5.16 < 6.1.13)
• linux linux kernel 6.2
Related
Weakness · CWE (1)
- CWE-120 Buffer Copy without Checking Size of Input weakness
References
- https://git.kernel.org/stable/c/5b4a79ba65a1ab479903fff2e604865d229b70a9 Patch
- https://git.kernel.org/stable/c/7499859881488da97589f3c79cc66fa75748ad49 Patch
- https://git.kernel.org/stable/c/f312367f5246e04df564d341044286e9e37a97ba Patch
- https://git.kernel.org/stable/c/5b4a79ba65a1ab479903fff2e604865d229b70a9 Patch
- https://git.kernel.org/stable/c/7499859881488da97589f3c79cc66fa75748ad49 Patch
- https://git.kernel.org/stable/c/f312367f5246e04df564d341044286e9e37a97ba Patch