HID: synchronize input before cleaning up a failed probe
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel edd490b8ad85c052eaf10dcc9f390ea54f1e1b39, Kernel 01eeb601a1626e683fb7b77c63f442b06fb87093, Kernel 207853d46f7ef2e28042344a1468da8754c3ddbf and 12 more.
In the Linux kernel, the following vulnerability has been resolved: HID: synchronize input before cleaning up a failed probe hid_device_io_start() allows reports to run concurrently with probe. If the probe subsequently fails, __hid_device_probe() releases driver resources and clears hdev->driver without first excluding those report callbacks. For example, a report may enter hidraw_report_event() while the failure path frees the associated hidraw object, leading to a use-after-free when the report takes the object's list lock. Stop input before performing failed-probe cleanup. This reacquires driver_input_lock and waits for any report callback already in progress.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=c849a6143bec520aff2a6646518b0d041402428b <edd490b8ad85c052eaf10dcc9f390ea54f1e1b39, >=c849a6143bec520aff2a6646518b0d041402428b <01eeb601a1626e683fb7b77c63f442b06fb87093, >=c849a6143bec520aff2a6646518b0d041402428b <207853d46f7ef2e28042344a1468da8754c3ddbf, >=c849a6143bec520aff2a6646518b0d041402428b <2c35cdeb13a0c52429501e66f368fa59cad235f6, >=c849a6143bec520aff2a6646518b0d041402428b <3ffb088a2ed34ca982cfc2c81d107ce370aa45f1, >=c849a6143bec520aff2a6646518b0d041402428b <98201b46f7e33fe11af6f024fecb40fb56634225, >=c849a6143bec520aff2a6646518b0d041402428b <9a3da56aae28e1ad3a3e591f72a537742053ecd2, >=c849a6143bec520aff2a6646518b0d041402428b <b85d1000eb8842768970f2fd0a8fd362472d02d5, =3.10 | edd490b8ad85c052eaf10dcc9f390ea54f1e1b39, 01eeb601a1626e683fb7b77c63f442b06fb87093, 207853d46f7ef2e28042344a1468da8754c3ddbf, 2c35cdeb13a0c52429501e66f368fa59cad235f6, 3ffb088a2ed34ca982cfc2c81d107ce370aa45f1, 98201b46f7e33fe11af6f024fecb40fb56634225, 9a3da56aae28e1ad3a3e591f72a537742053ecd2, b85d1000eb8842768970f2fd0a8fd362472d02d5 |
| linux-kernel: Kernel | >=5.11.0 <5.15.221, >=5.16.0 <6.1.188, >=6.13.0 <6.18.52, >=6.19.0 <7.2.6, >=6.2.0 <6.6.157, >=6.7.0 <6.12.110, >=3.10.0 <5.10.270 | 5.15.221, 6.1.188, 6.18.52, 7.2.6, 6.6.157, 6.12.110, 5.10.270 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket