In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: handle NULL sock pointer in l2cap_sock_alloc A NULL sock pointer is passed into l2cap_sock_alloc() when it is cal…
- CVSS
- 5.5Medium
- Chance of exploitation (EPSS)
- —
- Published
- Feb 27, 2025
- In the news
- 1 story
What to do
A moderate security flaw in Linux kernel that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Fixed in: 5.4.291, 5.10.235, 5.15.179, 6.1.129, 6.6.78, 6.12.14
Affected versions
- Linux
- 5.10.231 to before 5.10.235; 5.15.174 to before 5.15.179; 5.4.287 to before 5.4.291; 6.1.120 to before 6.1.129; 6.12.5 to before 6.12.14; 6.13; 6.6.66 to before 6.6.78
Description
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: L2CAP: handle NULL sock pointer in l2cap_sock_alloc
A NULL sock pointer is passed into l2cap_sock_alloc() when it is called
from l2cap_sock_new_connection_cb() and the error handling paths should
also be aware of it.
Seemingly a more elegant solution would be to swap bt_sock_alloc() and
l2cap_chan_create() calls since they are not interdependent to that moment
but then l2cap_chan_create() adds the soon to be deallocated and still
dummy-initialized channel to the global list accessible by many L2CAP
paths. The channel would be removed from the list in short period of time
but be a bit more straight-forward here and just check for NULL instead of
changing the order of function calls.
Found by Linux Verification Center (linuxtesting.org) with SVACE static
analysis tool.
Affected products
Get alerts for these →Timeline 6
Latest change: Siemens SIMATIC S7 Webserver API (Oct 22, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Thu, Oct 22, 2026
- AdvisorySiemens SIMATIC S7 Webserver APICISA · 12:00 UTC
- AdvisorySiemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFPCISA · 12:00 UTC
- AdvisorySiemens SIMATIC IPCsCISA · 12:00 UTC
- AdvisorySiemens SIMATIC S7 PLCs Web ServerCISA · 12:00 UTC
- AdvisorySiemens SIMATIC S7-1500 TM MFPCISA · 12:00 UTC
Thu, Feb 27, 2025
- CVECVE-2024-58009 published (CVSS 5.5)CVE Program · 03:15 UTC
References 11
- git.kernel.org Patch /stable/c/245d48c1ba3e7a1779c2f4cbc6f581ddc8a78e22
- git.kernel.org Patch /stable/c/297ce7f544aa675b0d136d788cad0710cdfb0785
- git.kernel.org Patch /stable/c/49c0d55d59662430f1829ae85b969619573d0fa1
- git.kernel.org Patch /stable/c/5f397409f8ee5bc82901eeaf799e1cbc4f8edcf1
- git.kernel.org Patch /stable/c/691218a50c3139f7f57ffa79fb89d932eda9571e
- git.kernel.org Patch /stable/c/8e605f580a97530e5a3583beea458a3fa4cbefbd
- git.kernel.org Patch /stable/c/a9a7672fc1a0fe18502493936ccb06413ab89ea6
- git.kernel.org Patch /stable/c/cf601a24120c674cd7c907ea695f92617af6abd0
- lists.debian.org /debian-lts-announce/2025/03/msg00028.html
- cert-portal.siemens.com /productcert/html/ssa-265688.html
- cert-portal.siemens.com /productcert/html/ssa-784472.html