{"id":"CVE-2024-56604","published":"2024-12-27T14:51:09Z","modified":"2026-08-05T11:45:24Z","title":"Bluetooth: RFCOMM: avoid leaving dangling sk pointer in rfcomm_sock_alloc()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: RFCOMM: avoid leaving dangling sk pointer in rfcomm_sock_alloc()\n\nbt_sock_alloc() attaches allocated sk object to the provided sock object.\nIf rfcomm_dlc_alloc() fails, we release the sk object, but leave the\ndangling pointer in the sock object, which may cause use-after-free.\n\nFix this by swapping calls to bt_sock_alloc() and rfcomm_dlc_alloc().","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00226,"percentile":0.13507,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://git.kernel.org/stable/c/ac3eaac4cf142a15fe67be747a682b1416efeb6e","tags":[]},{"url":"https://git.kernel.org/stable/c/6021ccc2471b7b95e29b7cfc7938e042bf56e281","tags":[]},{"url":"https://git.kernel.org/stable/c/32df687e129ef0f9afcbcc914f7c32deb28fd481","tags":[]},{"url":"https://git.kernel.org/stable/c/3945c799f12b8d1f49a3b48369ca494d981ac465","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[]}],"priority":{"score":8.2,"factors":[{"name":"EPSS percentile","points":2.7},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ac3eaac4cf142a15fe67be747a682b1416efeb6e",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6021ccc2471b7b95e29b7cfc7938e042bf56e281",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 32df687e129ef0f9afcbcc914f7c32deb28fd481",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 3945c799f12b8d1f49a3b48369ca494d981ac465"]},{"vendor":"Linux","product":"Linux","versions":["2.6.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-02-11T15:42:12.765631Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-53252","exploited":false,"provenance":"source"}}