{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-56605","id":"CVE-2024-56605","title":"Bluetooth: L2CAP: do not leave dangling sk pointer on error in l2cap_sock_create()","description":"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.","descriptionLong":"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.","published":"2024-12-27T14:51:10.344Z","updated":"2026-10-28T02:30:43.797662963Z","reserved":"2024-12-27T14:03:06.013Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"49dfbb9129c4edb318578de35cc45c555df37884","lessThan":"f6ad641646b67f29c7578dcd6c25813c7dcbf51e","status":"affected","versionType":"git"},{"version":"49dfbb9129c4edb318578de35cc45c555df37884","lessThan":"daa13175a6dea312a76099066cb4cbd4fc959a84","status":"affected","versionType":"git"},{"version":"49dfbb9129c4edb318578de35cc45c555df37884","lessThan":"a8677028dd5123e5e525b8195483994d87123de4","status":"affected","versionType":"git"},{"version":"49dfbb9129c4edb318578de35cc45c555df37884","lessThan":"bb2f2342a6ddf7c04f9aefbbfe86104cd138e629","status":"affected","versionType":"git"},{"version":"49dfbb9129c4edb318578de35cc45c555df37884","lessThan":"8ad09ddc63ace3950ac43db6fbfe25b40f589dd6","status":"affected","versionType":"git"},{"version":"49dfbb9129c4edb318578de35cc45c555df37884","lessThan":"61686abc2f3c2c67822aa23ce6f160467ec83d35","status":"affected","versionType":"git"},{"version":"49dfbb9129c4edb318578de35cc45c555df37884","lessThan":"7c4f78cdb8e7501e9f92d291a7d956591bf73be9","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.6","status":"affected"},{"version":"0","lessThan":"3.6","status":"unaffected","versionType":"semver"},{"version":"5.4.287","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.231","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.174","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.120","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.66","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.5","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/f6ad641646b67f29c7578dcd6c25813c7dcbf51e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/daa13175a6dea312a76099066cb4cbd4fc959a84","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a8677028dd5123e5e525b8195483994d87123de4","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/bb2f2342a6ddf7c04f9aefbbfe86104cd138e629","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/8ad09ddc63ace3950ac43db6fbfe25b40f589dd6","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/61686abc2f3c2c67822aa23ce6f160467ec83d35","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/7c4f78cdb8e7501e9f92d291a7d956591bf73be9","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56605.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56605","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00243,"epssPercentile":0.15725,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-56605","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56605","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-56605","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-56605","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}