CVE-2023-31083 json
An issue was discovered in drivers/bluetooth/hci_ldisc.c in the Linux kernel 6.2.
published 2023-04-24 3 y ago modified 2026-06-17 4 mo ago also EUVD-2023-35412
- cvss
- 4.7
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 25%
- public exploits
- 0
- none known
Summary
An issue was discovered in drivers/bluetooth/hci_ldisc.c in the Linux kernel 6.2. In hci_uart_tty_ioctl, 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.
Patch / fix
- linux Debian 12 6.1.112-1
- linux Debian 14, Debian 13 6.5.8-1
debian advisories DEBIAN-CVE-2023-31083
- linux Ubuntu 20.04 LTS 5.4.0-166.183
- linux Ubuntu 22.04 LTS 5.15.0-88.98
- linux-aws Ubuntu 20.04 LTS 5.4.0-1113.123
- linux-aws Ubuntu 22.04 LTS 5.15.0-1049.54
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1117.126
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1046.54
- linux-gke Ubuntu 22.04 LTS 5.15.0-1046.51
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1060.65
ubuntu advisories UBUNTU-CVE-2023-31083
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 9 5.14.0-427.13.1.el9_4
- rv RHEL 9 5.14.0-427.13.1.el9_4
- perf RHEL 9 5.14.0-427.13.1.el9_4
- rtla RHEL 9 5.14.0-427.13.1.el9_4
- bpftool RHEL 9 7.3.0-427.13.1.el9_4
- libperf RHEL 9 5.14.0-427.13.1.el9_4
- kernel-rt RHEL 9 5.14.0-427.13.1.el9_4
- kernel-64k RHEL 9 5.14.0-427.13.1.el9_4
red hat advisories RHSA-2024:2394RHSA-2024:2950RHSA-2024:3138
- kernel-azure SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-16.160.1
- kernel-syms-azure SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-16.160.1
- kernel-source-azure SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-16.160.1
- kernel-default SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE Live Patching 15 SP1 +3 more 4.12.14-150100.197.165.1
- kernel-kvmsmall openSUSE Leap 15.4 4.12.14-150100.197.165.1
- kernel-zfcpdump SLES 15 SP1-LTSS, openSUSE Leap 15.4 4.12.14-150100.197.165.1
- kernel-64kb SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS, SLE High Performance Computing 15 SP3-ESPOS +1 more 5.3.18-150300.59.144.1
- kernel-syms SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +2 more 5.3.18-150300.59.144.1
suse advisories SUSE-SU-2024:1669-1SUSE-SU-2023:4883-1SUSE-SU-2023:4882-1SUSE-SU-2023:4811-1SUSE-SU-2023:4784-1SUSE-SU-2023:4783-1
- kernel-rt AlmaLinux 8 4.18.0-553.rt7.342.el8_10
- kernel-rt-kvm AlmaLinux 8 4.18.0-553.rt7.342.el8_10
- kernel-rt-core AlmaLinux 8 4.18.0-553.rt7.342.el8_10
- kernel-rt-modules AlmaLinux 8 4.18.0-553.rt7.342.el8_10
- kernel-rt-debug-kvm AlmaLinux 8 4.18.0-553.rt7.342.el8_10
- kernel-rt-debug-core AlmaLinux 8 4.18.0-553.rt7.342.el8_10
- kernel-rt-debug-modules AlmaLinux 8 4.18.0-553.rt7.342.el8_10
- kernel-rt-modules-extra AlmaLinux 8 4.18.0-553.rt7.342.el8_10
almalinux advisories ALSA-2024:2950ALSA-2024:3138ALSA-2024:2394
- kernel Rocky Linux 8 4.18.0-553.123.1.el8_10.cloud.0.1
- kernel-rt Rocky Linux 8 4.18.0-553.rt7.342.el8_10
- kernel Rocky Linux 8 4.18.0-553.el8_10
rocky linux advisories RXSA-2024:3138RLSA-2024:2950RLSA-2024:3138
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-31083 updated cvss 4.7
kernel: race condition between HCIUARTSETPROTO and HCIUARTGETPROTO in hci_uart_tty_ioctl
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: workaround, no fix planned “To mitigate this issue, prevent module hci_uart from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.”
-
Red Hat Enterprise Linux 9 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +12 moreaffected: workaround, no fix available “To mitigate this issue, prevent module hci_uart from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.”
-
Red Hat Enterprise Linux AppStream (v. 9) rv 5.14.0-427.13.1.el9_4, perf 5.14.0-427.13.1.el9_4, rtla 5.14.0-427.13.1.el9_4, kernel-devel-matched 5.14.0-427.13.1.el9_4, kernel-64k-devel-matched 5.14.0-427.13.1.el9_4, kernel-debug-devel-matched 5.14.0-427.13.1.el9_4, +6 morefixed: vendor fix “To mitigate this issue, prevent module hci_uart from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2024:2394
-
Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-553.el8_10, kernel 4.18.0-553.el8_10, bpftool 4.18.0-553.el8_10, kernel-core 4.18.0-553.el8_10, kernel-tools 4.18.0-553.el8_10, python3-perf 4.18.0-553.el8_10, +15 morefixed: vendor fix “To mitigate this issue, prevent module hci_uart from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2024:3138
-
Red Hat Enterprise Linux BaseOS (v. 9) bpftool 7.3.0-427.13.1.el9_4, kernel 5.14.0-427.13.1.el9_4, kernel-64k 5.14.0-427.13.1.el9_4, kernel-core 5.14.0-427.13.1.el9_4, kernel-tools 5.14.0-427.13.1.el9_4, python3-perf 5.14.0-427.13.1.el9_4, +28 morefixed: vendor fix “To mitigate this issue, prevent module hci_uart from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2024:2394
-
Red Hat Enterprise Linux CRB (v. 8) kernel-debuginfo-common-x86_64 4.18.0-553.el8_10, kernel-debuginfo-common-aarch64 4.18.0-553.el8_10, kernel-debuginfo-common-ppc64le 4.18.0-553.el8_10fixed: vendor fix “To mitigate this issue, prevent module hci_uart from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2024:3138
-
Red Hat Enterprise Linux CRB (v. 9) libperf 5.14.0-427.13.1.el9_4, kernel-debuginfo-common-s390x 5.14.0-427.13.1.el9_4, kernel-debuginfo-common-x86_64 5.14.0-427.13.1.el9_4, kernel-debuginfo-common-aarch64 5.14.0-427.13.1.el9_4, kernel-debuginfo-common-ppc64le 5.14.0-427.13.1.el9_4fixed: vendor fix “To mitigate this issue, prevent module hci_uart from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2024:2394
-
Red Hat Enterprise Linux NFV (v. 8) kernel-rt 4.18.0-553.rt7.342.el8_10, kernel-rt-kvm 4.18.0-553.rt7.342.el8_10, kernel-rt-core 4.18.0-553.rt7.342.el8_10, kernel-rt-modules 4.18.0-553.rt7.342.el8_10, kernel-rt-debug-kvm 4.18.0-553.rt7.342.el8_10, kernel-rt-debug-core 4.18.0-553.rt7.342.el8_10, +4 morefixed: vendor fix “To mitigate this issue, prevent module hci_uart from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2024:2950
show 4 moreshow fewer
-
Red Hat Enterprise Linux NFV (v. 9) kernel-rt 5.14.0-427.13.1.el9_4, kernel-rt-kvm 5.14.0-427.13.1.el9_4, kernel-rt-core 5.14.0-427.13.1.el9_4, kernel-rt-modules 5.14.0-427.13.1.el9_4, kernel-rt-debug-kvm 5.14.0-427.13.1.el9_4, kernel-rt-debug-core 5.14.0-427.13.1.el9_4, +6 morefixed: vendor fix “To mitigate this issue, prevent module hci_uart from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2024:2394
-
Red Hat Enterprise Linux RT (v. 8) kernel-rt 4.18.0-553.rt7.342.el8_10, kernel-rt-core 4.18.0-553.rt7.342.el8_10, kernel-rt-modules 4.18.0-553.rt7.342.el8_10, kernel-rt-debug-core 4.18.0-553.rt7.342.el8_10, kernel-rt-debug-modules 4.18.0-553.rt7.342.el8_10, kernel-rt-modules-extra 4.18.0-553.rt7.342.el8_10, +2 morefixed: vendor fix “To mitigate this issue, prevent module hci_uart from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2024:2950
-
Red Hat Enterprise Linux RT (v. 9) kernel-rt 5.14.0-427.13.1.el9_4, kernel-rt-core 5.14.0-427.13.1.el9_4, kernel-rt-modules 5.14.0-427.13.1.el9_4, kernel-rt-debug-core 5.14.0-427.13.1.el9_4, kernel-rt-modules-core 5.14.0-427.13.1.el9_4, kernel-rt-debug-modules 5.14.0-427.13.1.el9_4, +4 morefixed: vendor fix “To mitigate this issue, prevent module hci_uart from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2024:2394
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.33% chance of exploitation in the next 30 days, higher than 25% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
- Weakness
- Technology feeds
References
- git.kernel.org /cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9c33663af9ad115f90c076a1828129a3fbadea98
- lore.kernel.org /all/CA+UBctC3p49aTgzbVgkSZ2+TQcqq4fPDO7yZitFT5uBPDeCO2g%40mail.gmail.com/
- security.netapp.com /advisory/ntap-20230929-0003/
- bugzilla.suse.com /show_bug.cgi?id=1210780
- lists.debian.org /debian-lts-announce/2025/01/msg00001.html
- lists.debian.org /debian-lts-announce/2024/10/msg00003.html
Sources
- CVE List CVE-2023-31083
- NVD CVE-2023-31083
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.