CVE-2024-35966
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-35966 is a vulnerability in the Linux kernel's Bluetooth RFCOMM implementation, discovered in early 2024. The issue specifically affects the rfcomm_sock_setsockopt_old() function, which was found to be copying data without properly validating user input length (Kernel Git).

Technical details

The vulnerability is a slab-out-of-bounds issue in the RFCOMM socket implementation. The bug manifests in the copy_from_sockptr_offset and copy_from_sockptr functions, specifically within net/bluetooth/rfcomm/sock.c. When triggered, it results in a read of size 4 at an unauthorized memory address, as demonstrated by the KASAN (Kernel Address Sanitizer) report (Kernel Git).

Impact

The vulnerability could lead to a potential security breach in the Linux kernel's Bluetooth subsystem. When exploited, it could result in unauthorized memory access, potentially leading to information disclosure or system instability (NVD).

Exploitability

The vulnerability was initially discovered by syzbot, a kernel fuzzing tool. It affects the setsockopt functionality in the RFCOMM Bluetooth protocol implementation. The issue stems from two specific commits: 9f2c8a03fbb3 ("Bluetooth: Replace RFCOMM link mode with security level") and bb23c0ab8246 ("Bluetooth: Add support for deferring RFCOMM connection setup") (Kernel Git).

Mitigation and workarounds

The vulnerability has been patched in multiple Linux kernel versions. The fix involves replacing the unsafe copy_from_sockptr calls with bt_copy_from_sockptr, which properly validates the user input length. Users are advised to update their Linux kernel to the patched versions (Ubuntu Security).

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-68454HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-hwe-7.0
NoYesAug 13, 2026
CVE-2026-68452HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-raspi-5.4
NoYesAug 13, 2026
CVE-2026-68451HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-azure-nvidia
NoYesAug 13, 2026
CVE-2026-68453HIGH7.1
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-core
NoYesAug 13, 2026
CVE-2026-68450NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-aws
NoYesAug 12, 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