CVE-2023-54207
Last modified
CVE-2023-54207 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: HID: uclogic: 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. EPSS estimates a 0.13% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: HID: uclogic: 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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.1, < 5.10.249 |
| Linux | Linux Kernel | >= 5.11, < 5.15.199 |
| Linux | Linux Kernel | >= 5.16, < 6.1.53 |
| Linux | Linux Kernel | >= 6.2, < 6.4.16 |
| Linux | Linux Kernel | >= 6.5, < 6.5.3 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2023-54207?
How severe is CVE-2023-54207?
How do I fix CVE-2023-54207?
Are you affected by CVE-2023-54207?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
