发现cloud-kernel的devel-5.10分支提交补丁有潜在的空指针引用问题 补丁标题为 Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work 补丁内容如下: 33 +++ b/drivers/bluetooth/btsdio.c 34 @@ -352,6 +352,7 @@ static void btsdio_remove(struct sdio_func *func) 35 36 BT_DBG("func %p", func); 37 38 + cancel_work_sync(&data->work); 39 if (!data) 40 return; 通过对比上游发现是合补丁错误。第38行应该放到40行之后
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/5080