399 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

在使用蓝牙USB设备时,遇到设备描述符损坏导致的除零错误

待办的
缺陷
创建于  
2024-05-01 13:32

【标题描述】: 在使用蓝牙USB设备时,遇到设备描述符损坏导致的除零错误

一、缺陷信息
内核信息:
openEuler-1.0-LTS
缺陷归属组件:
Bluetooth USB Driver (bfusb)
缺陷简述:
在蓝牙USB驱动程序中,如果USB设备的端点描述符中wMaxPacketSize为零,未经检查直接用于后续计算,导致除零错误。

【环境信息】
裸机场景:使用包含蓝牙USB设备的物理机器。
发现问题的组件:Bluetooth USB Driver (bfusb)
网络信息
使用标准的USB接口连接蓝牙设备。

【问题复现步骤】
将具有损坏描述符(wMaxPacketSize=0)的蓝牙USB设备连接到系统。
启动系统并加载bfusb驱动程序。
观察系统行为及错误日志。

【实际结果】
在未修复的内核版本中,系统尝试执行除以零的操作,导致系统崩溃或不稳定。

【其他相关附件信息】
缺陷详情参考链接:缺陷详情

评论 (1)

SunTimeYoung 创建了缺陷

Hi suntimeyoung, 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