Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: serialize accept_q access bt_sock_poll() walks the accept queue without synchronization, while child teardown can unlink the same socket and drop its last reference. The unsynchronized accept queue walk has existed since the initial Bluetooth import. Protect accept_q with a dedicated lock for queue updates and polling. Also rework bt_accept_dequeue() to take temporary child references under the queue lock before dropping it and locking the child socket.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d9ce4de05df2385c19e2c7d12f529144e1a44af1; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 41c8c1c7923e86e0eb59cfb4279349112756a336; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 4ec17782fd186f901a7329605d11048b085b945a; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before be43e6b4043113c3b3cf887c3c8350f67140274c; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 85f8674cae82053f1e6bab295f6a8422cca14db5; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8b4c412e001b0c670eb937beab491af974da55b3; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a218bf69eb51fefe59a3976fa8925261141f681c; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e83f5e24da741fa9405aeeff00b08c5ee7c37b88 |
| Linux / Linux | affected 2.6.12; unaffected 0 before 2.6.12; unaffected 5.10.259 through 5.10.*; unaffected 5.15.210 through 5.15.*; unaffected 6.1.176 through 6.1.*; unaffected 6.6.142 through 6.6.*; unaffected 6.12.92 through 6.12.*; unaffected 6.18.34 through 6.18.*; unaffected 7.0.11 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/d9ce4de05df2385c19e2c7d12f529144e1a44af1
- https://git.kernel.org/stable/c/41c8c1c7923e86e0eb59cfb4279349112756a336
- https://git.kernel.org/stable/c/4ec17782fd186f901a7329605d11048b085b945a
- https://git.kernel.org/stable/c/be43e6b4043113c3b3cf887c3c8350f67140274c
- https://git.kernel.org/stable/c/85f8674cae82053f1e6bab295f6a8422cca14db5
- https://git.kernel.org/stable/c/8b4c412e001b0c670eb937beab491af974da55b3
- https://git.kernel.org/stable/c/a218bf69eb51fefe59a3976fa8925261141f681c
- https://git.kernel.org/stable/c/e83f5e24da741fa9405aeeff00b08c5ee7c37b88
ADP enrichment
No English description supplied.
No English description supplied.
No references supplied.