
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-49474 is a vulnerability in the Linux kernel's Bluetooth subsystem, specifically affecting the SCO (Synchronous Connection-Oriented) socket implementation. The vulnerability was discovered and disclosed in February 2025. The issue occurs when connecting the same socket twice consecutively in sco_sock_connect(), which could lead to a race condition where two sco_conn objects are created but only one is associated with the socket (Kernel Git).
The vulnerability is a use-after-free issue in the sco_sock_timeout function. When a socket is closed before the SCO connection is established, the timer associated with the dangling sco_conn object isn't canceled. This leads to a use-after-free condition when the timer callback function sco_sock_timeout() attempts to access the freed socket object. The vulnerability has been assigned a CVSS v3.1 Base Score of 7.8 (HIGH) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).
The vulnerability could allow an attacker to potentially execute code or cause system crashes through memory corruption. The issue affects the kernel's Bluetooth subsystem, which could impact any system using Bluetooth SCO connections (Red Hat).
The vulnerability requires local access and can be triggered through specific Bluetooth socket operations. A proof-of-concept exploit has been demonstrated through the syzkaller kernel fuzzer, as evidenced by the crash trace provided in the kernel commit (Kernel Git).
The vulnerability has been fixed in the Linux kernel through a patch that modifies the sco_sock_connect() function to properly handle socket state checks and lock ordering. The fix involves moving the lock_sock(sk) call earlier in the function and adding proper error handling (Kernel Git).
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."