{"id":"CVE-2024-50124","state":"PUBLISHED","title":"Bluetooth: ISO: Fix UAF on iso_sock_timeout","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: ISO: Fix UAF on iso_sock_timeout\n\nconn->sk maybe have been unlinked/freed while waiting for iso_conn_lock\nso this checks if the conn->sk is still valid by checking if it part of\niso_sk_list.","publishedAt":"2024-11-05T17:10:52.434Z","updatedAt":"2026-08-05T11:41:49.895Z","severity":{"score":8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ccf74f2390d60a2f9a75ef496d2564abb478f46a","status":"affected","lessThan":"876ac72d535fa94f4ac57bba651987c6f990f646","versionType":"git"},{"version":"ccf74f2390d60a2f9a75ef496d2564abb478f46a","status":"affected","lessThan":"14bcb721d241e62fdd18f6f434a2ed2ab6e71a9b","versionType":"git"},{"version":"ccf74f2390d60a2f9a75ef496d2564abb478f46a","status":"affected","lessThan":"d75aad1d3143ca68cda52ff80ac392e1bbd84325","versionType":"git"},{"version":"ccf74f2390d60a2f9a75ef496d2564abb478f46a","status":"affected","lessThan":"246b435ad668596aa0e2bbb9d491b6413861211a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/iso.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.0","versionType":"semver"},{"version":"6.1.115","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.59","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.11.6","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/iso.c"]}],"references":["https://git.kernel.org/stable/c/876ac72d535fa94f4ac57bba651987c6f990f646","https://git.kernel.org/stable/c/14bcb721d241e62fdd18f6f434a2ed2ab6e71a9b","https://git.kernel.org/stable/c/d75aad1d3143ca68cda52ff80ac392e1bbd84325","https://git.kernel.org/stable/c/246b435ad668596aa0e2bbb9d491b6413861211a","https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"],"weaknesses":["CWE-416"],"ingestedAt":"2026-10-29T20:07:56.516Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/50xxx/CVE-2024-50124.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-50124","state":"PUBLISHED","datePublished":"2024-11-05T17:10:52.434Z","dateUpdated":"2026-08-05T11:41:49.895Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-10-21T19:36:19.954Z"},"containers":{"cna":{"title":"Bluetooth: ISO: Fix UAF on iso_sock_timeout","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: ISO: Fix UAF on iso_sock_timeout\n\nconn->sk maybe have been unlinked/freed while waiting for iso_conn_lock\nso this checks if the conn->sk is still valid by checking if it part of\niso_sk_list."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ccf74f2390d60a2f9a75ef496d2564abb478f46a","status":"affected","lessThan":"876ac72d535fa94f4ac57bba651987c6f990f646","versionType":"git"},{"version":"ccf74f2390d60a2f9a75ef496d2564abb478f46a","status":"affected","lessThan":"14bcb721d241e62fdd18f6f434a2ed2ab6e71a9b","versionType":"git"},{"version":"ccf74f2390d60a2f9a75ef496d2564abb478f46a","status":"affected","lessThan":"d75aad1d3143ca68cda52ff80ac392e1bbd84325","versionType":"git"},{"version":"ccf74f2390d60a2f9a75ef496d2564abb478f46a","status":"affected","lessThan":"246b435ad668596aa0e2bbb9d491b6413861211a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/iso.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.0","versionType":"semver"},{"version":"6.1.115","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.59","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.11.6","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/iso.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/876ac72d535fa94f4ac57bba651987c6f990f646"},{"url":"https://git.kernel.org/stable/c/14bcb721d241e62fdd18f6f434a2ed2ab6e71a9b"},{"url":"https://git.kernel.org/stable/c/d75aad1d3143ca68cda52ff80ac392e1bbd84325"},{"url":"https://git.kernel.org/stable/c/246b435ad668596aa0e2bbb9d491b6413861211a"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:A - The vulnerable `iso_conn` and its `timeout_work` exist only while a real ISO/CIS/BIS link or PA sync is established with an in-range Bluetooth LE Audio peer, and the second patched call site `iso_conn_del()` is driven directly by `iso_connect_cfm`/`iso_disconn_cfm` from adjacent-device HCI events. Bluetooth radio proximity is required, matching the Adjacent classification.\nAC:L - The attacker controls both sides of the race: `SO_SNDTIMEO` sets `sk->sk_sndtimeo`, which `iso_connect_cis()`/`iso_connect_bis()` pass verbatim to `iso_sock_set_timer()`, so the timeout work can be scheduled to fire at an arbitrarily chosen moment and raced against `close()`, and `iso_sock_clear_timer()` uses non-sync `cancel_delayed_work()` so an in-flight work item is never waited for. The sequence is freely repeatable until it wins.\nPR:L - There is no `capable()` or `CAP_NET_*` check anywhere in `bt_sock_create()`, `iso_sock_create()`, `iso_sock_bind()`, `iso_sock_listen()` or `iso_sock_connect()`, so any unprivileged local user can create BTPROTO_ISO sockets and drive the connect/close sequence that frees the socket. Only basic local account access is needed, not root.\nUI:N - The whole sequence — socket creation, `SO_SNDTIMEO`, connect/listen, close — is performed by the attacker's own process against the system Bluetooth adapter. No victim action is required.\nS:U - The use-after-free corrupts kernel heap memory within the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - `iso_proto` is registered with `proto_register(&iso_proto, 0)`, so `struct iso_pinfo` is allocated from the generic kmalloc caches; the attacker can respray the freed object and read its contents back through subsequent socket operations, giving a path to arbitrary kernel memory disclosure.\nI:H - The stale pointer is written through — `sock_hold()` performs an atomic increment on freed memory and `sk->sk_err = ETIMEDOUT` writes into it — and `sk->sk_state_change(sk)` performs an indirect call through a function pointer read from the freed object, providing a control-flow hijack primitive.\nA:H - Even without successful exploitation the UAF produces a KASAN splat, oops, or panic inside `iso_sock_timeout()` running on the system workqueue, and it can be triggered repeatedly by an unprivileged process."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T11:41:49.895Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.1.115"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.6.59"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.11.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.12"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.8,"attackVector":"LOCAL","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"id":"CVE-2024-50124","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2024-12-11T14:25:58.935460Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","lang":"en","type":"CWE","description":"CWE-416 Use After Free"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-12-11T14:58:33.796Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T22:25:43.040Z"}}]}}}