{"id":"CVE-2024-41062","aliases":["CVE-2024-41062"],"related":[],"kind":"vulnerability","state":"published","title":"bluetooth/l2cap: sync sock recv cb and release","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbluetooth/l2cap: sync sock recv cb and release\n\nThe problem occurs between the system call to close the sock and hci_rx_work,\nwhere the former releases the sock and the latter accesses it without lock protection.\n\n           CPU0                       CPU1\n           ----                       ----\n           sock_close                 hci_rx_work\n\t   l2cap_sock_release         hci_acldata_packet\n\t   l2cap_sock_kill            l2cap_recv_frame\n\t   sk_free                    l2cap_conless_channel\n\t                              l2cap_sock_recv_cb\n\nIf hci_rx_work processes the data that needs to be received before the sock is\nclosed, then everything is normal; Otherwise, the work thread may access the\nreleased sock when receiving data.\n\nAdd a chan mutex in the rx callback of the sock to achieve synchronization between\nthe sock release and recv cb.\n\nSock is dead, so set chan data to NULL, avoid others use invalid sock pointer.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbluetooth/l2cap: sync sock recv cb and release\n\nThe problem occurs between the system call to close the sock and hci_rx_work,\nwhere the former releases the sock and the latter accesses it without lock protection.\n\n           CPU0                       CPU1\n           ----                       ----\n           sock_close                 hci_rx_work\n\t   l2cap_sock_release         hci_acldata_packet\n\t   l2cap_sock_kill            l2cap_recv_frame\n\t   sk_free                    l2cap_conless_channel\n\t                              l2cap_sock_recv_cb\n\nIf hci_rx_work processes the data that needs to be received before the sock is\nclosed, then everything is normal; Otherwise, the work thread may access the\nreleased sock when receiving data.\n\nAdd a chan mutex in the rx callback of the sock to achieve synchronization between\nthe sock release and recv cb.\n\nSock is dead, so set chan data to NULL, avoid others use invalid sock pointer.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux se ha resuelto la siguiente vulnerabilidad: bluetooth/l2cap: sync sock recv cb and release El problema ocurre entre la llamada al sistema para cerrar el calcetín y hci_rx_work, donde el primero libera el calcetín y el segundo accede a él sin protección de bloqueo. . CPU0 CPU1 ---- ---- sock_close hci_rx_work l2cap_sock_release hci_acldata_packet l2cap_sock_kill l2cap_recv_frame sk_free l2cap_conless_channel l2cap_sock_recv_cb Si hci_rx_work procesa los datos que deben recibirse antes de cerrar el sock, entonces todo es normal; De lo contrario, el hilo de trabajo puede acceder al sock liberado al recibir datos. Agregue un mutex chan en la devolución de llamada rx del sock para lograr la sincronización entre la liberación del sock y recv cb. Sock está muerto, así que configure los datos de chan en NULL, evite que otros usen un puntero de sock no válido.","source":"nvd"}],"published":"2024-07-29T14:57:24.352Z","modified":"2026-10-03T11:17:30.383Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa","fixed":"59a3ccd749b2550392ee531b4d727022eae4c89f","status":"affected"},{"type":"git","introduced":"5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa","fixed":"9c0b7d61cf3c00f87f2529b5b8b785f0f65089aa","status":"affected"},{"type":"git","introduced":"5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa","fixed":"605572e64cd9cebb05ed609d96cff05b50d18cdf","status":"affected"},{"type":"git","introduced":"5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa","fixed":"b803f30ea23e0968b6c8285c42adf0d862ab2bf6","status":"affected"},{"type":"git","introduced":"5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa","fixed":"3b732449b78183d17178db40be3a4401cf3cd629","status":"affected"},{"type":"git","introduced":"5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa","fixed":"89e856e124f9ae548572c56b1b70c2255705f8fe","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.4","status":"unaffected"},{"type":"semver","introduced":"5.10.271","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.101","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.42","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.9.11","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","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":"6.1.101"},{"status":"affected","introduced":"6.2","fixed":"6.6.42"},{"status":"affected","introduced":"6.7","fixed":"6.9.11"},{"status":"affected","version":"6.10"},{"status":"affected","version":"6.10"},{"status":"affected","version":"6.10"},{"status":"affected","version":"6.10"},{"status":"affected","version":"6.10"},{"status":"affected","version":"6.10"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/59a3ccd749b2550392ee531b4d727022eae4c89f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9c0b7d61cf3c00f87f2529b5b8b785f0f65089aa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/605572e64cd9cebb05ed609d96cff05b50d18cdf","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b803f30ea23e0968b6c8285c42adf0d862ab2bf6","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3b732449b78183d17178db40be3a4401cf3cd629","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/89e856e124f9ae548572c56b1b70c2255705f8fe","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T16:22:05.690Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-41062","url":"https://www.cve.org/CVERecord?id=CVE-2024-41062","licence":"CVE Terms of Use","modified":"2026-10-03T10:55:10.849Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-41062","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41062","licence":"Public domain","modified":"2026-10-03T11:17:30.383Z"}],"updatedAt":"2026-11-25T22:58:43.311Z","epss":{"score":0.00312,"percentile":0.25992,"date":"2026-12-01T12:00:22.000Z"}}