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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2025-22083— Linux kernel 安全漏洞

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于vhost-scsi多次调用set_endpoint时存在释放后重用风险。

CVSS 7.8 · High EPSS 0.21% · P10

影响版本矩阵 14

厂商产品 版本范围状态
Linux Linux 4f7f46d32c9875004fae1d57ae3c02cc2e6cd6a3< 451c72f5e7cf5d339a6410a635cee0825687c3dc affected
4f7f46d32c9875004fae1d57ae3c02cc2e6cd6a3< 2b34bdc42df047794542f3e220fe989124e4499a affected
4f7f46d32c9875004fae1d57ae3c02cc2e6cd6a3< 3a19eb3d9818e28f14c818a18dc913344a52ca92 affected
4f7f46d32c9875004fae1d57ae3c02cc2e6cd6a3< 3fd054baf382a426bbf5135ede0fc5673db74d3e affected
4f7f46d32c9875004fae1d57ae3c02cc2e6cd6a3< 63b449f73ab0dcc0ba11ceaa4c5c70bc86ccf03c affected
4f7f46d32c9875004fae1d57ae3c02cc2e6cd6a3< 5dd639a1646ef5fe8f4bf270fad47c5c3755b9b6 affected
3.9 affected
< 3.9 unaffected
… +6 条更多
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2025-22083 基础信息

漏洞信息

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

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

Vulnerability Title
vhost-scsi: Fix handling of multiple calls to vhost_scsi_set_endpoint
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: vhost-scsi: Fix handling of multiple calls to vhost_scsi_set_endpoint If vhost_scsi_set_endpoint is called multiple times without a vhost_scsi_clear_endpoint between them, we can hit multiple bugs found by Haoran Zhang: 1. Use-after-free when no tpgs are found: This fixes a use after free that occurs when vhost_scsi_set_endpoint is called more than once and calls after the first call do not find any tpgs to add to the vs_tpg. When vhost_scsi_set_endpoint first finds tpgs to add to the vs_tpg array match=true, so we will do: vhost_vq_set_backend(vq, vs_tpg); ... kfree(vs->vs_tpg); vs->vs_tpg = vs_tpg; If vhost_scsi_set_endpoint is called again and no tpgs are found match=false so we skip the vhost_vq_set_backend call leaving the pointer to the vs_tpg we then free via: kfree(vs->vs_tpg); vs->vs_tpg = vs_tpg; If a scsi request is then sent we do: vhost_scsi_handle_vq -> vhost_scsi_get_req -> vhost_vq_get_backend which sees the vs_tpg we just did a kfree on. 2. Tpg dir removal hang: This patch fixes an issue where we cannot remove a LIO/target layer tpg (and structs above it like the target) dir due to the refcount dropping to -1. The problem is that if vhost_scsi_set_endpoint detects a tpg is already in the vs->vs_tpg array or if the tpg has been removed so target_depend_item fails, the undepend goto handler will do target_undepend_item on all tpgs in the vs_tpg array dropping their refcount to 0. At this time vs_tpg contains both the tpgs we have added in the current vhost_scsi_set_endpoint call as well as tpgs we added in previous calls which are also in vs->vs_tpg. Later, when vhost_scsi_clear_endpoint runs it will do target_undepend_item on all the tpgs in the vs->vs_tpg which will drop their refcount to -1. Userspace will then not be able to remove the tpg and will hang when it tries to do rmdir on the tpg dir. 3. Tpg leak: This fixes a bug where we can leak tpgs and cause them to be un-removable because the target name is overwritten when vhost_scsi_set_endpoint is called multiple times but with different target names. The bug occurs if a user has called VHOST_SCSI_SET_ENDPOINT and setup a vhost-scsi device to target/tpg mapping, then calls VHOST_SCSI_SET_ENDPOINT again with a new target name that has tpgs we haven't seen before (target1 has tpg1 but target2 has tpg2). When this happens we don't teardown the old target tpg mapping and just overwrite the target name and the vs->vs_tpg array. Later when we do vhost_scsi_clear_endpoint, we are passed in either target1 or target2's name and we will only match that target's tpgs when we loop over the vs->vs_tpg. We will then return from the function without doing target_undepend_item on the tpgs. Because of all these bugs, it looks like being able to call vhost_scsi_set_endpoint multiple times was never supported. The major user, QEMU, already has checks to prevent this use case. So to fix the issues, this patch prevents vhost_scsi_set_endpoint from being called if it's already successfully added tpgs. To add, remove or change the tpg config or target name, you must do a vhost_scsi_clear_endpoint first.
来源: 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存在安全漏洞,该漏洞源于vhost-scsi多次调用set_endpoint时存在释放后重用风险。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux 4f7f46d32c9875004fae1d57ae3c02cc2e6cd6a3 ~ 451c72f5e7cf5d339a6410a635cee0825687c3dc -
Linux Linux 3.9 -

二、漏洞 CVE-2025-22083 的公开POC

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

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2025-22083 的情报信息

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

CVE-2025-22083 其他参考 (5)

同批安全公告 · Linux · 2025-04-16 · 共 127 条

CVE-2025-22021 10.0 CRITICAL Linux kernel 安全漏洞
CVE-2025-22088 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-22110 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-22077 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-22086 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-22118 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-22074 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-22040 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-22041 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-22039 8.8 HIGH Linux kernel 安全漏洞
CVE-2024-58096 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-23133 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-22117 8.7 HIGH Linux kernel 安全漏洞
CVE-2025-22108 8.6 HIGH Linux kernel 安全漏洞
CVE-2025-22080 8.4 HIGH Linux kernel 安全漏洞
CVE-2025-22121 8.4 HIGH Linux kernel 安全漏洞
CVE-2025-22038 8.3 HIGH Linux kernel 安全漏洞
CVE-2025-22042 8.1 HIGH Linux kernel 安全漏洞
CVE-2025-22043 8.1 HIGH Linux kernel 安全漏洞
CVE-2025-22047 7.8 HIGH Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2025-22083

暂无评论


发表评论