Bluetooth: hci_conn: fix the SCO setup context lifetime (Linux Linux)

CVE-2026-90255
HIGH 8.8

At a glance

Source
NVD
EPSS
EPSS 0.34 % · percentile 27 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_conn: fix the SCO setup context lifetime hci_setup_sync() queues a conn_handle_t with a NULL destroy callback, so the context is only freed if hci_enhanced_setup_sync() actually runs. An entry that is cancelled instead is leaked, as _hci_cmd_sync_cancel_entry() does not release entry->data when there is no destroy callback, and hci_cmd_sync_clear() cancels every pending entry when the controller is unregistered. The context also stores a bare hci_conn pointer, so the connection can be freed while the work is queued. The dequeue in hci_conn_del() does not cover it either, as it matches on entry->data == conn and entry->data is the wrapper here. Same problem as commit 2f5d635ad590 ("Bluetooth: hci_sync: hold conn in hci_connect_acl/le_sync() callbacks"). Hold the connection and release both from a destroy callback. The submission failure path drops both, since hci_cmd_sync_submit() does not call the destroy callback when it fails to queue.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.8CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.8CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected e07a06b4eb417f5271d33ce2240e93c62d98b7b4 < 37cfec41365c826d5496ef5d00c9e215eee53aa2 ; affected e07a06b4eb417f5271d33ce2240e93c62d98b7b4 < 9a2ba69cebe3fc5a3d4fa8eaaad3c42862723c27 ; affected e07a06b4eb417f5271d33ce2240e93c62d98b7b4 < a661de0ee29d0915c5e924edf91d2be2b4d35bae ; affected e07a06b4eb417f5271d33ce2240e93c62d98b7b4 < c1fe3c74a89a7749cba3caa0dd91236049c66116 ; affected e07a06b4eb417f5271d33ce2240e93c62d98b7b4 < 4d7b1c834d2775b73c65e4888e01f5af8b477fe9 ; affected e07a06b4eb417f5271d33ce2240e93c62d98b7b4 < 42de40abe25db9211107af8896d0fd741f10648d
Linux · Linuxaffected 6.1 ; unaffected 0 < 6.1 ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.* ; unaffected 6.12.110 ≤ 6.12.* ; unaffected 6.18.52 ≤ 6.18.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD