目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-39291— Linux kernel 安全漏洞

一分钟漏洞结论

影响对象
Linux Linux
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于gfx_v9_4_3_init_ cp_compute_microcode() 和 rlc_microcode() 中的缓冲区大小不足以容纳最大长度字符串,从而导致潜在的缓冲区溢出和截断问题。

AI 预测 5.5 利用难度: 极易 EPSS 0.24% · P15

影响版本矩阵 8

厂商产品 版本范围状态
Linux Linux 86301129698be52f8398f92ea8564168f6bfcae1< 19bd9537b6bc1c882df25206c15917214d8e9460 affected
86301129698be52f8398f92ea8564168f6bfcae1< f1b6a016dfa45cedc080d36fa5d6f22237d80e8b affected
86301129698be52f8398f92ea8564168f6bfcae1< acce6479e30f73ab0872e93a75aed1fb791d04ec affected
6.5 affected
< 6.5 unaffected
6.6.33≤ 6.6.* unaffected
6.9.4≤ 6.9.* unaffected
6.10≤ * unaffected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2024-39291 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
drm/amdgpu: Fix buffer size in gfx_v9_4_3_init_ cp_compute_microcode() and rlc_microcode()
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Fix buffer size in gfx_v9_4_3_init_ cp_compute_microcode() and rlc_microcode() The function gfx_v9_4_3_init_microcode in gfx_v9_4_3.c was generating about potential truncation of output when using the snprintf function. The issue was due to the size of the buffer 'ucode_prefix' being too small to accommodate the maximum possible length of the string being written into it. The string being written is "amdgpu/%s_mec.bin" or "amdgpu/%s_rlc.bin", where %s is replaced by the value of 'chip_name'. The length of this string without the %s is 16 characters. The warning message indicated that 'chip_name' could be up to 29 characters long, resulting in a total of 45 characters, which exceeds the buffer size of 30 characters. To resolve this issue, the size of the 'ucode_prefix' buffer has been reduced from 30 to 15. This ensures that the maximum possible length of the string being written into the buffer will not exceed its size, thus preventing potential buffer overflow and truncation issues. Fixes the below with gcc W=1: drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c: In function ‘gfx_v9_4_3_early_init’: drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c:379:52: warning: ‘%s’ directive output may be truncated writing up to 29 bytes into a region of size 23 [-Wformat-truncation=] 379 | snprintf(fw_name, sizeof(fw_name), "amdgpu/%s_rlc.bin", chip_name); | ^~ ...... 439 | r = gfx_v9_4_3_init_rlc_microcode(adev, ucode_prefix); | ~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c:379:9: note: ‘snprintf’ output between 16 and 45 bytes into a destination of size 30 379 | snprintf(fw_name, sizeof(fw_name), "amdgpu/%s_rlc.bin", chip_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c:413:52: warning: ‘%s’ directive output may be truncated writing up to 29 bytes into a region of size 23 [-Wformat-truncation=] 413 | snprintf(fw_name, sizeof(fw_name), "amdgpu/%s_mec.bin", chip_name); | ^~ ...... 443 | r = gfx_v9_4_3_init_cp_compute_microcode(adev, ucode_prefix); | ~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c:413:9: note: ‘snprintf’ output between 16 and 45 bytes into a destination of size 30 413 | snprintf(fw_name, sizeof(fw_name), "amdgpu/%s_mec.bin", chip_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
来源: CVE Program / CVE List V5
CVSS Information
N/A
来源: CVE Program / CVE List V5
Vulnerability Type
N/A
来源: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于gfx_v9_4_3_init_ cp_compute_microcode() 和 rlc_microcode() 中的缓冲区大小不足以容纳最大长度字符串,从而导致潜在的缓冲区溢出和截断问题。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux 86301129698be52f8398f92ea8564168f6bfcae1 ~ 19bd9537b6bc1c882df25206c15917214d8e9460 -
Linux Linux 6.5 -

二、漏洞 CVE-2024-39291 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2024-39291 的情报信息

请登录查看更多情报信息。

CVE-2024-39291 其他参考 (3)

同批安全公告 · Linux · 2024-06-24 · 共 14 条

CVE-2024-38384 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-38663 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-39292 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-32936 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-34027 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-33847 7.1 HIGH Linux kernel 安全漏洞
CVE-2024-38664 Linux kernel 安全漏洞
CVE-2024-38667 Linux kernel 安全漏洞
CVE-2024-34030 Linux kernel 安全漏洞
CVE-2024-35247 Linux kernel 安全漏洞
CVE-2024-36479 Linux kernel 安全漏洞
CVE-2024-37021 Linux kernel 安全漏洞
CVE-2024-37026 Linux kernel 安全漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2024-39291

暂无评论


发表评论