remoteproc:mediatek:确保 IPI 缓冲区适合 L2TCM(CVE-2024-36965)

CVE编号

CVE-2024-36965

利用情况

暂无

补丁情况

N/A

披露时间

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

remoteproc: mediatek: Make sure IPI buffer fits in L2TCM

The IPI buffer location is read from the firmware that we load to the
System Companion Processor, and it's not granted that both the SRAM
(L2TCM) size that is defined in the devicetree node is large enough
for that, and while this is especially true for multi-core SCP, it's
still useful to check on single-core variants as well.

Failing to perform this check may make this driver perform R/W
operations out of the L2TCM boundary, resulting (at best) in a
kernel panic.

To fix that, check that the IPI buffer fits, otherwise return a
failure and refuse to boot the relevant SCP core (or the SCP at
all, if this is single core).
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
系统 debian_10 linux * Up to
(excluding)
4.19.304-1
运行在以下环境
系统 debian_11 linux * Up to
(excluding)
5.10.218-1
运行在以下环境
系统 linux linux_kernel * From
(including)
5.11
Up to
(including)
5.15.160
运行在以下环境
系统 linux linux_kernel * From
(including)
5.16
Up to
(including)
6.1.92
运行在以下环境
系统 linux linux_kernel * From
(including)
6.2
Up to
(including)
6.6.32
运行在以下环境
系统 linux linux_kernel * From
(including)
6.7
Up to
(including)
6.8.11
运行在以下环境
系统 linux linux_kernel * From
(including)
6.9
Up to
(including)
6.9.2
CVSS3评分
5.5
  • 攻击路径
    本地
  • 攻击复杂度
  • 权限要求
  • 影响范围
    未更改
  • 用户交互
  • 可用性
  • 保密性
  • 完整性
CWE-ID 漏洞类型
NVD-CWE-noinfo
阿里云安全产品覆盖情况