linux_dsm_epyc7002/drivers/bluetooth
Anatol Pomozov 8500d791c4 Bluetooth: Fix crash in the Marvell driver initialization codepath
btmrvl_add_card() function calls kthread_run that might return error
(e.g. if current thread is killed). If one tries to use the error
value as a pointer then invalid memory access oops happens.

Check kthread_run() return value, if it is an error then release resources
correctly.

TEST=boot computer with BT modules enabled. I see the error message that
BT device initialization failed. Now kernel does not crash. Hint: to enable
BT run 'rmmod btmrvl_sdio; modprobe btmrvl_sdio'

Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2014-07-31 01:07:28 +02:00
..
ath3k.c Bluetooth: Fix endian and alignment issue with ath3k version handling 2014-07-20 18:42:14 +03:00
bcm203x.c
bfusb.c
bluecard_cs.c
bpa10x.c
bt3c_cs.c
btmrvl_debugfs.c
btmrvl_drv.h Bluetooth: btmrvl: add public address configuration support 2014-07-19 02:33:21 +02:00
btmrvl_main.c Bluetooth: Fix crash in the Marvell driver initialization codepath 2014-07-31 01:07:28 +02:00
btmrvl_sdio.c Bluetooth: btmrvl: avoid sending data to firmware after hs_activated 2014-07-15 08:01:19 +02:00
btmrvl_sdio.h Bluetooth: btmrvl: indicate pscan scheduling instant in a debug event 2014-07-03 17:42:54 +02:00
btsdio.c
btuart_cs.c
btusb.c Bluetooth: Add support for Broadcom device of Asus Z97-DELUXE motherboard 2014-07-21 15:07:08 +03:00
btwilink.c
dtl1_cs.c
hci_ath.c
hci_bcsp.c
hci_h4.c
hci_h5.c Bluetooth: Remove redundant calls to h5_reset_rx 2014-07-03 17:42:45 +02:00
hci_ldisc.c Bluetooth: Fix HCIUARTGETDEVICE ioctl when UART is not registered 2014-07-12 18:37:34 +03:00
hci_ll.c
hci_uart.h Bluetooth: Add support for external configuration with UART driver 2014-07-11 13:59:50 +03:00
hci_vhci.c Bluetooth: Support HCI_QUIRK_EXTERNAL_CONFIG for hci_vhci driver 2014-07-04 21:10:22 +03:00
Kconfig Bluetooth: Remove trailing whitespaces from Kconfig 2014-07-03 17:42:43 +02:00
Makefile