CVE-2024-36013
Linux Kernel vulnerability analysis and mitigation

Overview

A slab-use-after-free vulnerability was discovered in the Linux kernel's Bluetooth L2CAP implementation, specifically in the l2cap_connect() function. The vulnerability was assigned CVE-2024-36013 and was disclosed in May 2024. The issue affects the Bluetooth stack in the Linux kernel and occurs due to improper handling of channel objects during connection operations (NVD).

Technical details

The vulnerability stems from a critical section that was not properly extended, allowing a channel object to be freed prematurely. The issue manifests in the l2cap_connect() function where a channel object could be accessed after being freed. The bug was introduced by commit 73ffa904b782 ("Bluetooth: Move conf_{req,rsp} stuff to struct l2cap_chan"). The vulnerability has been assigned a CVSS v3.1 base score of 6.8 (MEDIUM) with vector: CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H (CISA-ADP).

Impact

The vulnerability could lead to a use-after-free condition, potentially resulting in memory corruption and system crashes. When exploited, it could cause a denial of service condition or possibly lead to arbitrary code execution in the context of the kernel (NVD).

Mitigation and workarounds

The vulnerability has been fixed by extending the critical section to prevent the channel from being freed early. Additionally, the l2cap_connect() function's return type was changed to void since the returned value was not being used. The fix is available in the Linux kernel through commit 4d7b41c0e43995b0e992b9f8903109275744b658 (Kernel Commit).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-31408HIGH7.8
  • Linux KernelLinux Kernel
  • bpftool
NoYesApr 06, 2026
CVE-2026-31407HIGH7.1
  • Linux KernelLinux Kernel
  • python-perf
NoYesApr 06, 2026
CVE-2026-31411N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules-partner
NoYesApr 08, 2026
CVE-2026-31406N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-modules-extra
NoYesApr 06, 2026
CVE-2026-31404N/AN/A
  • Linux KernelLinux Kernel
  • kernel-ipaclones-internal
NoYesApr 03, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management