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/
Metrics
CVSS 3.1 9.1/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= c5cc0d23c5414d23438c5024890e367cc5a0e645, < f312367f5246e04df564d341044286e9e37a97ba; >= c5d2177a72a1659554922728fc407f59950aa929, < 7499859881488da97589f3c79cc66fa75748ad49; >= c5d2177a72a1659554922728fc407f59950aa929, < 5b4a79ba65a1ab479903fff2e604865d229b70a9; 0580e47c8895a4d61ee095f086cba1ded7ca5e7f; >= 5.15.3, < 5.15.95; >= 5.14.19, < 5.15 |
| Linux | Linux | 5.16 |
| linux | linux_kernel | 1da177e4c3f4 |
| linux | linux_kernel | — |
| linux | linux_kernel | — |
| linux | linux_kernel | — |
References
- https://git.kernel.org/stable/c/5b4a79ba65a1ab479903fff2e604865d229b70a9Patch
- https://git.kernel.org/stable/c/7499859881488da97589f3c79cc66fa75748ad49Patch
- https://git.kernel.org/stable/c/f312367f5246e04df564d341044286e9e37a97baPatch
- https://git.kernel.org/stable/c/5b4a79ba65a1ab479903fff2e604865d229b70a9Patch
- https://git.kernel.org/stable/c/7499859881488da97589f3c79cc66fa75748ad49Patch
- https://git.kernel.org/stable/c/f312367f5246e04df564d341044286e9e37a97baPatch
Timeline
- Published
- May 21, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed