399 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

[openEuler-1.0-LTS] 修复hci_send_acl()中的释放后使用

待办的
缺陷
创建于  
2024-05-01 15:56

【标题描述】能够简要描述问题:说明什么场景下,做了什么操作,出现什么问题(尽量使用正向表达方式)

一、缺陷信息

缺陷归属组件:net/bluetooth/hci_event.c

缺陷归属的版本:openEuler-1.0-LTS

缺陷简述:在处理HCI_EV_DISCONN_PHY_LINK_COMPLETE时调用了hci_conn_del()函数,但在调用前没有检查conn->type是否为AMP_LINK。AMP_LINK类型的conn需要先通过 hci_disconn_cfm()函数先进行上层断开处理,再删除conn,否则将导致hci_send_acl()出现释放后使用(use-after-free)。

评论 (1)

Wentao Song 创建了缺陷

Hi went234, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Kernel, and any of the maintainers.

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助

53164aa7 5694891 3bd8fe86 5694891