Bug 2213132 (CVE-2023-31083) - CVE-2023-31083 kernel: race condition between HCIUARTSETPROTO and HCIUARTGETPROTO in hci_uart_tty_ioctl
Summary: CVE-2023-31083 kernel: race condition between HCIUARTSETPROTO and HCIUARTGETP...
Keywords:
Status: NEW
Alias: CVE-2023-31083
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2213133 2213134 2213135 2213136 2213137
Blocks: 2189448
TreeView+ depends on / blocked
 
Reported: 2023-06-07 08:13 UTC by Alex
Modified: 2024-10-12 08:28 UTC (History)
44 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A NULL pointer dereference flaw was found in the Linux kernel’s Bluetooth HCI UART driver. This flaw allows a local user to crash the system.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2024:2634 0 None None None 2024-05-01 01:21:50 UTC
Red Hat Product Errata RHBA-2024:2650 0 None None None 2024-05-02 00:14:37 UTC
Red Hat Product Errata RHBA-2024:2686 0 None None None 2024-05-02 22:49:46 UTC
Red Hat Product Errata RHSA-2024:2394 0 None None None 2024-04-30 10:10:03 UTC
Red Hat Product Errata RHSA-2024:2950 0 None None None 2024-05-22 09:12:51 UTC
Red Hat Product Errata RHSA-2024:3138 0 None None None 2024-05-22 09:50:29 UTC

Description Alex 2023-06-07 08:13:27 UTC
A flaw in the Linux Kernel found in drivers/bluetooth/hci_ldisc.c. There is a race condition between HCIUARTSETPROTO and HCIUARTGETPROTO. HCI_UART_PROTO_SET is set before hu->proto is set. A NULL pointer dereference may occur.

Reference:
https://lore.kernel.org/all/CA+UBctC3p49aTgzbVgkSZ2+TQcqq4fPDO7yZitFT5uBPDeCO2g@mail.gmail.com/

Comment 1 Alex 2023-06-07 08:13:52 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2213133]

Comment 5 errata-xmlrpc 2024-04-30 10:10:00 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:2394 https://access.redhat.com/errata/RHSA-2024:2394

Comment 6 errata-xmlrpc 2024-05-22 09:12:47 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:2950 https://access.redhat.com/errata/RHSA-2024:2950

Comment 7 errata-xmlrpc 2024-05-22 09:50:26 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:3138 https://access.redhat.com/errata/RHSA-2024:3138


Note You need to log in before you can comment on or make changes to this bug.