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.
CVSS Details
- CVSS 3.1 Base Score: 5.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linux-6.1Upgrade linux | Mar 17, 2025 | Feb 27, 2025 |
| Redhat_linux | — | Upgrade kernelNo solution existsUpgrade kernel-rt | May 20, 2025 | Feb 27, 2025 |
| Ubuntu | — | Upgrade linux-image-snapdragon-hwe-18.04Upgrade linux-image-xilinx-zynqmpUpgrade linux-image-genericUpgrade linux-image-5.4.0-1105-bluefieldUpgrade linux-image-gcp-lts-20.04Upgrade linux-image-lowlatencyUpgrade linux-image-raspi2Upgrade linux-image-lowlatency-hwe-18.04Upgrade linux-image-5.4.0-1151-azure-fipsUpgrade linux-image-5.4.0-1151-azureUpgrade linux-image-gcpUpgrade linux-image-oem-osp1Upgrade linux-image-5.4.0-1146-awsUpgrade linux-image-virtualUpgrade linux-image-generic-hwe-18.04Upgrade linux-image-oracleUpgrade linux-image-bluefieldUpgrade linux-image-5.4.0-1064-xilinx-zynqmpUpgrade linux-image-5.4.0-1149-gcpUpgrade linux-image-azureUpgrade linux-image-aws-lts-20.04Upgrade linux-image-5.4.0-1146-aws-fipsUpgrade linux-image-5.4.0-216-lowlatencyUpgrade linux-image-5.4.0-216-generic-lpaeUpgrade linux-image-5.4.0-216-genericUpgrade linux-image-gcp-fipsUpgrade linux-image-generic-lpaeUpgrade linux-image-oemUpgrade linux-image-5.4.0-1129-raspiUpgrade linux-image-azure-fipsUpgrade linux-image-virtual-hwe-18.04Upgrade linux-image-azure-lts-20.04Upgrade linux-image-5.4.0-1092-ibmUpgrade linux-image-ibm-lts-20.04Upgrade linux-image-awsUpgrade linux-image-5.4.0-1144-oracleUpgrade linux-image-raspiUpgrade linux-image-5.4.0-1051-iotUpgrade linux-image-ibmUpgrade linux-image-fipsUpgrade linux-image-5.4.0-1120-fipsUpgrade linux-image-aws-fipsUpgrade linux-image-kvmUpgrade linux-image-5.4.0-1149-gcp-fipsUpgrade linux-image-5.4.0-1133-kvmUpgrade linux-image-oracle-lts-20.04 | May 20, 2025 | Feb 27, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jul 2, 2025 | Feb 27, 2025 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub