Bluetooth: Fix Dangling sco_conn and Use-After-Free in sco_sock_timeout
Summary
GSD-2022-1004076: Bluetooth: fix dangling sco_conn and use-after-free in sco_sock_timeout. Affects Kernel versions >= 22c66af08230a7030bdb88accffaec3424695631, < 9de3dc09e56f8deacd2bdbf4cecb71e11a312405. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Bluetooth vulnerability affects the Kernel package in the Linux ecosystem. The Kernel is the core component of the Linux operating system, responsible for managing system resources and providing an interface for software to interact with the hardware. Bluetooth is a wireless communication technology commonly used for short-range data exchange between devices. The vulnerability in the sco_sock_timeout function can lead to a dangling sco_conn and a use-after-free condition. This vulnerability can potentially be exploited by attackers to execute arbitrary code or cause a denial-of-service.
Vulnerability Detail
The vulnerability in the sco_sock_timeout function of the Bluetooth implementation in the Kernel package allows for a dangling sco_conn and a use-after-free condition. This can occur when a Bluetooth SCO (Synchronous Connection-Oriented) socket times out. An attacker could exploit this vulnerability by sending specially crafted Bluetooth packets to a vulnerable system, leading to the execution of arbitrary code or a system crash. The impact and attack plausibility of this vulnerability have not been proven yet.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability.
Conclusion
The Bluetooth vulnerability in the Kernel package can result in a dangling sco_conn and a use-after-free condition. It is crucial to update the Linux Kernel to the recommended version or later to mitigate the risk of exploitation. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability can range from arbitrary code execution to a denial-of-service condition, depending on how it is exploited.
An attacker can exploit this vulnerability by sending specially crafted Bluetooth packets to a vulnerable system, triggering the use-after-free condition and potentially executing arbitrary code or crashing the system.
No, the impact and attack plausibility of this vulnerability have not been proven yet.
To protect your system, it is recommended to update the Linux Kernel package to version v4.9.318 or later, which includes the fix for this vulnerability.
For more information, you can refer to the source link provided in the database-specific section of the vulnerability details.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.