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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-36894— Linux kernel 安全漏洞

一分钟漏洞结论

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

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 存在安全漏洞,该漏洞源于 usb:gadget:f_fs 模块存在竞争条件漏洞。

CVSS 7.8 · High EPSS 0.20% · P9

可能的 ATT&CK 技术 1 AI

T1055 · Process Injection

影响版本矩阵 18

厂商产品 版本范围状态
Linux Linux 2e4c7553cd6f9c68bb741582dcb614edcbeca70f< f71a53148ce34898fef099b75386a3a9f4449311 affected
2e4c7553cd6f9c68bb741582dcb614edcbeca70f< 9e72ef59cbe61cd1243857a6418ca92104275867 affected
2e4c7553cd6f9c68bb741582dcb614edcbeca70f< e500b1c4e29ad0bd1c1332a1eaea2913627a92dd affected
2e4c7553cd6f9c68bb741582dcb614edcbeca70f< 3613e5023f09b3308545e9d1acda86017ebd418a affected
2e4c7553cd6f9c68bb741582dcb614edcbeca70f< a0fdccb1c9e027e3195f947f61aa87d6d0d2ea14 affected
2e4c7553cd6f9c68bb741582dcb614edcbeca70f< 73c05ad46bb4fbbdb346004651576d1c8dbcffbb affected
2e4c7553cd6f9c68bb741582dcb614edcbeca70f< d7461830823242702f5d84084bcccb25159003f4 affected
2e4c7553cd6f9c68bb741582dcb614edcbeca70f< 24729b307eefcd7c476065cd7351c1a018082c19 affected
… +10 条更多
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2024-36894 基础信息

漏洞信息

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

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

Vulnerability Title
usb: gadget: f_fs: Fix race between aio_cancel() and AIO request complete
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_fs: Fix race between aio_cancel() and AIO request complete FFS based applications can utilize the aio_cancel() callback to dequeue pending USB requests submitted to the UDC. There is a scenario where the FFS application issues an AIO cancel call, while the UDC is handling a soft disconnect. For a DWC3 based implementation, the callstack looks like the following: DWC3 Gadget FFS Application dwc3_gadget_soft_disconnect() ... --> dwc3_stop_active_transfers() --> dwc3_gadget_giveback(-ESHUTDOWN) --> ffs_epfile_async_io_complete() ffs_aio_cancel() --> usb_ep_free_request() --> usb_ep_dequeue() There is currently no locking implemented between the AIO completion handler and AIO cancel, so the issue occurs if the completion routine is running in parallel to an AIO cancel call coming from the FFS application. As the completion call frees the USB request (io_data->req) the FFS application is also referencing it for the usb_ep_dequeue() call. This can lead to accessing a stale/hanging pointer. commit b566d38857fc ("usb: gadget: f_fs: use io_data->status consistently") relocated the usb_ep_free_request() into ffs_epfile_async_io_complete(). However, in order to properly implement locking to mitigate this issue, the spinlock can't be added to ffs_epfile_async_io_complete(), as usb_ep_dequeue() (if successfully dequeuing a USB request) will call the function driver's completion handler in the same context. Hence, leading into a deadlock. Fix this issue by moving the usb_ep_free_request() back to ffs_user_copy_worker(), and ensuring that it explicitly sets io_data->req to NULL after freeing it within the ffs->eps_lock. This resolves the race condition above, as the ffs_aio_cancel() routine will not continue attempting to dequeue a request that has already been freed, or the ffs_user_copy_work() not freeing the USB request until the AIO cancel is done referencing it. This fix depends on commit b566d38857fc ("usb: gadget: f_fs: use io_data->status consistently")
来源: 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 存在安全漏洞,该漏洞源于 usb:gadget:f_fs 模块存在竞争条件漏洞。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Linux Linux 2e4c7553cd6f9c68bb741582dcb614edcbeca70f ~ f71a53148ce34898fef099b75386a3a9f4449311 -
Linux Linux 3.15 -

二、漏洞 CVE-2024-36894 的公开POC

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

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2024-36894 的情报信息

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

CVE-2024-36894 其他参考 (7)

同批安全公告 · Linux · 2024-05-30 · 共 93 条

CVE-2024-36958 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2024-36886 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2024-36911 9.8 CRITICAL Linux kernel 安全漏洞
CVE-2024-36912 9.6 CRITICAL Linux kernel 安全漏洞
CVE-2024-36913 9.3 CRITICAL Linux kernel 安全漏洞
CVE-2024-36909 9.3 CRITICAL Linux kernel 安全漏洞
CVE-2024-36922 8.8 HIGH Linux kernel 安全漏洞
CVE-2024-36921 8.8 HIGH Linux kernel 安全漏洞
CVE-2024-36910 8.4 HIGH Linux kernel 安全漏洞
CVE-2024-36032 8.1 HIGH Linux kernel安全漏洞
CVE-2024-36933 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-36904 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-36914 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-36918 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-36018 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-36890 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-36940 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-36884 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-36928 7.8 HIGH Linux kernel 安全漏洞
CVE-2024-36883 7.8 HIGH Linux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-36894

暂无评论


发表评论