CVE
CVE-2024-49981
CNA 原文 · 原文(英文)
In the Linux kernel, the following vulnerability has been resolved: media: venus: fix use after free bug in venus_remove due to race condition in venus_probe, core->work is bound with venus_sys_error_handler, which is used to handle error. The code use core->sys_err_done to make sync work. The core->work is started in venus_event_notify. If we call venus_remove, there might be an unfished work. The possible sequence is as follows: CPU0 CPU1 |venus_sys_error_handler venus_remove | hfi_destroy | venus_hfi_destroy | kfree(hdev); | |hfi_reinit |venus_hfi_queues_reinit |//use hdev Fix it by canceling the work in venus_remove.
受影响版本
- ≥ 6.11, < 6.11.3修复版本 6.11.3
- ≥ 6.7, < 6.10.14修复版本 6.10.14
- ≥ 6.2, < 6.6.55修复版本 6.6.55
- ≥ 5.16, < 6.1.113修复版本 6.1.113
- ≥ 5.11, < 5.15.168修复版本 5.15.168
- ≥ 4.13, < 5.10.227修复版本 5.10.227
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- git.kernel.org/stable/c/10941d4f99a5a34999121b314afcd9c0a1c14f15 · Patch
- git.kernel.org/stable/c/2a541fcc0bd2b05a458e9613376df1289ec11621 · Patch
- git.kernel.org/stable/c/60b6968341a6dd5353554f3e72db554693a128a5 · Patch
- git.kernel.org/stable/c/b0686aedc5f1343442d044bd64eeac7e7a391f4e · Patch
- git.kernel.org/stable/c/bf6be32e2d39f6301ff1831e249d32a8744ab28a · Patch
- git.kernel.org/stable/c/c5a85ed88e043474161bbfe54002c89c1cb50ee2 · Patch
- git.kernel.org/stable/c/d925e9f7fb5a2dbefd1a73fc01061f38c7becd4c · Patch
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。