In the Linux kernel, the following vulnerability has been resolved: bluetooth/l2cap: sync sock recv cb and release The problem occurs between the… (CVE-2024-41062)
A use-after-free vulnerability in the Linux kernel's Bluetooth L2CAP subsystem was resolved. The issue arises from a race condition between closing a socket and processing received data, where the work thread may access a socket after it has been released. This can lead to a denial of service due to invalid memory access. The fix involves adding synchronization via a mutex to prevent concurrent access to the socket after release.
AI Analysis
Technical Summary
CVE-2024-41062 is a medium severity use-after-free vulnerability in the Linux kernel Bluetooth L2CAP code. The flaw occurs due to a race condition between the sock_close system call releasing the socket and the hci_rx_work thread accessing the socket's receive callback without proper locking. If the receive callback accesses the socket after it has been freed, it can cause a denial of service. The patch adds a channel mutex in the receive callback to synchronize socket release and reception, and sets channel data to NULL when the socket is dead to avoid use of invalid pointers.
Potential Impact
This vulnerability can cause a denial of service (DoS) by allowing the kernel to access freed memory when processing Bluetooth L2CAP data. There is no impact on confidentiality or integrity reported. Exploitation requires local privileges and user interaction is not needed.
Mitigation Recommendations
A fix has been applied to the Linux kernel to add proper synchronization between socket release and receive callbacks in the Bluetooth L2CAP subsystem. Users and administrators should update to the patched kernel version once available. Patch status is not explicitly stated in the provided data; check the official Linux kernel advisories or vendor updates for the exact fixed versions and apply updates accordingly.
In the Linux kernel, the following vulnerability has been resolved: bluetooth/l2cap: sync sock recv cb and release The problem occurs between the… (CVE-2024-41062)
Description
A use-after-free vulnerability in the Linux kernel's Bluetooth L2CAP subsystem was resolved. The issue arises from a race condition between closing a socket and processing received data, where the work thread may access a socket after it has been released. This can lead to a denial of service due to invalid memory access. The fix involves adding synchronization via a mutex to prevent concurrent access to the socket after release.
CVSS v3.1
Score 5.5medium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-41062 is a medium severity use-after-free vulnerability in the Linux kernel Bluetooth L2CAP code. The flaw occurs due to a race condition between the sock_close system call releasing the socket and the hci_rx_work thread accessing the socket's receive callback without proper locking. If the receive callback accesses the socket after it has been freed, it can cause a denial of service. The patch adds a channel mutex in the receive callback to synchronize socket release and reception, and sets channel data to NULL when the socket is dead to avoid use of invalid pointers.
Potential Impact
This vulnerability can cause a denial of service (DoS) by allowing the kernel to access freed memory when processing Bluetooth L2CAP data. There is no impact on confidentiality or integrity reported. Exploitation requires local privileges and user interaction is not needed.
Mitigation Recommendations
A fix has been applied to the Linux kernel to add proper synchronization between socket release and receive callbacks in the Bluetooth L2CAP subsystem. Users and administrators should update to the patched kernel version once available. Patch status is not explicitly stated in the provided data; check the official Linux kernel advisories or vendor updates for the exact fixed versions and apply updates accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-f6q4-wr98-4jf5
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2024-41062"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6ac13969a43b0b3b89d5fbb8
Added to database: 10/03/2026, 17:20:41 UTC
Last enriched: 10/03/2026, 17:24:24 UTC
Last updated: 10/04/2026, 02:45:59 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.