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

目标: 1000 元 · 已筹: 1336

100%

CVE-2022-49789— Linux kernel 安全漏洞

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于zfcp驱动中FSF请求ID类型不匹配导致双重释放,可能导致内存损坏。

CVSS 7.0 · High EPSS 0.19% · P9

可能的 ATT&CK 技术 1 AI

T1211 · Exploitation for Stealth

影响版本矩阵 12

厂商产品 版本范围状态
Linux Linux e60a6d69f1f84c2ef1cc63aefaadfe7ae9f12934< 1bf8ed585501bb2dd0b5f67c824eab45adfbdccd affected
e60a6d69f1f84c2ef1cc63aefaadfe7ae9f12934< d2c7d8f58e9cde8ac8d1f75e9d66c2a813ffe0ab affected
e60a6d69f1f84c2ef1cc63aefaadfe7ae9f12934< 11edbdee4399401f533adda9bffe94567aa08b96 affected
e60a6d69f1f84c2ef1cc63aefaadfe7ae9f12934< 90a49a6b015fa439cd62e45121390284c125a91f affected
e60a6d69f1f84c2ef1cc63aefaadfe7ae9f12934< 0954256e970ecf371b03a6c9af2cf91b9c4085ff affected
2.6.34 affected
< 2.6.34 unaffected
5.4.225≤ 5.4.* unaffected
… +4 条更多
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2022-49789 基础信息

漏洞信息

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

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

Vulnerability Title
scsi: zfcp: Fix double free of FSF request when qdio send fails
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: scsi: zfcp: Fix double free of FSF request when qdio send fails We used to use the wrong type of integer in 'zfcp_fsf_req_send()' to cache the FSF request ID when sending a new FSF request. This is used in case the sending fails and we need to remove the request from our internal hash table again (so we don't keep an invalid reference and use it when we free the request again). In 'zfcp_fsf_req_send()' we used to cache the ID as 'int' (signed and 32 bit wide), but the rest of the zfcp code (and the firmware specification) handles the ID as 'unsigned long'/'u64' (unsigned and 64 bit wide [s390x ELF ABI]). For one this has the obvious problem that when the ID grows past 32 bit (this can happen reasonably fast) it is truncated to 32 bit when storing it in the cache variable and so doesn't match the original ID anymore. The second less obvious problem is that even when the original ID has not yet grown past 32 bit, as soon as the 32nd bit is set in the original ID (0x80000000 = 2'147'483'648) we will have a mismatch when we cast it back to 'unsigned long'. As the cached variable is of a signed type, the compiler will choose a sign-extending instruction to load the 32 bit variable into a 64 bit register (e.g.: 'lgf %r11,188(%r15)'). So once we pass the cached variable into 'zfcp_reqlist_find_rm()' to remove the request again all the leading zeros will be flipped to ones to extend the sign and won't match the original ID anymore (this has been observed in practice). If we can't successfully remove the request from the hash table again after 'zfcp_qdio_send()' fails (this happens regularly when zfcp cannot notify the adapter about new work because the adapter is already gone during e.g. a ChpID toggle) we will end up with a double free. We unconditionally free the request in the calling function when 'zfcp_fsf_req_send()' fails, but because the request is still in the hash table we end up with a stale memory reference, and once the zfcp adapter is either reset during recovery or shutdown we end up freeing the same memory twice. The resulting stack traces vary depending on the kernel and have no direct correlation to the place where the bug occurs. Here are three examples that have been seen in practice: list_del corruption. next->prev should be 00000001b9d13800, but was 00000000dead4ead. (next=00000001bd131a00) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:62! monitor event: 0040 ilc:2 [#1] PREEMPT SMP Modules linked in: ... CPU: 9 PID: 1617 Comm: zfcperp0.0.1740 Kdump: loaded Hardware name: ... Krnl PSW : 0704d00180000000 00000003cbeea1f8 (__list_del_entry_valid+0x98/0x140) R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:3 CC:1 PM:0 RI:0 EA:3 Krnl GPRS: 00000000916d12f1 0000000080000000 000000000000006d 00000003cb665cd6 0000000000000001 0000000000000000 0000000000000000 00000000d28d21e8 00000000d3844000 00000380099efd28 00000001bd131a00 00000001b9d13800 00000000d3290100 0000000000000000 00000003cbeea1f4 00000380099efc70 Krnl Code: 00000003cbeea1e8: c020004f68a7 larl %r2,00000003cc8d7336 00000003cbeea1ee: c0e50027fd65 brasl %r14,00000003cc3e9cb8 #00000003cbeea1f4: af000000 mc 0,0 >00000003cbeea1f8: c02000920440 larl %r2,00000003cd12aa78 00000003cbeea1fe: c0e500289c25 brasl %r14,00000003cc3fda48 00000003cbeea204: b9040043 lgr %r4,%r3 00000003cbeea208: b9040051 lgr %r5,%r1 00000003cbeea20c: b9040032 lgr %r3,%r2 Call Trace: [<00000003cbeea1f8>] __list_del_entry_valid+0x98/0x140 ([<00000003cbeea1f4>] __list_del_entry_valid+0x94/0x140) [<000003ff7ff502fe>] zfcp_fsf_req_dismiss_all+0xde/0x150 [zfcp] [<000003ff7ff49cd0>] zfcp_erp_strategy_do_action+0x160/0x280 [zfcp] ---truncated---
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/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存在安全漏洞,该漏洞源于zfcp驱动中FSF请求ID类型不匹配导致双重释放,可能导致内存损坏。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux e60a6d69f1f84c2ef1cc63aefaadfe7ae9f12934 ~ 1bf8ed585501bb2dd0b5f67c824eab45adfbdccd -
Linux Linux 2.6.34 -

二、漏洞 CVE-2022-49789 的公开POC

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

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2022-49789 的情报信息

登录查看更多情报信息。

CVE-2022-49789 补丁与修复 (5)

同批安全公告 · Linux · 2025-05-01 · 共 245 条

CVE-2025-37750 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2025-37778 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-49770 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-49931 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-37776 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-37777 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-37790 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-49910 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-49886 8.4 HIGH Linux kernel 安全漏洞
CVE-2025-23159 8.4 HIGH Linux kernel 安全漏洞
CVE-2025-37749 8.2 HIGH Linux kernel 安全漏洞
CVE-2025-37765 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-37779 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-49920 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-49919 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-49921 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-37752 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-37756 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-37761 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-49804 7.8 HIGH Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2022-49789

暂无评论


发表评论