7.8

CVE-2023-53145

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

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
Linux ≫ Linux Kernel Version < 4.14.326
Linux ≫ Linux Kernel Version >= 4.15 < 4.19.295
Linux ≫ Linux Kernel Version >= 4.20 < 5.4.257
Linux ≫ Linux Kernel Version >= 5.5 < 5.10.195
Linux ≫ Linux Kernel Version >= 5.11 < 5.15.131
Linux ≫ Linux Kernel Version >= 5.16 < 6.1.52
Linux ≫ Linux Kernel Version >= 6.2 < 6.3
Linux ≫ Linux Kernel Version 6.3 Update rc1
Linux ≫ Linux Kernel Version 6.3 Update rc2
Linux ≫ Linux Kernel Version 6.3 Update rc3
Linux ≫ Linux Kernel Version 6.3 Update rc4
Linux ≫ Linux Kernel Version 6.3 Update rc5
Linux ≫ Linux Kernel Version 6.3 Update rc6
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.18% 0.079
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
NIST 7.8 1.8 5.9
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-416 Use After Free

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

https://git.kernel.org/stable/c/6c3653627397a0d6eab19b20a59423e118985a6b
Patch
https://git.kernel.org/stable/c/3efcbf25e5ab4d4ad1b7e6ba0869ff85540e3f6e
Patch
https://git.kernel.org/stable/c/a6650d27ab2c12a8ee750f396edb5ac8b4558b2e
Patch
https://git.kernel.org/stable/c/746b363bef41cc159c051c47f9e30800bc6b520d
Patch
https://git.kernel.org/stable/c/a5c2a467e9e789ae0891de55b766daac52e3b7b3
Patch
https://git.kernel.org/stable/c/179c65828593aff1f444e15debd40a477cb23cf4
Patch
https://git.kernel.org/stable/c/73f7b171b7c09139eb3c6a5677c200dc1be5f318
Patch