VDB

CVE-2024-41062

CVE-2024-41062 PUBLISHED CVSS 8.8 HIGH

bluetooth/l2cap: sync sock recv cb and release

Reported by linux · Published July 29, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxb803f30ea23e0968b6c8285c42adf0d862ab2bf6, 9c0b7d61cf3c00f87f2529b5b8b785f0f65089aa, 89e856e124f9ae548572c56b1b70c2255705f8fe, 605572e64cd9cebb05ed609d96cff05b50d18cdf, 59a3ccd749b2550392ee531b4d727022eae4c89f, 3b732449b78183d17178db40be3a4401cf3cd629, 3.4

Risk scores

CVSS 3.1
8.8
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa, 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa, 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa
LinuxLinux3.4, 0, 5.10.271
LinuxLinux5.15.222, 6.6.42, 5b4cedaa14bd1fe3ca1d59c684203a6ae7747faa
linuxlinux_kernel3.4, 3.4, 3.4

Timeline

  • Jul 29, 2024 CVE Published
  • Jul 30, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (6 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Jan 7, 2026 Security Advisory (355 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (237 in total, the first dated here)
  • Nov 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-41062
vulnetix vdb fixes CVE-2024-41062

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-41062/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›