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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.46% (percentile 32, 2026-11-28)
- **Published:** 2024-07-29T14:57:24.352Z
- **Modified:** 2026-10-03T11:17:30.383Z

## Who should check

- Anyone running Linux \>= 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa, \< 59a3ccd749b2550392ee531b4d727022eae4c89f; \>= 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa, \< 9c0b7d61cf3c00f87f2529b5b8b785f0f65089aa; \>= 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa, \< 605572e64cd9cebb05ed609d96cff05b50d18cdf; \>= 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa, \< b803f30ea23e0968b6c8285c42adf0d862ab2bf6; \>= 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa, \< 3b732449b78183d17178db40be3a4401cf3cd629; \>= 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa, \< 89e856e124f9ae548572c56b1b70c2255705f8fe
- Anyone running Linux 3.4

## 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.

## Affected and fixed versions

- Linux: \>= 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa, \< 59a3ccd749b2550392ee531b4d727022eae4c89f; \>= 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa, \< 9c0b7d61cf3c00f87f2529b5b8b785f0f65089aa; \>= 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa, \< 605572e64cd9cebb05ed609d96cff05b50d18cdf; \>= 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa, \< b803f30ea23e0968b6c8285c42adf0d862ab2bf6; \>= 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa, \< 3b732449b78183d17178db40be3a4401cf3cd629; \>= 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa, \< 89e856e124f9ae548572c56b1b70c2255705f8fe (cvelist)
- Linux: 3.4 (cvelist)

## Mitigation

- Upgrade Linux to 89e856e124f9ae548572c56b1b70c2255705f8fe or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-41062. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-41062.md
Affected: Linux >= 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa, < 59a3ccd749b2550392ee531b4d727022eae4c89f; >= 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa, < 9c0b7d61cf3c00f87f2529b5b8b785f0f65089aa; >= 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa, < 605572e64cd9cebb05ed609d96cff05b50d18cdf; >= 5b4cedaa14bd1fe3ca1d59c…
Fixed in: Linux 59a3ccd749b2550392ee531b4d727022eae4c89f, Linux 9c0b7d61cf3c00f87f2529b5b8b785f0f65089aa, Linux 605572e64cd9cebb05ed609d96cff05b50d18cdf, Linux 3b732449b78183d17178db40be3a4401cf3cd629, Linux 89e856e124f9ae548572c56b1b70c2255705f8fe

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-41062 being exploited?

There is no confirmed exploitation: CVE-2024-41062 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.46% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2024-41062?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-41062?

Linux \>= 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa, \< 59a3ccd749b2550392ee531b4d727022eae4c89f; \>= 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa, \< 9c0b7d61cf3c00f87f2529b5b8b785f0f65089aa; \>= 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa, \< 605572e64cd9cebb05ed609d96cff05b50d18cdf; \>= 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa, \< b803f30ea23e0968b6c8285c42adf0d862ab2bf6; \>= 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa, \< 3b732449b78183d17178db40be3a4401cf3cd629; \>= 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa, \< 89e856e124f9ae548572c56b1b70c2255705f8fe; Linux 3.4.

### Is there a fix for CVE-2024-41062?

Yes. Fixed in Linux 59a3ccd749b2550392ee531b4d727022eae4c89f, Linux 9c0b7d61cf3c00f87f2529b5b8b785f0f65089aa, Linux 605572e64cd9cebb05ed609d96cff05b50d18cdf, Linux 3b732449b78183d17178db40be3a4401cf3cd629, Linux 89e856e124f9ae548572c56b1b70c2255705f8fe. Upgrade Linux to 89e856e124f9ae548572c56b1b70c2255705f8fe or later.

### How do I check if I'm affected by CVE-2024-41062?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://git.kernel.org/stable/c/59a3ccd749b2550392ee531b4d727022eae4c89f>
- other: <https://git.kernel.org/stable/c/9c0b7d61cf3c00f87f2529b5b8b785f0f65089aa>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-41062>

HTML: <https://flawdb.com/CVE-2024-41062> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-41062>
