HID: synchronize input before cleaning up a failed probe
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From c849a6143bec520aff2a6646518b0d041402428b · fixed in 3ffb088a2ed34ca982cfc2c81d107ce370aa45f1; From c849a6143bec520aff2a6646518b0d041402428b · fixed in 2c35cdeb13a0c52429501e66f368fa59cad235f6; From c849a6143bec520aff2a6646518b0d041402428b · fixed in 98201b46f7e33fe11af6f024fecb40fb56634225; From c849a6143bec520aff2a6646518b0d041402428b · fixed in 9a3da56aae28e1ad3a3e591f72a537742053ecd2; From c849a6143bec520aff2a6646518b0d041402428b · fixed in edd490b8ad85c052eaf10dcc9f390ea54f1e1b39; From c849a6143bec520aff2a6646518b0d041402428b · fixed in 01eeb601a1626e683fb7b77c63f442b06fb87093; From c849a6143bec520aff2a6646518b0d041402428b · fixed in b85d1000eb8842768970f2fd0a8fd362472d02d5; From c849a6143bec520aff2a6646518b0d041402428b · fixed in 207853d46f7ef2e28042344a1468da8754c3ddbf
- Linux Linux
3.10
- KernelLinux
From 3.10.0 · fixed in 5.10.270; From 5.11.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6
References 8
git.kernel.org
- stable/c/3ffb088a2ed34ca982cfc2c81d107ce370aa45f1
- stable/c/2c35cdeb13a0c52429501e66f368fa59cad235f6
- stable/c/98201b46f7e33fe11af6f024fecb40fb56634225
- stable/c/9a3da56aae28e1ad3a3e591f72a537742053ecd2
- stable/c/edd490b8ad85c052eaf10dcc9f390ea54f1e1b39
- stable/c/01eeb601a1626e683fb7b77c63f442b06fb87093
- stable/c/b85d1000eb8842768970f2fd0a8fd362472d02d5
- stable/c/207853d46f7ef2e28042344a1468da8754c3ddbf