First published: Thu May 23 2024(Updated: )
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: msft: fix slab-use-after-free in msft_do_close() Tying the msft->data lifetime to hdev by freeing it in hci_release_dev() to fix the following case: [use] msft_do_close() msft = hdev->msft_data; if (!msft) ...(1) <- passed. return; mutex_lock(&msft->filter_lock); ...(4) <- used after freed. [free] msft_unregister() msft = hdev->msft_data; hdev->msft_data = NULL; ...(2) kfree(msft); ...(3) <- msft is freed. ================================================================== BUG: KASAN: slab-use-after-free in __mutex_lock_common kernel/locking/mutex.c:587 [inline] BUG: KASAN: slab-use-after-free in __mutex_lock+0x8f/0xc30 kernel/locking/mutex.c:752 Read of size 8 at addr ffff888106cbbca8 by task kworker/u5:2/309
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
debian/linux | 5.10.223-1 5.10.226-1 6.1.115-1 6.1.119-1 6.12.6-1 6.12.8-1 | |
Linux Linux kernel | >=5.12<6.1.91 | |
Linux Linux kernel | >=6.2<6.6.31 | |
Linux Linux kernel | >=6.7<6.8.10 | |
Linux Linux kernel | =6.9-rc1 | |
Linux Linux kernel | =6.9-rc2 | |
Linux Linux kernel | =6.9-rc3 | |
Linux Linux kernel | =6.9-rc4 | |
Linux Linux kernel | =6.9-rc5 | |
Linux Linux kernel | =6.9-rc6 | |
Linux Linux kernel | =6.9-rc7 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.