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

目标: 1000 元 · 已筹: 1336

100%

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

AI 预测 4.4 利用难度: 困难 EPSS 0.18% · P8

影响版本矩阵 14

厂商产品版本范围状态
LinuxLinux51c1064e82e77b39a49889287ca50709303e2f26< 2dfbb920a89bdc58087672ad5325dc6c588b6860affected
51c1064e82e77b39a49889287ca50709303e2f26< 2d008d4961b039d2edce8976289773961b7e5fb5affected
51c1064e82e77b39a49889287ca50709303e2f26< d38c49f7bdf14381270736299e2ff68ec248a017affected
51c1064e82e77b39a49889287ca50709303e2f26< 95ca7c90eaf5ea8a8460536535101e3e81160e2aaffected
51c1064e82e77b39a49889287ca50709303e2f26< ca710b5f40b8b16fdcad50bebd47f50e4c62d239affected
51c1064e82e77b39a49889287ca50709303e2f26< 02f6b0e1ec7e0e7d059dddc893645816552039daaffected
5.7affected
< 5.7unaffected
… +6 条更多
获取后续新漏洞提醒登录后订阅

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

漏洞信息

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

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

Vulnerability Title
gpiolib: cdev: Fix use after free in lineinfo_changed_notify
来源: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: gpiolib: cdev: Fix use after free in lineinfo_changed_notify The use-after-free issue occurs as follows: when the GPIO chip device file is being closed by invoking gpio_chrdev_release(), watched_lines is freed by bitmap_free(), but the unregistration of lineinfo_changed_nb notifier chain failed due to waiting write rwsem. Additionally, one of the GPIO chip's lines is also in the release process and holds the notifier chain's read rwsem. Consequently, a race condition leads to the use-after-free of watched_lines. Here is the typical stack when issue happened: [free] gpio_chrdev_release() --> bitmap_free(cdev->watched_lines) <-- freed --> blocking_notifier_chain_unregister() --> down_write(&nh->rwsem) <-- waiting rwsem --> __down_write_common() --> rwsem_down_write_slowpath() --> schedule_preempt_disabled() --> schedule() [use] st54spi_gpio_dev_release() --> gpio_free() --> gpiod_free() --> gpiod_free_commit() --> gpiod_line_state_notify() --> blocking_notifier_call_chain() --> down_read(&nh->rwsem); <-- held rwsem --> notifier_call_chain() --> lineinfo_changed_notify() --> test_bit(xxxx, cdev->watched_lines) <-- use after free The side effect of the use-after-free issue is that a GPIO line event is being generated for userspace where it shouldn't. However, since the chrdev is being closed, userspace won't have the chance to read that event anyway. To fix the issue, call the bitmap_free() function after the unregistration of lineinfo_changed_nb notifier chain.
来源: 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 存在安全漏洞,该漏洞源于 gpiolib:cdev 模块 lineinfo_changed_notify 中的释放后使用。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商产品影响版本CPE订阅
LinuxLinux 51c1064e82e77b39a49889287ca50709303e2f26 ~ 2dfbb920a89bdc58087672ad5325dc6c588b6860 -
LinuxLinux 5.7 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

CVE-2024-36899 补丁与修复 (3)

CVE-2024-36899 其他参考 (3)

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

CVE-2024-369589.8 CRITICALLinux kernel 安全漏洞
CVE-2024-368869.8 CRITICALLinux kernel 安全漏洞
CVE-2024-369119.8 CRITICALLinux kernel 安全漏洞
CVE-2024-369129.6 CRITICALLinux kernel 安全漏洞
CVE-2024-369139.3 CRITICALLinux kernel 安全漏洞
CVE-2024-369099.3 CRITICALLinux kernel 安全漏洞
CVE-2024-369228.8 HIGHLinux kernel 安全漏洞
CVE-2024-369218.8 HIGHLinux kernel 安全漏洞
CVE-2024-369108.4 HIGHLinux kernel 安全漏洞
CVE-2024-360328.1 HIGHLinux kernel安全漏洞
CVE-2024-369337.8 HIGHLinux kernel 安全漏洞
CVE-2024-369047.8 HIGHLinux kernel 安全漏洞
CVE-2024-369147.8 HIGHLinux kernel 安全漏洞
CVE-2024-369187.8 HIGHLinux kernel 安全漏洞
CVE-2024-360187.8 HIGHLinux kernel 安全漏洞
CVE-2024-368947.8 HIGHLinux kernel 安全漏洞
CVE-2024-368907.8 HIGHLinux kernel 安全漏洞
CVE-2024-369407.8 HIGHLinux kernel 安全漏洞
CVE-2024-369287.8 HIGHLinux kernel 安全漏洞
CVE-2024-368847.8 HIGHLinux kernel 安全漏洞

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-36899

暂无评论


发表评论