# 摘要
In the Linux kernel, the following vulnerability has been resolved:
drm/mediatek: dsi: Store driver data before invoking mipi_dsi_host_register
The call to mipi_dsi_host_register triggers a callback to mtk_dsi_bind,
which uses dev_get_drvdata to retrieve the mtk_dsi struct, so this
structure needs to be stored inside the driver data before invoking it.
As drvdata is currently uninitialized it leads to a crash when
registering the DSI DRM encoder right after acquiring
the mode_config.idr_mutex, blocking all subsequent DRM operations.
Fixes the following crash during mediatek-drm probe (tested on Xiaomi
Smart Clock x04g):
Unable to handle kernel NULL pointer dereference at virtual address
0000000000000040
[...]
Modules linked in: mediatek_drm(+) drm_display_helper cec drm_client_lib
drm_dma_helper drm_kms_helper panel_simple
[...]
Call trace:
drm_mode_object_add +0x58/0x98 (P)
__drm_encoder_init +0x48/0x140
drm_encoder_init +0x6c/0xa0
drm_simple_encoder_init +0x20/0x34 [drm_kms_helper]
mtk_dsi_bind +0x34/0x13c [mediatek_drm]
component_bind_all +0x120/0x280
mtk_drm_bind +0x284/0x67c [mediatek_drm]
try_to_bring_up_aggregate_device +0x23c/0x320
__component_add +0xa4/0x198
component_add +0x14/0x20
mtk_dsi_host_attach +0x78/0x100 [mediatek_drm]
mipi_dsi_attach +0x2c/0x50
panel_simple_dsi_probe +0x4c/0x9c [panel_simple]
mipi_dsi_drv_probe +0x1c/0x28
really_probe +0xc0/0x3dc
__driver_probe_device +0x80/0x160
driver_probe_device +0x40/0x120
__device_attach_driver +0xbc/0x17c
bus_for_each_drv +0x88/0xf0
__device_attach +0x9c/0x1cc
device_initial_probe +0x54/0x60
bus_probe_device +0x34/0xa0
device_add +0x5b0/0x800
mipi_dsi_device_register_full +0xdc/0x16c
mipi_dsi_host_register +0xc4/0x17c
mtk_dsi_probe +0x10c/0x260 [mediatek_drm]
platform_probe +0x5c/0xa4
really_probe +0xc0/0x3dc
__driver_probe_device +0x80/0x160
driver_probe_device +0x40/0x120
__driver_attach +0xc8/0x1f8
bus_for_each_dev +0x7c/0xe0
driver_attach +0x24/0x30
bus_add_driver +0x11c/0x240
driver_register +0x68/0x130
__platform_register_drivers +0x64/0x160
mtk_drm_init +0x24/0x1000 [mediatek_drm]
do_one_initcall +0x60/0x1d0
do_init_module +0x54/0x240
load_module +0x1838/0x1dc0
init_module_from_file +0xd8/0xf0
__arm64_sys_finit_module +0x1b4/0x428
invoke_syscall.constprop.0 +0x48/0xc8
do_el0_svc +0x3c/0xb8
el0_svc +0x34/0xe8
el0t_64_sync_handler +0xa0/0xe4
el0t_64_sync +0x198/0x19c
Code: 52800022 941004ab 2a0003f3 37f80040 (29005a80)
以上是 CVE 记录( cvelist )中的原文,未经改写。
# 事件记录
2026-04-24T14:35Z
+DIS 披露
CVE 记录发布,编号分配方是 Linux。
来源 cvelist · 本站 2026-11-13T05:39Z 批量导入 · 原始记录
{
"id" : 416924,
"type" : "disclosed",
"source" : "cvelist",
"url" : "https://www.cve.org/CVERecord?id=CVE-2026-31562",
"occurred_at" : "2026-04-24T14:35:43.95Z",
"observed_at" : "2026-11-13T05:39:42.376982Z",
"is_backfill" : true,
"dedupe_key" : "",
"detail" : {
"state" : "PUBLISHED",
"date_published" : "2026-04-24T14:35:43.950Z",
"assigner_short_name" : "Linux"
}
}
# 纠错
报告错误或缺失
页面有误或缺失?告诉编辑;采纳后在本页修订记录公开说明,上游数据不会被改动。
提交纠错需要启用 JavaScript。
无法确认登录状态,请刷新页面后再提交纠错。
请先在账号页设置公开用户名:被采纳的纠错会以它署名。
设置用户名
你的账号已被封禁,暂时不能提交纠错。
# 研究员讨论
近 7 天有 0 位研究员提到
研究员在 X 上提到此 CVE 的帖子,原文照录,nday 不核实。
尚未采集到名单内研究员在 X 上提到此 CVE 的帖子。
# 讨论
0 条评论
阅读和发表评论都需要启用 JavaScript。
无法确认你的登录状态,刷新页面后再发表评论。
评论以 @用户名 署名。请先在账号页设置用户名。
前往账号页
你的账号已被封禁,不能发表、回复、编辑或举报评论;仍可删除自己的评论。
用途(可选)
不标注
技术分析
复现反馈
修复反馈
检测方法
提问
发表评论
最多 10,000 个字符
格式
↵↵空一行:新段落
↵换行:原样保留
*…*强调(斜体)
**…**加粗
`…`行内代码
```单独一行:开始和结束代码块
> …引用
- …列表
1. …编号列表
[…](https://…)链接(仅限 http 和 https)
https://…裸地址:自动成为链接
CVE-2026-1234链接到本站该漏洞页
\*按原样显示该字符
标题、图片、表格、嵌套列表和 HTML 都按纯文本显示。
新账号发的链接显示为纯文本;CVE 编号始终可点击。
你的回复
最多 10,000 个字符
回复 取消
用途(可选)
不标注
技术分析
复现反馈
修复反馈
检测方法
提问
编辑你的评论
最多 10,000 个字符
保存 取消
原因
垃圾信息或广告
骚扰或仇恨言论
与本漏洞无关
误导或错误信息
恶意链接
违法内容
其他
给版主的说明(可选,最多 500 个字符)
提交举报 取消
隐藏理由,作者可见(最多 200 个字符)
隐藏评论 取消