CVE-2024-36013: Linux kernel · Bluetooth: L2CAP: Fix slab-use-after-free in l2cap_connect()
Source GCVE Database
Not known to be exploited · CVSS 6.8 Medium.
Data as of 26 Oct 2026, 13:47 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 41% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 23 May 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
A fix is available that extends the critical section in the l2cap_connect() function to prevent early freeing of the channel object and changes the function return type to void to avoid returning pointers to freed memory. Users should apply the official Linux kernel patches that address CVE-2024-36013. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor advisory or Linux kernel mailing lists for the latest patch and backport information.
Description
A use-after-free vulnerability in the Linux kernel's Bluetooth L2CAP implementation (l2cap_connect function) has been resolved. The issue involves a race condition where a channel object can be freed while still in use, potentially leading to memory corruption. The vulnerability has a CVSS score of 6.8, indicating moderate severity. The fix extends a critical section to prevent early freeing of the channel and changes the function return type to void to avoid returning a pointer to freed memory.
References
- nvd.nist.gov/vuln/detail/CVE-2024-36013 (opens in a new tab)
- git.kernel.org/stable/c/4d7b41c0e43995b0e992b9f8903109275744b658 (opens in a new tab)
- git.kernel.org/stable/c/826af9d2f69567c646ff46d10393d47e30ad23c6 (opens in a new tab)
- git.kernel.org/stable/c/8629a65a48890769c47ebc9b6e57c02a80a8975e (opens in a new tab)
- git.kernel.org/stable/c/cfe560c7050bfb37b0d2491bbe7cd8b59e77fdc5 (opens in a new tab)
- openwall.com/lists/oss-security/2024/05/30/1 (opens in a new tab)
- openwall.com/lists/oss-security/2024/05/30/2 (opens in a new tab)