In the Linux kernel before 5.12.4, net/bluetooth/hci_event.c has a use-after-free when destroying an hci_chan, aka CID-5c4c8c954409. This leads to writing an arbitrary value.
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.
Link | Tags |
---|---|
https://syzkaller.appspot.com/bug?id=2e1943a94647f7732dd6fc60368642d6e8dc91b1 | mailing list exploit third party advisory |
https://sites.google.com/view/syzscope/kasan-use-after-free-read-in-hci_send_acl | third party advisory exploit |
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5c4c8c9544099bb9043a10a5318130a943e32fc3 | mailing list patch vendor advisory |
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.12.4 | mailing list patch vendor advisory |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GI7Z7UBWBGD3ABNIL2DC7RQDCGA4UVQW/ | vendor advisory |
https://lists.debian.org/debian-lts-announce/2021/06/msg00020.html | third party advisory mailing list |
https://lists.debian.org/debian-lts-announce/2021/06/msg00019.html | third party advisory mailing list |