CVE-2026-89983 in Linux信息

摘要

由 VulDB • 2026-09-16

在 Linux 内核中,已修复以下漏洞:

i2c: core: 修复适配器移除时的 debugfs Use-After-Free (UAF) 问题

`i2c_del_adapter()` 函数在注销适配器设备之前释放了适配器的 debugfs 目录,但 `new_device` sysfs 属性直到调用 `device_del()` 时才变为不可写。与移除操作竞态的写入请求仍会到达 `i2c_device_probe()`,后者将已释放的 `adap->debugfs` 作为新客户端的父级传递给 `debugfs_create_dir()`:

``` BUG: KASAN: slab-use-after-free in lookup_noperm_common+0x407/0x430 Read of size 4 at addr ffff88803ef87810 by task syz.0.61/6090 lookup_noperm_common+0x407/0x430 simple_start_creating+0x9c/0x110 debugfs_start_creating+0xdb/0x1a0 debugfs_create_dir+0x24/0x350 i2c_device_probe+0x814/0xbf0 ```

从技术上讲,在 `i2c_deregister_clients` 执行后创建客户端是可能的。该客户端永远不会被注销,并导致 `wait_for_completion` 挂起。

通过在 `i2c_del_adapter()` 开始时移除 `new_device` 属性来关闭此竞态窗口。`device_remove_file()` 将清理遗留的任何客户端。

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

来源

Do you know our Splunk app?

Download it now for free!