kernel-hacking-2024-linux-s.../drivers/bluetooth
Bartosz Golaszewski e1d28be268 Bluetooth: hci_qca: fix a NULL-pointer derefence at shutdown
Unlike qca_regulator_init(), qca_power_shutdown() may be called for
QCA_ROME which does not have qcadev->bt_power assigned. Add a
NULL-pointer check before dereferencing the struct qca_power pointer.

Fixes: eba1718717 ("Bluetooth: hci_qca: make pwrseq calls the default if available")
Reported-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Closes: https://lore.kernel.org/linux-bluetooth/su3wp6s44hrxf4ijvsdfzbvv4unu4ycb7kkvwbx6ltdafkldir@4g7ydqm2ap5j/
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2024-08-07 16:35:53 -04:00
..
ath3k.c Bluetooth: ath3k: Fix multiple issues reported by checkpatch.pl 2024-05-14 10:51:05 -04:00
bcm203x.c
bfusb.c
bluecard_cs.c
bpa10x.c
bt3c_cs.c
btbcm.c Bluetooth: btbcm: Use devm_kstrdup() 2024-03-06 17:24:06 -05:00
btbcm.h
btintel.c Bluetooth: btintel: Fail setup on error 2024-07-26 10:53:56 -04:00
btintel.h Bluetooth: btintel: Add firmware ID to firmware name 2024-07-14 21:34:45 -04:00
btintel_pcie.c Bluetooth: btintel_pcie: Remove unnecessary memset(0) calls 2024-07-14 21:34:29 -04:00
btintel_pcie.h Bluetooth: btintel_pcie: Refactor and code cleanup 2024-05-14 10:58:30 -04:00
btmrvl_debugfs.c
btmrvl_drv.h
btmrvl_main.c Bluetooth: HCI: Remove HCI_AMP support 2024-05-14 10:54:49 -04:00
btmrvl_sdio.c Bluetooth: btmrvl_sdio: drop driver owner initialization 2024-04-04 11:09:12 +02:00
btmrvl_sdio.h
btmtk.c Bluetooth: btmtk: Fix btmtk.c undefined reference build error 2024-07-26 10:54:02 -04:00
btmtk.h Bluetooth: btmtk: remove #ifdef around declarations 2024-07-26 10:56:54 -04:00
btmtksdio.c Bluetooth: btmtk: move btusb_mtk_hci_wmt_sync to btmtk.c 2024-07-15 10:11:46 -04:00
btmtkuart.c Bluetooth: btmtk: move btusb_mtk_hci_wmt_sync to btmtk.c 2024-07-15 10:11:46 -04:00
btnxpuart.c Bluetooth: btnxpuart: Fix warnings for suspend and resume functions 2024-07-15 10:12:06 -04:00
btqca.c Bluetooth: qca: Fix error code in qca_read_fw_build_info() 2024-05-14 10:51:09 -04:00
btqca.h Bluetooth: qca: clean up defines 2024-05-14 10:51:07 -04:00
btqcomsmd.c Bluetooth: btqcomsmd: Convert to platform remove callback returning void 2024-05-14 10:51:03 -04:00
btrsi.c Bluetooth: HCI: Remove HCI_AMP support 2024-05-14 10:54:49 -04:00
btrtl.c Bluetooth: Use sizeof(*pointer) instead of sizeof(type) 2024-07-14 21:34:28 -04:00
btrtl.h
btsdio.c Bluetooth: HCI: Remove HCI_AMP support 2024-05-14 10:54:49 -04:00
btusb.c Bluetooth: btintel: Add support for Whale Peak2 2024-07-15 10:11:57 -04:00
dtl1_cs.c
h4_recv.h
hci_ag6xx.c
hci_ath.c
hci_bcm.c Bluetooth: hci_bcm: Limit bcm43455 baudrate to 2000000 2024-05-14 10:51:05 -04:00
hci_bcm4377.c Bluetooth: hci_bcm4377: Add BCM4388 support 2024-07-14 21:34:34 -04:00
hci_bcsp.c
hci_h4.c
hci_h5.c Bluetooth: btrtl: fix out of bounds memory access 2024-03-06 17:26:21 -05:00
hci_intel.c Bluetooth: hci_intel: Fix multiple issues reported by checkpatch.pl 2024-05-14 10:51:04 -04:00
hci_ldisc.c Bluetooth: Use sizeof(*pointer) instead of sizeof(type) 2024-07-14 21:34:28 -04:00
hci_ll.c
hci_mrvl.c
hci_nokia.c Bluetooth/nokia: Remove unused struct 'hci_nokia_radio_hdr' 2024-07-14 21:33:33 -04:00
hci_qca.c Bluetooth: hci_qca: fix a NULL-pointer derefence at shutdown 2024-08-07 16:35:53 -04:00
hci_serdev.c Bluetooth: HCI: Remove HCI_AMP support 2024-05-14 10:54:49 -04:00
hci_uart.h Bluetooth: HCI: Remove HCI_AMP support 2024-05-14 10:54:49 -04:00
hci_vhci.c Bluetooth: Use sizeof(*pointer) instead of sizeof(type) 2024-07-14 21:34:28 -04:00
Kconfig Bluetooth: btmtk: Fix btmtk.c undefined reference build error harder 2024-07-26 10:56:05 -04:00
Makefile Bluetooth: btintel_pcie: Add support for PCIe transport 2024-05-14 10:54:56 -04:00
virtio_bt.c virtio: rename virtio_find_vqs_info() to virtio_find_vqs() 2024-07-17 05:20:58 -04:00