CVE-2025-40309

Description

A flaw was found in the Linux kernel's Bluetooth subsystem. When closing Synchronous Connection-Oriented (SCO) connections, improper reference handling during connection cleanup can result in a use-after-free condition. A local attacker or adjacent user with access to Bluetooth functionality could exploit this flaw to cause memory corruption, leading to a Denial of Service (DoS) via a system crash or potentially privilege escalation.

Statement

This vulnerability is assessed as Moderate impact for Red Hat Enterprise Linux because exploitation requires interaction with the Bluetooth subsystem, which is not active or exposed by default on standard enterprise server installations. An attacker must possess local access to initiate Synchronous Connection-Oriented (SCO) sockets or proximity to active Bluetooth hardware to trigger the race condition and memory corruption. Consequently, systems lacking Bluetooth adapters or running with the Bluetooth service disabled remain unaffected by this flaw in practice.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score6.4N/A8
Attack VectorAdjacent NetworkN/AAdjacent Network
Attack ComplexityHighN/ALow
Privileges RequiredLowN/ALow
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/AHigh
Integrity ImpactHighN/AHigh
Availability ImpactHighN/AHigh

Vector

Red Hat: CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H

cve.org: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Memory

If the expired pointer is used in a read operation, an attacker might be able to control data read in by the application.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

If the expired pointer references a memory location that is not accessible to the product, or points to a location that is "malformed" (such as NULL) or larger than expected by a read or write operation, then a crash may occur.

Integrity,Confidentiality,Availability

Technical Impact: Execute Unauthorized Code or Commands

If the expired pointer is used in a function call, or points to unexpected data in a write operation, then code execution may be possible.

Frequently Asked Questions

Want to get errata notifications? Sign up here.