# CVE-2024-56605: Bluetooth: L2CAP: do not leave dangling sk pointer on error in l2cap_sock_create()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-12-27T14:51:10.344Z
- Modified: 2026-08-05T11:45:26.035Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: L2CAP: do not leave dangling sk pointer on error in l2cap_sock_create()

bt_sock_alloc() allocates the sk object and attaches it to the provided
sock object. On error l2cap_sock_alloc() frees the sk object, but the
dangling pointer is still attached to the sock object, which may create
use-after-free in other code.

(As written by CVE List.)

## Affected

- Linux Linux: from 49dfbb9129c4edb318578de35cc45c555df37884 before f6ad641646b67f29c7578dcd6c25813c7dcbf51e; from 49dfbb9129c4edb318578de35cc45c555df37884 before daa13175a6dea312a76099066cb4cbd4fc959a84; from 49dfbb9129c4edb318578de35cc45c555df37884 before a8677028dd5123e5e525b8195483994d87123de4; from 49dfbb9129c4edb318578de35cc45c555df37884 before bb2f2342a6ddf7c04f9aefbbfe86104cd138e629; from 49dfbb9129c4edb318578de35cc45c555df37884 before 8ad09ddc63ace3950ac43db6fbfe25b40f589dd6; from 49dfbb9129c4edb318578de35cc45c555df37884 before 61686abc2f3c2c67822aa23ce6f160467ec83d35; from 49dfbb9129c4edb318578de35cc45c555df37884 before 7c4f78cdb8e7501e9f92d291a7d956591bf73be9; 3.6 (not affected: before 3.6; from 5.4.287 up to 5.4.*; from 5.10.231 up to 5.10.*; from 5.15.174 up to 5.15.*; from 6.1.120 up to 6.1.*; from 6.6.66 up to 6.6.*; from 6.12.5 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: before 5.4.287; from 5.5 before 5.10.231; from 5.11 before 5.15.174; from 5.16 before 6.1.120; from 6.2 before 6.6.66; from 6.7 before 6.12.5

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/f6ad641646b67f29c7578dcd6c25813c7dcbf51e> (patch)
- <https://git.kernel.org/stable/c/daa13175a6dea312a76099066cb4cbd4fc959a84> (patch)
- <https://git.kernel.org/stable/c/a8677028dd5123e5e525b8195483994d87123de4> (patch)
- <https://git.kernel.org/stable/c/bb2f2342a6ddf7c04f9aefbbfe86104cd138e629> (patch)
- <https://git.kernel.org/stable/c/8ad09ddc63ace3950ac43db6fbfe25b40f589dd6> (patch)
- <https://git.kernel.org/stable/c/61686abc2f3c2c67822aa23ce6f160467ec83d35> (patch)
- <https://git.kernel.org/stable/c/7c4f78cdb8e7501e9f92d291a7d956591bf73be9> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Sources

- CVE List: [CVE-2024-56605](https://www.cve.org/CVERecord?id=CVE-2024-56605), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-56605](https://nvd.nist.gov/vuln/detail/CVE-2024-56605), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-56605 · Whole record: https://cve.day/CVE-2024-56605.json · Rebuilt by cve.day 2026-11-25T22:58:50.476Z
