# CVE-2024-41062: bluetooth/l2cap: sync sock recv cb and release

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2024-07-29T14:57:24.352Z
- Modified: 2026-10-03T11:17:30.383Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

bluetooth/l2cap: sync sock recv cb and release

The problem occurs between the system call to close the sock and hci_rx_work,
where the former releases the sock and the latter accesses it without lock protection.

           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

If hci_rx_work processes the data that needs to be received before the sock is
closed, then everything is normal; Otherwise, the work thread may access the
released sock when receiving data.

Add a chan mutex in the rx callback of the sock to achieve synchronization between
the sock release and recv cb.

Sock is dead, so set chan data to NULL, avoid others use invalid sock pointer.

(As written by CVE List.)

## Affected

- Linux Linux: from 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa before 59a3ccd749b2550392ee531b4d727022eae4c89f; from 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa before 9c0b7d61cf3c00f87f2529b5b8b785f0f65089aa; from 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa before 605572e64cd9cebb05ed609d96cff05b50d18cdf; from 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa before b803f30ea23e0968b6c8285c42adf0d862ab2bf6; from 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa before 3b732449b78183d17178db40be3a4401cf3cd629; from 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa before 89e856e124f9ae548572c56b1b70c2255705f8fe; 3.4 (not affected: before 3.4; from 5.10.271 up to 5.10.*; from 5.15.222 up to 5.15.*; from 6.1.101 up to 6.1.*; from 6.6.42 up to 6.6.*; from 6.9.11 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: before 6.1.101; from 6.2 before 6.6.42; from 6.7 before 6.9.11; 6.10

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/59a3ccd749b2550392ee531b4d727022eae4c89f>
- <https://git.kernel.org/stable/c/9c0b7d61cf3c00f87f2529b5b8b785f0f65089aa>
- <https://git.kernel.org/stable/c/605572e64cd9cebb05ed609d96cff05b50d18cdf> (patch)
- <https://git.kernel.org/stable/c/b803f30ea23e0968b6c8285c42adf0d862ab2bf6> (patch)
- <https://git.kernel.org/stable/c/3b732449b78183d17178db40be3a4401cf3cd629> (patch)
- <https://git.kernel.org/stable/c/89e856e124f9ae548572c56b1b70c2255705f8fe> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-41062](https://www.cve.org/CVERecord?id=CVE-2024-41062), CVE Terms of Use, modified 2026-10-03
- NVD: [CVE-2024-41062](https://nvd.nist.gov/vuln/detail/CVE-2024-41062), Public domain, modified 2026-10-03

---

Page: https://cve.day/CVE-2024-41062 · Whole record: https://cve.day/CVE-2024-41062.json · Rebuilt by cve.day 2026-11-25T22:58:43.311Z
