CVE-2023-1989
Linux Kernel vulnerability analysis and mitigation

Overview

A use-after-free (UAF) vulnerability was discovered in the Linux Kernel's btsdioremove function in drivers\bluetooth\btsdio.c. The vulnerability, identified as CVE-2023-1989, was reported by Zheng Wang and involves a race condition that occurs when btsdioremove is called with an unfinished job, potentially leading to a use-after-free condition on hdev devices (Kernel Git, NVD).

Technical details

The vulnerability stems from a race condition in the Bluetooth SDIO driver. In btsdioprobe, data->work was bound with btsdiowork, and in btsdiosendframe, it was started by schedulework. The issue occurs when btsdioremove is called while a job is still unfinished, potentially leading to a use-after-free condition. The vulnerability has been assigned a CVSS score of 7.0 (HIGH) with the vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (NetApp Security).

Impact

Successful exploitation of this vulnerability could lead to multiple security impacts including disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS). An attacker able to insert and remove SDIO devices can use this to cause a denial of service through crash or memory corruption, or potentially execute arbitrary code in the kernel (Debian Security, NetApp Security).

Mitigation and workarounds

The vulnerability has been fixed in Linux kernel version 6.3-rc4 with the addition of cancelworksync(&data->work) before the removal process. Various distributions have released patches, including Debian which fixed it in version 6.1.52-1 for the stable distribution (bookworm), and version 5.10.178-3~deb10u1 for Debian 10 buster (Debian Security, Kernel Git).

Additional resources


SourceThis report was generated using AI

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