Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected c849a6143bec520aff2a6646518b0d041402428b before 3ffb088a2ed34ca982cfc2c81d107ce370aa45f1; affected c849a6143bec520aff2a6646518b0d041402428b before 2c35cdeb13a0c52429501e66f368fa59cad235f6; affected c849a6143bec520aff2a6646518b0d041402428b before 98201b46f7e33fe11af6f024fecb40fb56634225; affected c849a6143bec520aff2a6646518b0d041402428b before 9a3da56aae28e1ad3a3e591f72a537742053ecd2; affected c849a6143bec520aff2a6646518b0d041402428b before edd490b8ad85c052eaf10dcc9f390ea54f1e1b39; affected c849a6143bec520aff2a6646518b0d041402428b before 01eeb601a1626e683fb7b77c63f442b06fb87093; affected c849a6143bec520aff2a6646518b0d041402428b before b85d1000eb8842768970f2fd0a8fd362472d02d5; affected c849a6143bec520aff2a6646518b0d041402428b before 207853d46f7ef2e28042344a1468da8754c3ddbf |
| Linux / Linux | affected 3.10; unaffected 0 before 3.10; unaffected 5.10.270 through 5.10.*; unaffected 5.15.221 through 5.15.*; unaffected 6.1.188 through 6.1.*; unaffected 6.6.157 through 6.6.*; unaffected 6.12.110 through 6.12.*; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/3ffb088a2ed34ca982cfc2c81d107ce370aa45f1
- https://git.kernel.org/stable/c/2c35cdeb13a0c52429501e66f368fa59cad235f6
- https://git.kernel.org/stable/c/98201b46f7e33fe11af6f024fecb40fb56634225
- https://git.kernel.org/stable/c/9a3da56aae28e1ad3a3e591f72a537742053ecd2
- https://git.kernel.org/stable/c/edd490b8ad85c052eaf10dcc9f390ea54f1e1b39
- https://git.kernel.org/stable/c/01eeb601a1626e683fb7b77c63f442b06fb87093
- https://git.kernel.org/stable/c/b85d1000eb8842768970f2fd0a8fd362472d02d5
- https://git.kernel.org/stable/c/207853d46f7ef2e28042344a1468da8754c3ddbf