An issue was discovered in the Linux kernel before 5.0.5. There is a use-after-free issue when hci_uart_register_dev() fails in hci_uart_set_proto() in drivers/bluetooth/hci_ldisc.c.
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://github.com/torvalds/linux/commit/56897b217a1d0a91c9920cb418d6b3fe922f590a | patch |
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.0.5 | release notes |
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00064.html | third party advisory vendor advisory |
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00066.html | third party advisory vendor advisory |
https://lists.debian.org/debian-lts-announce/2019/09/msg00025.html | third party advisory mailing list |
https://security.netapp.com/advisory/ntap-20191004-0001/ | third party advisory |
https://seclists.org/bugtraq/2020/Jan/10 | third party advisory mailing list |
http://packetstormsecurity.com/files/155890/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html | third party advisory vdb entry |
https://lists.debian.org/debian-lts-announce/2020/03/msg00001.html | third party advisory mailing list |