PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2024-35965: 
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-35965 affects the Linux kernel's Bluetooth L2CAP (Logical Link Control and Adaptation Protocol) subsystem. The vulnerability was discovered in May 2024 and involves improper validation of setsockopt user input in the L2CAP socket implementation. The issue specifically relates to not properly checking user input length before copying data (NVD, CVE).

Technical details

The vulnerability stems from insufficient input validation in the L2CAP socket implementation. The issue was introduced by two previous commits: '33575df7be67' which moved l2cap_sock_setsockopt() to l2cap_sock.c, and '3ee7b7cd8390' which added the BT_MODE socket option. The fix involves implementing proper validation of user input length before performing data copying operations in the setsockopt function (Kernel Commit).

Impact

The vulnerability affects the Bluetooth subsystem in the Linux kernel. When exploited, it could potentially lead to memory corruption due to improper input validation when handling socket options. This could affect systems using Bluetooth functionality on Linux kernels prior to the patch (Ubuntu Security).

Exploitability

The vulnerability requires local access to the system to exploit through the Bluetooth subsystem's socket interface. No known exploits in the wild have been reported at the time of assessment (NVD).

Mitigation and workarounds

The vulnerability has been fixed in multiple Linux kernel versions. Ubuntu has released patches for various kernel versions including 5.15.0-130.140 for 22.04 LTS, 5.4.0-204.224 for 20.04 LTS, and 6.8.0-38.38 for 24.04 LTS. Users are advised to update their systems to the patched versions (Ubuntu Security).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.90-1

Fixed

bullseye

linux: 5.10.234-1

Fixed

sid

linux: 6.8.9-1

Fixed

trixie

linux: 6.8.9-1

Fixed

Source: This 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-98862MEDIUM6
  • Linux Kernel logoLinux Kernel
  • python3-perf
NoYesOct 18, 2026
CVE-2026-98859MEDIUM5.7
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-partner
NoYesOct 18, 2026
CVE-2026-98861MEDIUM4.7
  • Linux Kernel logoLinux Kernel
  • kernel-zfcpdump-modules-core
NoYesOct 18, 2026
CVE-2023-7356NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesOct 21, 2026
CVE-2026-98863NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-devel
NoYesOct 18, 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