CVE 记录列出的受影响产品:Linux · Linuxnday 产品登记表中 Linux kernel 的产品类型
当前阶段
DIS
披露
CVSS
暂无评分
# 生命周期
横轴 UTC;点=精确到分钟,宽条=仅日期,空心=未知或推定。
时间未知
DIS披露
PAT补丁
尚无记录
ANA分析
尚无记录
POCPoC
尚无记录
ITW在野
尚无记录
KEVKEV
尚无记录
# 摘要
In the Linux kernel, the following vulnerability has been resolved:
serial: sc16is7xx: setup GPIO controller later in probe
The GPIO controller component of the sc16is7xx driver is setup too
early, which can result in a race condition where another device tries
to utilise the GPIO lines before the sc16is7xx device has finished
initialising.
This issue manifests itself as an Oops when the GPIO lines are configured:
Unable to handle kernel read from unreadable memory at virtual address
...
pc : sc16is7xx_gpio_direction_output+0x68/0x108 [sc16is7xx]lr : sc16is7xx_gpio_direction_output+0x4c/0x108 [sc16is7xx]...
Call trace:sc16is7xx_gpio_direction_output+0x68/0x108 [sc16is7xx]gpiod_direction_output_raw_commit+0x64/0x318gpiod_direction_output+0xb0/0x170create_gpio_led+0xec/0x198gpio_led_probe+0x16c/0x4f0platform_drv_probe+0x5c/0xb0really_probe+0xe8/0x448driver_probe_device+0xe8/0x138__device_attach_driver+0x94/0x118bus_for_each_drv+0x8c/0xe0__device_attach+0x100/0x1b8device_initial_probe+0x28/0x38bus_probe_device+0xa4/0xb0deferred_probe_work_func+0x90/0xe0process_one_work+0x1c4/0x480worker_thread+0x54/0x430kthread+0x138/0x150ret_from_fork+0x10/0x1c
This patch moves the setup of the GPIO controller functions to later in the
probe function, ensuring the sc16is7xx device has already finished
initialising by the time other devices try to make use of the GPIO lines.
The error handling has also been reordered to reflect the new
initialisation order.