Bluetooth: btsdio: fix use after free bug in btsdio_remove due to race condition (Linux Linux)

CVE-2023-53145
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.19 % · percentile 9 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: btsdio: fix use after free bug in btsdio_remove due to race condition In btsdio_probe, the data->work is bound with btsdio_work. It will be started in btsdio_send_frame. If the btsdio_remove runs with a unfinished work, there may be a race condition that hdev is freed but used in btsdio_work. Fix it by canceling the work before do cleanup in btsdio_remove.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected ddbaf13e3609442b64abb931ac21527772d87980 < 6c3653627397a0d6eab19b20a59423e118985a6b ; affected ddbaf13e3609442b64abb931ac21527772d87980 < 3efcbf25e5ab4d4ad1b7e6ba0869ff85540e3f6e ; affected ddbaf13e3609442b64abb931ac21527772d87980 < a6650d27ab2c12a8ee750f396edb5ac8b4558b2e ; affected ddbaf13e3609442b64abb931ac21527772d87980 < 746b363bef41cc159c051c47f9e30800bc6b520d ; affected ddbaf13e3609442b64abb931ac21527772d87980 < a5c2a467e9e789ae0891de55b766daac52e3b7b3 ; affected ddbaf13e3609442b64abb931ac21527772d87980 < 179c65828593aff1f444e15debd40a477cb23cf4
Linux · Linuxaffected 2.6.24 ; unaffected 0 < 2.6.24 ; unaffected 4.14.326 ≤ 4.14.* ; unaffected 4.19.295 ≤ 4.19.* ; unaffected 5.4.257 ≤ 5.4.* ; unaffected 5.10.195 ≤ 5.10.*

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