Linux Bluetooth Socket Race Enables Local Use-After-Free
Vulnerability Disclosure · 4 sources · Updated 3mo ago · First seen Apr 30, 2024

CVE-2023-51779 is a use-after-free flaw in the Linux kernel Bluetooth subsystem caused by a race between bt_sock_recvmsg() and bt_sock_ioctl() over a socket buffer. A local low-privileged user could trigger a denial of service and may potentially execute code; Red Hat rates the issue Moderate, with CVSS 7.0, while noting exploitation is difficult and local privilege escalation has not been confirmed.
The upstream fix is available in commit 2e07e8348ea454615e268222ae3fc240421be768, and Fedora addressed the issue in its 6.6.9 stable kernel updates. Red Hat released fixes for affected RHEL 8 and 9 streams, including RHSA-2024:3859 for supported RHEL 8.6 extended-support variants, which provides kernel 4.18.0-372.107.1.el8_6; affected systems require a reboot after installation. RHEL 6 is outside support scope and should be considered affected.
Why it matters
Impact assessment
CVE-2023-51779 exposes Linux hosts running an unpatched Bluetooth kernel subsystem to local denial of service and a potential, but unconfirmed, local code-execution or privilege-escalation outcome. Exposure is limited to users or processes that can execute locally and interact with affected Bluetooth sockets; no exploitation in the wild is reported and Red Hat assesses practical exploitation as difficult.
- Affected populations: RHEL 8 and 9 systems on vulnerable kernel packages, applicable RHEL extended-support streams, Fedora systems before the fixed 6.6.9 stable-kernel update, and unsupported RHEL 6 systems, which should be treated as affected.
- Operational impact: exploitation can crash or destabilize an affected host through a kernel use-after-free condition. If code execution becomes practical, the impact could extend to compromise of host confidentiality, integrity, and availability.
- Scope: local attack surface rather than remotely reachable network exploitation. Risk increases on multi-user servers, shared development systems, CI/CD runners, container hosts with broad host-device or kernel attack-surface access, and endpoints where untrusted local code can run.
- Known exploitation: none reported in the supplied sources.
- Severity: Red Hat rates the issue Moderate; CVSS v3.1 is 7.0.
Supporting affected products
- RHEL 8 and RHEL 9 received fixes through 2024 advisories.
- RHSA-2024:3859 covers supported RHEL 8.6 Advanced Mission Critical, AUS, TUS, and SAP-related service variants on x86_64; SAP Solutions support also includes ppc64le.
- RHSA-2024:3859 provides kernel version
4.18.0-372.107.1.el8_6. - RHEL 6 is unsupported and should be considered affected.


