Skip to main content
Mallory
← Back to News
endpoint-software-vulnerabilitywidely-deployed-product-advisoryprivilege-escalation-method

Linux Bluetooth Socket Race Enables Local Use-After-Free

Vulnerability Disclosure · 4 sources · Updated 3mo ago · First seen Apr 30, 2024

Linux Bluetooth Socket Race Enables Local Use-After-Free

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.
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

7 events · Apr 30, 2024
  1. Reported May 1, 20243y ago

    Red Hat fixes RHEL 8.8 Extended Update Support

    Red Hat released RHSA-2024:10941 to fix CVE-2023-51779 in Red Hat Enterprise Linux 8.8 Extended Update Support kernel packages.

    2256822 - (CVE-2023-51779) CVE-2023-51779 kernel: bluetooth: bt_sock_ioctl race condition leads to use-after-free in bt_sock_recvmsg
  2. Reported May 1, 20243y ago

    Red Hat patches RHEL 9.2 Extended Update Support

    Red Hat issued RHSA-2024:3854 and RHSA-2024:3855 to remediate CVE-2023-51779 in RHEL 9.2 Extended Update Support kernel and kernel-rt packages.

    2256822 - (CVE-2023-51779) CVE-2023-51779 kernel: bluetooth: bt_sock_ioctl race condition leads to use-after-free in bt_sock_recvmsg
  3. Reported May 1, 20243y ago

    Red Hat patches RHEL 8.6 specialized service variants

    RHSA-2024:3859 delivered kernel version 4.18.0-372.107.1.el8_6 for supported RHEL 8.6 Advanced Mission Critical, SAP Update Services, and Telecommunications Update Service variants, fixing CVE-2023-51779 alongside two other kernel vulnerabilities.

    2256822 - (CVE-2023-51779) CVE-2023-51779 kernel: bluetooth: bt_sock_ioctl race condition leads to use-after-free in bt_sock_recvmsg
  4. Reported May 1, 20243y ago

    Red Hat releases RHEL 8 kernel fixes

    Red Hat released RHSA-2024:2950 and RHSA-2024:3138, fixing CVE-2023-51779 in Red Hat Enterprise Linux 8 kernel and kernel-rt packages.

    2256822 - (CVE-2023-51779) CVE-2023-51779 kernel: bluetooth: bt_sock_ioctl race condition leads to use-after-free in bt_sock_recvmsg
  5. Reported May 1, 20243y ago

    Fedora ships fix in Linux kernel 6.6.9 stable updates

    Fedora remediated CVE-2023-51779 through its Linux kernel 6.6.9 stable updates.

    2256822 - (CVE-2023-51779) CVE-2023-51779 kernel: bluetooth: bt_sock_ioctl race condition leads to use-after-free in bt_sock_recvmsg
  6. Reported May 1, 20243y ago

    Upstream Linux kernel fix made available for CVE-2023-51779

    An upstream Linux kernel fix for the Bluetooth socket race condition was made available in commit 2e07e8348ea454615e268222ae3fc240421be768.

    2256822 - (CVE-2023-51779) CVE-2023-51779 kernel: bluetooth: bt_sock_ioctl race condition leads to use-after-free in bt_sock_recvmsg
  7. Apr 30, 20243y ago

    Red Hat fixes CVE-2023-51779 for RHEL 9

    Red Hat released RHSA-2024:2394 to fix CVE-2023-51779 in Red Hat Enterprise Linux 9 kernel packages.

    2256822 - (CVE-2023-51779) CVE-2023-51779 kernel: bluetooth: bt_sock_ioctl race condition leads to use-after-free in bt_sock_recvmsg
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

3 linked
FedoraRed Hat Enterprise LinuxLinux Kernel
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.