PT-2023-2679 · Linux+10 · Linux Kernel+10

Yu Hao

·

Published

2023-04-17

·

Updated

2025-04-22

·

CVE-2023-31083

CVSS v3.1

4.7

Medium

VectorAV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel version 6.2
Description The issue is related to a race condition in the hci uart tty ioctl() function between HCIUARTSETPROTO and HCIUARTGETPROTO commands in the drivers/bluetooth/hci ldisc.c module. This can lead to a NULL pointer dereference, potentially causing a denial of service. The hci uart tty ioctl() function is vulnerable due to the concurrent access to resources, and the HCI UART PROTO SET is set before hu->proto is set.
Recommendations For Linux kernel version 6.2, as a temporary workaround, consider disabling the hci uart tty ioctl() function until a patch is available. Restrict access to the vulnerable module drivers/bluetooth/hci ldisc.c to minimize the risk of exploitation. Avoid using the HCIUARTSETPROTO and HCIUARTGETPROTO commands in the affected API endpoint until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

DoS

Race Condition

NULL Pointer Dereference

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2024:2394
ALSA-2024:2950
ALSA-2024:3138
ALT-PU-2023-7439
BDU:2023-02519
CESA-2024_2950
CESA-2024_3138
CVE-2023-31083
DLA-3912-1
DLA-4008-1
DSA-5782-1
INFSA-2024_2394
INFSA-2024_2950
INFSA-2024_3138
OESA-2023-1779
OESA-2023-1780
OESA-2023-1781
OESA-2023-1782
OESA-2023-1783
OPENSUSE-SU-2023_3302-1
OPENSUSE-SU-2023_3311-1
OPENSUSE-SU-2023_3313-1
OPENSUSE-SU-2023_3318-1
OPENSUSE-SU-2023_3376-1
OPENSUSE-SU-2023_3377-1
OPENSUSE-SU-2023_4882-1
RHSA-2024:2394
RHSA-2024:2950
RHSA-2024:3138
RHSA-2024_2394
RHSA-2024_2950
RHSA-2024_3138
RLSA-2024:2950
RLSA-2024:3138
SUSE-SU-2023:3302-1
SUSE-SU-2023:3311-1
SUSE-SU-2023:3313-1
SUSE-SU-2023:3318-1
SUSE-SU-2023:3376-1
SUSE-SU-2023:3377-1
SUSE-SU-2023:4733-1
SUSE-SU-2023:4735-1
SUSE-SU-2023:4783-1
SUSE-SU-2023:4784-1
SUSE-SU-2023:4811-1
SUSE-SU-2023:4882-1
SUSE-SU-2023:4883-1
SUSE-SU-2023_4783-1
SUSE-SU-2023_4811-1
SUSE-SU-2024:1669-1
USN-6439-1
USN-6439-2
USN-6440-1
USN-6440-2
USN-6440-3
USN-6462-1
USN-6462-2
USN-6464-1
USN-6465-1
USN-6465-2
USN-6465-3
USN-6466-1
USN-6516-1
USN-6520-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu