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

目标: 1000 元 · 已筹: 1359 元

100%

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

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于soundwire未正确处理驱动解绑,可能导致空指针取消引用。

AI 预测 5.5 利用难度: 中等 EPSS 0.19% · P9

影响版本矩阵 10

厂商产品 版本范围状态
Linux Linux 56d4fe31af77f684bed62fb8201e6327e6ddf4e6< 250b46505175889c6b5958c3829f610f52199f5f affected
56d4fe31af77f684bed62fb8201e6327e6ddf4e6< 8fd6b03646b9a9e16d1ec19bd724cd6bd78e0ea5 affected
56d4fe31af77f684bed62fb8201e6327e6ddf4e6< 432b30f08ca3303d2ebb22352cb04c4b6cfefe65 affected
56d4fe31af77f684bed62fb8201e6327e6ddf4e6< bd29c00edd0a5dac8b6e7332bb470cd50f92e893 affected
4.16 affected
< 4.16 unaffected
5.15.61≤ 5.15.* unaffected
5.18.18≤ 5.18.* unaffected
… +2 条更多
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
soundwire: revisit driver bind/unbind and callbacks
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: soundwire: revisit driver bind/unbind and callbacks In the SoundWire probe, we store a pointer from the driver ops into the 'slave' structure. This can lead to kernel oopses when unbinding codec drivers, e.g. with the following sequence to remove machine driver and codec driver. /sbin/modprobe -r snd_soc_sof_sdw /sbin/modprobe -r snd_soc_rt711 The full details can be found in the BugLink below, for reference the two following examples show different cases of driver ops/callbacks being invoked after the driver .remove(). kernel: BUG: kernel NULL pointer dereference, address: 0000000000000150 kernel: Workqueue: events cdns_update_slave_status_work [soundwire_cadence] kernel: RIP: 0010:mutex_lock+0x19/0x30 kernel: Call Trace: kernel: ? sdw_handle_slave_status+0x426/0xe00 [soundwire_bus 94ff184bf398570c3f8ff7efe9e32529f532e4ae] kernel: ? newidle_balance+0x26a/0x400 kernel: ? cdns_update_slave_status_work+0x1e9/0x200 [soundwire_cadence 1bcf98eebe5ba9833cd433323769ac923c9c6f82] kernel: BUG: unable to handle page fault for address: ffffffffc07654c8 kernel: Workqueue: pm pm_runtime_work kernel: RIP: 0010:sdw_bus_prep_clk_stop+0x6f/0x160 [soundwire_bus] kernel: Call Trace: kernel: <TASK> kernel: sdw_cdns_clock_stop+0xb5/0x1b0 [soundwire_cadence 1bcf98eebe5ba9833cd433323769ac923c9c6f82] kernel: intel_suspend_runtime+0x5f/0x120 [soundwire_intel aca858f7c87048d3152a4a41bb68abb9b663a1dd] kernel: ? dpm_sysfs_remove+0x60/0x60 This was not detected earlier in Intel tests since the tests first remove the parent PCI device and shut down the bus. The sequence above is a corner case which keeps the bus operational but without a driver bound. While trying to solve this kernel oopses, it became clear that the existing SoundWire bus does not deal well with the unbind case. Commit 528be501b7d4a ("soundwire: sdw_slave: add probe_complete structure and new fields") added a 'probed' status variable and a 'probe_complete' struct completion. This status is however not reset on remove and likewise the 'probe complete' is not re-initialized, so the bind/unbind/bind test cases would fail. The timeout used before the 'update_status' callback was also a bad idea in hindsight, there should really be no timing assumption as to if and when a driver is bound to a device. An initial draft was based on device_lock() and device_unlock() was tested. This proved too complicated, with deadlocks created during the suspend-resume sequences, which also use the same device_lock/unlock() as the bind/unbind sequences. On a CometLake device, a bad DSDT/BIOS caused spurious resumes and the use of device_lock() caused hangs during suspend. After multiple weeks or testing and painful reverse-engineering of deadlocks on different devices, we looked for alternatives that did not interfere with the device core. A bus notifier was used successfully to keep track of DRIVER_BOUND and DRIVER_UNBIND events. This solved the bind-unbind-bind case in tests, but it can still be defeated with a theoretical corner case where the memory is freed by a .remove while the callback is in use. The notifier only helps make sure the driver callbacks are valid, but not that the memory allocated in probe remains valid while the callbacks are invoked. This patch suggests the introduction of a new 'sdw_dev_lock' mutex protecting probe/remove and all driver callbacks. Since this mutex is 'local' to SoundWire only, it does not interfere with existing locks and does not create deadlocks. In addition, this patch removes the 'probe_complete' completion, instead we directly invoke the 'update_status' from the probe routine. That removes any sort of timing dependency and a much better support for the device/driver model, the driver could be bound before the bus started, or eons after the bus started and the hardware would be properly initialized in all cases. BugLink: https://github.com/thesofproject/linux/is ---truncated---
来源: CVE Program / CVE List V5
CVSS Information
N/A
来源: 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存在安全漏洞,该漏洞源于soundwire未正确处理驱动解绑,可能导致空指针取消引用。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux 56d4fe31af77f684bed62fb8201e6327e6ddf4e6 ~ 250b46505175889c6b5958c3829f610f52199f5f -
Linux Linux 4.16 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

同批安全公告 · Linux · 2025-06-18 · 共 362 条

CVE-2025-38075 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2022-50098 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-38052 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-49934 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-50164 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-38016 8.8 HIGH Linux kernel 安全漏洞
CVE-2025-38074 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-49974 8.8 HIGH Linux kernel 安全漏洞
CVE-2022-49968 8.0 HIGH Linux kernel 安全漏洞
CVE-2022-49944 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-49950 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-49939 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-50028 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-49935 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-38082 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-50182 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-38080 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-38060 7.8 HIGH Linux kernel 安全漏洞
CVE-2022-50101 7.8 HIGH Linux kernel 安全漏洞
CVE-2025-38062 7.8 HIGH Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2022-50144

暂无评论


发表评论