
Cloud Vulnerability DB
A community-led vulnerabilities database
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).
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).
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).
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).
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).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."