iio:light:veml6030:修复从嵌入式设备检索 IIO 设备(CVE-2024-50198)

admin 2024-11-10 19:26:51 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
iio:light:veml6030:修复从嵌入式设备检索 IIO 设备(CVE-2024-50198)

CVE编号

CVE-2024-50198

利用情况

暂无

补丁情况

N/A

披露时间

2024-11-08
漏洞描述
In the Linux kernel, the following vulnerability has been resolved: iio: light: veml6030: fix IIO device retrieval from embedded device The dev pointer that is received as an argument in the in_illuminance_period_available_show function references the device embedded in the IIO device, not in the i2c client. dev_to_iio_dev() must be used to accessthe right data. The current implementation leads to a segmentation fault on every attempt to read the attribute because indio_dev gets a NULL assignment. This bug has been present since the first appearance of the driver, apparently since the last version (V6) before getting applied. A constant attribute was used until then, and the last modifications might have not been tested again.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://git.kernel.org/stable/c/2cbb41abae65626736b8b52cf3b9339612c5a86a
https://git.kernel.org/stable/c/50039aec43a82ad2495f2d0fb0c289c8717b4bb2
https://git.kernel.org/stable/c/905166531831beb067fffe2bdfc98031ffe89087
https://git.kernel.org/stable/c/bcb90518ccd9e10bf6ab29e31994aab93e4a4361
https://git.kernel.org/stable/c/bf3ab8e1c28f10df0823d4ff312f83c952b06a15
https://git.kernel.org/stable/c/c7c44e57750c31de43906d97813273fdffcf7d02
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
系统 debian_12 linux * Up to (excluding) 6.1.115-1
CVSS3评分 N/A
  • 攻击路径 N/A
  • 攻击复杂度 N/A
  • 权限要求 N/A
  • 影响范围 N/A
  • 用户交互 N/A
  • 可用性 N/A
  • 保密性 N/A
  • 完整性 N/A
N/A
CWE-ID 漏洞类型
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论:0   参与:  0