CVE-2023-53454
8.8high
HID: multitouch: Correct devm device reference for hidinput input_dev name
- Severity
- 8.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.24% (higher than 16% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: HID: multitouch: Correct devm device reference for hidinput input_dev name Reference the HID device rather than the input device for the devm allocation of the input_dev name. Referencing the input_dev would lead to a use-after-free when the input_dev was unregistered and subsequently fires a uevent that depends on the name. At the point of firing the uevent, the name would be freed by devres management. Use devm_kasprintf to simplify the logic for allocating memory and formatting the input_dev name string.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from c08d46aa805ba46d501f610c2448d07bea979780 before ac0d389402a6ff9ad92cea02c2d8c711483b91ab, from c08d46aa805ba46d501f610c2448d07bea979780 before 39c70c19456e50dcb3abfe53539220dff0490f1d, from c08d46aa805ba46d501f610c2448d07bea979780 before df7ca43fe090e1a56c216c8ebc106ef5fd49afc6, from c08d46aa805ba46d501f610c2448d07bea979780 before 15ec7cb55e7d88755aa01d44a7a1015a42bfce86, from c08d46aa805ba46d501f610c2448d07bea979780 before dde88ab4e45beb60b217026207aa9c14c88d71ab, from c08d46aa805ba46d501f610c2448d07bea979780 before 2763732ec1e68910719c75b6b896e11b6d3d622b, from c08d46aa805ba46d501f610c2448d07bea979780 before 1d7833db9fd118415dace2ca157bfa603dec9c8c, from c08d46aa805ba46d501f610c2448d07bea979780 before b70ac7849248ec8128fa12f86e3655ba38838f29 and 2 more Not affected: before 3.12, from 4.14.326 up to 4.14.*, from 4.19.295 up to 4.19.*, from 5.4.257 up to 5.4.*, from 5.10.195 up to 5.10.*, from 5.15.132 up to 5.15.* | CVE List |
| linux linux_kernel | from 3.12 before 4.14.326, from 4.15 before 4.19.295, from 4.20 before 5.4.257, from 5.5 before 5.10.195, from 5.11 before 5.15.132, from 5.16 before 6.1.53, from 6.2 before 6.4.16, from 6.5 before 6.5.3 | NVD |
All scores
| Linux | 8.8high CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-53454 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2023-53454 changed 2026-10-15 | Public domain |