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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-31584— Linux kernel 安全漏洞

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于media mediatek vcodec中编码器释放路径释放后重用,可能导致访问已释放上下文内存。

CVSS 7.8 · High EPSS 0.17% · P6

可能的 ATT&CK 技术 1 AI

T1211 · Exploitation for Stealth

影响版本矩阵 14

厂商产品 版本范围状态
Linux Linux 0934d37596151edce115c6d0843a9ad7d5e5d232< 9a9bdaf9dc42ccca50e53f82165292f74a365c11 affected
0934d37596151edce115c6d0843a9ad7d5e5d232< a8a55913552aed45108525d1851c65e1db0cc25b affected
0934d37596151edce115c6d0843a9ad7d5e5d232< f99353cd0e9f58bf17889049137b8d65fb44ebf1 affected
0934d37596151edce115c6d0843a9ad7d5e5d232< 93d9a58961a9e09306857e999b3ee76aa4be67f0 affected
0934d37596151edce115c6d0843a9ad7d5e5d232< f1692337c6fa26e04f89b22a4d84bf5b7ada50d1 affected
0934d37596151edce115c6d0843a9ad7d5e5d232< 76e35091ffc722ba39b303e48bc5d08abb59dd56 affected
6.6 affected
< 6.6 unaffected
… +6 条更多
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-31584 基础信息

漏洞信息

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

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

Vulnerability Title
media: mediatek: vcodec: fix use-after-free in encoder release path
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: media: mediatek: vcodec: fix use-after-free in encoder release path The fops_vcodec_release() function frees the context structure (ctx) without first cancelling any pending or running work in ctx->encode_work. This creates a race window where the workqueue handler (mtk_venc_worker) may still be accessing the context memory after it has been freed. Race condition: CPU 0 (release path) CPU 1 (workqueue) --------------------- ------------------ fops_vcodec_release() v4l2_m2m_ctx_release() v4l2_m2m_cancel_job() // waits for m2m job "done" mtk_venc_worker() v4l2_m2m_job_finish() // m2m job "done" // BUT worker still running! // post-job_finish access: other ctx dereferences // UAF if ctx already freed // returns (job "done") kfree(ctx) // ctx freed Root cause: The v4l2_m2m_ctx_release() only waits for the m2m job lifecycle (via TRANS_RUNNING flag), not the workqueue lifecycle. After v4l2_m2m_job_finish() is called, the m2m framework considers the job complete and v4l2_m2m_ctx_release() returns, but the worker function continues executing and may still access ctx. The work is queued during encode operations via: queue_work(ctx->dev->encode_workqueue, &ctx->encode_work) The worker function accesses ctx->m2m_ctx, ctx->dev, and other ctx fields even after calling v4l2_m2m_job_finish(). This vulnerability was confirmed with KASAN by running an instrumented test module that widens the post-job_finish race window. KASAN detected: BUG: KASAN: slab-use-after-free in mtk_venc_worker+0x159/0x180 Read of size 4 at addr ffff88800326e000 by task kworker/u8:0/12 Workqueue: mtk_vcodec_enc_wq mtk_venc_worker Allocated by task 47: __kasan_kmalloc+0x7f/0x90 fops_vcodec_open+0x85/0x1a0 Freed by task 47: __kasan_slab_free+0x43/0x70 kfree+0xee/0x3a0 fops_vcodec_release+0xb7/0x190 Fix this by calling cancel_work_sync(&ctx->encode_work) before kfree(ctx). This ensures the workqueue handler is both cancelled (if pending) and synchronized (waits for any running handler to complete) before the context is freed. Placement rationale: The fix is placed after v4l2_ctrl_handler_free() and before list_del_init(&ctx->list). At this point, all m2m operations are done (v4l2_m2m_ctx_release() has returned), and we need to ensure the workqueue is synchronized before removing ctx from the list and freeing it. Note: The open error path does NOT need cancel_work_sync() because INIT_WORK() only initializes the work structure - it does not schedule it. Work is only scheduled later during device_run() operations.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
来源: 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存在安全漏洞,该漏洞源于media mediatek vcodec中编码器释放路径释放后重用,可能导致访问已释放上下文内存。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux 0934d37596151edce115c6d0843a9ad7d5e5d232 ~ 9a9bdaf9dc42ccca50e53f82165292f74a365c11 -
Linux Linux 6.6 -

二、漏洞 CVE-2026-31584 的公开POC

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

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-31584 的情报信息

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

CVE-2026-31584 补丁与修复 (2)

同批安全公告 · Linux · 2026-04-24 · 共 138 条

CVE-2026-31633 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2026-31589 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2026-31637 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2026-31669 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2026-31668 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2026-31536 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2026-31649 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2026-31607 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2026-31608 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2026-31609 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2026-31657 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2026-31659 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2026-31636 9.1 CRITICAL Linux kernel 安全漏洞
CVE-2026-31629 8.8 HIGH Linux kernel 安全漏洞
CVE-2026-31588 8.8 HIGH Linux kernel 安全漏洞
CVE-2026-31570 8.8 HIGH Linux kernel 安全漏洞
CVE-2026-31558 8.8 HIGH Linux kernel 安全漏洞
CVE-2026-31553 8.8 HIGH Linux kernel 安全漏洞
CVE-2026-31622 8.8 HIGH Linux kernel 安全漏洞
CVE-2026-31611 8.6 HIGH Linux kernel 安全漏洞

显示前 20 条,共 138 条。 查看全部 &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2026-31584

暂无评论


发表评论