]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Revert "Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished...
authorLiu Jian <liujian56@huawei.com>
Fri, 14 Apr 2023 10:30:06 +0000 (18:30 +0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 24 Apr 2023 05:04:52 +0000 (22:04 -0700)
commitdb2bf510bd5d57f064d9e1db395ed86a08320c54
tree10afa19aeafd76fbb542b4e1c28c95271c818e4c
parent91b6d02ddcd113352bdd895990b252065c596de7
Revert "Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work"

This reverts commit 1e9ac114c4428fdb7ff4635b45d4f46017e8916f.

This patch introduces a possible null-ptr-def problem. Revert it. And the
fixed bug by this patch have resolved by commit 73f7b171b7c0 ("Bluetooth:
btsdio: fix use after free bug in btsdio_remove due to race condition").

Fixes: 1e9ac114c442 ("Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work")
Signed-off-by: Liu Jian <liujian56@huawei.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btsdio.c