HID: synchronize input before cleaning up a failed probe
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 8.8epss 0.4%
exploitation probability
0.4%top 68% of all CVEs
observed exploitation
nono source reports it
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.
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/01eeb601a1626e683fb7b77c63f442b06fb87093https://git.kernel.org/stable/c/207853d46f7ef2e28042344a1468da8754c3ddbfhttps://git.kernel.org/stable/c/2c35cdeb13a0c52429501e66f368fa59cad235f6https://git.kernel.org/stable/c/3ffb088a2ed34ca982cfc2c81d107ce370aa45f1https://git.kernel.org/stable/c/98201b46f7e33fe11af6f024fecb40fb56634225https://git.kernel.org/stable/c/9a3da56aae28e1ad3a3e591f72a537742053ecd2https://git.kernel.org/stable/c/b85d1000eb8842768970f2fd0a8fd362472d02d5https://git.kernel.org/stable/c/edd490b8ad85c052eaf10dcc9f390ea54f1e1b39