中危 媒体:staging/intel-ipu3:修复 set_fmt 错误处理 (CVE-2021-46943)

CVE编号

CVE-2021-46943

利用情况

暂无

补丁情况

官方补丁

披露时间

2024-02-28
漏洞描述
In the Linux kernel, the following vulnerability has been resolved:

media: staging/intel-ipu3: Fix set_fmt error handling

If there in an error during a set_fmt, do not overwrite the previous
sizes with the invalid config.

Without this patch, v4l2-compliance ends up allocating 4GiB of RAM and
causing the following OOPs

[ 38.662975] ipu3-imgu 0000:00:05.0: swiotlb buffer is full (sz: 4096 bytes)
[ 38.662980] DMA: Out of SW-IOMMU space for 4096 bytes at device 0000:00:05.0
[ 38.663010] general protection fault: 0000 [#1] PREEMPT SMP
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
系统 debian_10 linux * Up to
(excluding)
4.19.304-1
运行在以下环境
系统 debian_11 linux * Up to
(excluding)
5.10.38-1
运行在以下环境
系统 debian_12 linux * Up to
(excluding)
5.10.38-1
运行在以下环境
系统 linux linux_kernel * From
(including)
5.11.0
Up to
(excluding)
5.11.20
运行在以下环境
系统 linux linux_kernel * From
(including)
5.12.0
Up to
(excluding)
5.12.3
运行在以下环境
系统 linux linux_kernel * From
(including)
5.2.0
Up to
(excluding)
5.4.118
运行在以下环境
系统 linux linux_kernel * From
(including)
5.5.0
Up to
(excluding)
5.10.36
阿里云评分
6.5
  • 攻击路径
    本地
  • 攻击复杂度
    复杂
  • 权限要求
    普通权限
  • 影响范围
    越权影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-131 缓冲区大小计算不正确
阿里云安全产品覆盖情况