{"id":"CVE-2024-56605","aliases":["CVE-2024-56605"],"related":[],"kind":"vulnerability","state":"published","title":"Bluetooth: L2CAP: do not leave dangling sk pointer on error in l2cap_sock_create()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: L2CAP: do not leave dangling sk pointer on error in l2cap_sock_create()\n\nbt_sock_alloc() allocates the sk object and attaches it to the provided\nsock object. On error l2cap_sock_alloc() frees the sk object, but the\ndangling pointer is still attached to the sock object, which may create\nuse-after-free in other code.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: L2CAP: do not leave dangling sk pointer on error in l2cap_sock_create()\n\nbt_sock_alloc() allocates the sk object and attaches it to the provided\nsock object. On error l2cap_sock_alloc() frees the sk object, but the\ndangling pointer is still attached to the sock object, which may create\nuse-after-free in other code.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: Bluetooth: L2CAP: no dejar el puntero sk colgando en caso de error en l2cap_sock_create() bt_sock_alloc() asigna el objeto sk y lo adjunta al objeto sock proporcionado. En caso de error, l2cap_sock_alloc() libera el objeto sk, pero el puntero colgando sigue adjunto al objeto sock, lo que puede crear un use-after-free en otro código.","source":"nvd"}],"published":"2024-12-27T14:51:10.344Z","modified":"2026-08-05T11:45:26.035Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"49dfbb9129c4edb318578de35cc45c555df37884","fixed":"f6ad641646b67f29c7578dcd6c25813c7dcbf51e","status":"affected"},{"type":"git","introduced":"49dfbb9129c4edb318578de35cc45c555df37884","fixed":"daa13175a6dea312a76099066cb4cbd4fc959a84","status":"affected"},{"type":"git","introduced":"49dfbb9129c4edb318578de35cc45c555df37884","fixed":"a8677028dd5123e5e525b8195483994d87123de4","status":"affected"},{"type":"git","introduced":"49dfbb9129c4edb318578de35cc45c555df37884","fixed":"bb2f2342a6ddf7c04f9aefbbfe86104cd138e629","status":"affected"},{"type":"git","introduced":"49dfbb9129c4edb318578de35cc45c555df37884","fixed":"8ad09ddc63ace3950ac43db6fbfe25b40f589dd6","status":"affected"},{"type":"git","introduced":"49dfbb9129c4edb318578de35cc45c555df37884","fixed":"61686abc2f3c2c67822aa23ce6f160467ec83d35","status":"affected"},{"type":"git","introduced":"49dfbb9129c4edb318578de35cc45c555df37884","fixed":"7c4f78cdb8e7501e9f92d291a7d956591bf73be9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.6","status":"unaffected"},{"type":"semver","introduced":"5.4.287","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.231","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.174","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.120","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.66","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.5","lastAffected":"6.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.4.287"},{"status":"affected","introduced":"5.5","fixed":"5.10.231"},{"status":"affected","introduced":"5.11","fixed":"5.15.174"},{"status":"affected","introduced":"5.16","fixed":"6.1.120"},{"status":"affected","introduced":"6.2","fixed":"6.6.66"},{"status":"affected","introduced":"6.7","fixed":"6.12.5"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/f6ad641646b67f29c7578dcd6c25813c7dcbf51e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/daa13175a6dea312a76099066cb4cbd4fc959a84","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a8677028dd5123e5e525b8195483994d87123de4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bb2f2342a6ddf7c04f9aefbbfe86104cd138e629","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8ad09ddc63ace3950ac43db6fbfe25b40f589dd6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/61686abc2f3c2c67822aa23ce6f160467ec83d35","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7c4f78cdb8e7501e9f92d291a7d956591bf73be9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-02-11T15:42:08.177Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-56605","url":"https://www.cve.org/CVERecord?id=CVE-2024-56605","licence":"CVE Terms of Use","modified":"2026-08-05T11:45:26.035Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-56605","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56605","licence":"Public domain","modified":"2026-06-17T08:12:31.787Z"}],"updatedAt":"2026-11-25T22:58:50.476Z","epss":{"score":0.00243,"percentile":0.16634,"date":"2026-12-01T12:00:22.000Z"}}