CVE-2022-49474
Linux Kernel vulnerability analysis and mitigation

Overview

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 scosockconnect(), which could lead to a race condition where two sco_conn objects are created but only one is associated with the socket (Kernel Git).

Technical details

The vulnerability is a use-after-free issue in the scosocktimeout function. When a socket is closed before the SCO connection is established, the timer associated with the dangling scoconn object isn't canceled. This leads to a use-after-free condition when the timer callback function scosock_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).

Impact

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).

Mitigation and workarounds

The vulnerability has been fixed in the Linux kernel through a patch that modifies the scosockconnect() 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).

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-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-iot
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-rt-devel-matched
NoYesDec 09, 2025
CVE-2025-40340MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-hwe
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • libperf-devel
NoYesDec 09, 2025

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