Bluetooth: hci_sync: annotate data-races around hdev->req_status (Linux Linux)

CVE-2026-43119
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.11 % · centile 1 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: annotate data-races around hdev->req_status __hci_cmd_sync_sk() sets hdev->req_status under hdev->req_lock: hdev->req_status = HCI_REQ_PEND; However, several other functions read or write hdev->req_status without holding any lock: - hci_send_cmd_sync() reads req_status in hci_cmd_work (workqueue) - hci_cmd_sync_complete() reads/writes from HCI event completion - hci_cmd_sync_cancel() / hci_cmd_sync_cancel_sync() read/write - hci_abort_conn() reads in connection abort path Since __hci_cmd_sync_sk() runs on hdev->req_workqueue while hci_send_cmd_sync() runs on hdev->workqueue, these are different workqueues that can execute concurrently on different CPUs. The plain C accesses constitute a data race. Add READ_ONCE()/WRITE_ONCE() annotations on all concurrent accesses to hdev->req_status to prevent potential compiler optimizations that could affect correctness (e.g., load fusing in the wait_event condition or store reordering).

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected f80c5dad7b6467b884c445ffea45985793b4b2d0 < ff5855e8891e1e2490741366d087fd2fbcaabc4a ; affected f80c5dad7b6467b884c445ffea45985793b4b2d0 < e51042ddc0b20d9bda5eb6dcf85a2668f9c5dae4 ; affected f80c5dad7b6467b884c445ffea45985793b4b2d0 < 6e539907c0d11f514c5e0b049b27b04dff48a5b1 ; affected f80c5dad7b6467b884c445ffea45985793b4b2d0 < a7a1cdb4a64ca74eb95cc46648fccb8cd3f9af27 ; affected f80c5dad7b6467b884c445ffea45985793b4b2d0 < 40734ce8efc34c4a0d0222855798c0dc14b65f2e ; affected f80c5dad7b6467b884c445ffea45985793b4b2d0 < b6807cfc195ef99e1ac37b2e1e60df40295daa8c
Linux · Linuxaffected 5.2 ; unaffected 0 < 5.2 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.145 ≤ 6.6.* ; unaffected 6.12.83 ≤ 6.12.* ; unaffected 6.18.24 ≤ 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