Linux
HID: synchronize input before cleaning up a failed probe
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= c849a6143bec520aff2a6646518b0d041402428b, < 3ffb088a2ed34ca982cfc2c81d107ce370aa45f1
- >= c849a6143bec520aff2a6646518b0d041402428b, < 2c35cdeb13a0c52429501e66f368fa59cad235f6
- >= c849a6143bec520aff2a6646518b0d041402428b, < 98201b46f7e33fe11af6f024fecb40fb56634225
- >= c849a6143bec520aff2a6646518b0d041402428b, < 9a3da56aae28e1ad3a3e591f72a537742053ecd2
- >= c849a6143bec520aff2a6646518b0d041402428b, < edd490b8ad85c052eaf10dcc9f390ea54f1e1b39
- >= c849a6143bec520aff2a6646518b0d041402428b, < 01eeb601a1626e683fb7b77c63f442b06fb87093
- >= c849a6143bec520aff2a6646518b0d041402428b, < b85d1000eb8842768970f2fd0a8fd362472d02d5
- >= c849a6143bec520aff2a6646518b0d041402428b, < 207853d46f7ef2e28042344a1468da8754c3ddbf
Fixed in 3ffb088a2ed34ca982cfc2c81d107ce370aa45f1, 2c35cdeb13a0c52429501e66f368fa59cad235f6, 98201b46f7e33fe11af6f024fecb40fb56634225, 9a3da56aae28e1ad3a3e591f72a537742053ecd2, edd490b8ad85c052eaf10dcc9f390ea54f1e1b39, 01eeb601a1626e683fb7b77c63f442b06fb87093, b85d1000eb8842768970f2fd0a8fd362472d02d5, 207853d46f7ef2e28042344a1468da8754c3ddbf
- 3.10
Fixed in 0, 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, 6.18.52, 7.2.6, 7.3
Mitigation
Upgrade Linux to 3ffb088a2ed34ca982cfc2c81d107ce370aa45f1 or 2c35cdeb13a0c52429501e66f368fa59cad235f6 or 98201b46f7e33fe11af6f024fecb40fb56634225 or 9a3da56aae28e1ad3a3e591f72a537742053ecd2 or edd490b8ad85c052eaf10dcc9f390ea54f1e1b39 or 01eeb601a1626e683fb7b77c63f442b06fb87093 or b85d1000eb8842768970f2fd0a8fd362472d02d5 or 207853d46f7ef2e28042344a1468da8754c3ddbf or later.
Upgrade Linux to 0 or 5.10.270 or 5.15.221 or 6.1.188 or 6.6.157 or 6.12.110 or 6.18.52 or 7.2.6 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.