7.8

CVE-2023-53454

HID: multitouch: Correct devm device reference for hidinput input_dev name

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
LinuxLinux Kernel Version >= 3.12 < 4.14.326
LinuxLinux Kernel Version >= 4.15 < 4.19.295
LinuxLinux Kernel Version >= 4.20 < 5.4.257
LinuxLinux Kernel Version >= 5.5 < 5.10.195
LinuxLinux Kernel Version >= 5.11 < 5.15.132
LinuxLinux Kernel Version >= 5.16 < 6.1.53
LinuxLinux Kernel Version >= 6.2 < 6.4.16
LinuxLinux Kernel Version >= 6.5 < 6.5.3
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.15% 0.048
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 7.8 1.8 5.9
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-416 Use After Free

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

https://git.kernel.org/stable/c/15ec7cb55e7d88755aa01d44a7a1015a42bfce86
Patch
https://git.kernel.org/stable/c/1d7833db9fd118415dace2ca157bfa603dec9c8c
Patch
https://git.kernel.org/stable/c/2763732ec1e68910719c75b6b896e11b6d3d622b
Patch
https://git.kernel.org/stable/c/39c70c19456e50dcb3abfe53539220dff0490f1d
Patch
https://git.kernel.org/stable/c/4794394635293a3e74591351fff469cea7ad15a2
Patch
https://git.kernel.org/stable/c/ac0d389402a6ff9ad92cea02c2d8c711483b91ab
Patch
https://git.kernel.org/stable/c/b70ac7849248ec8128fa12f86e3655ba38838f29
Patch
https://git.kernel.org/stable/c/dde88ab4e45beb60b217026207aa9c14c88d71ab
Patch
https://git.kernel.org/stable/c/df7ca43fe090e1a56c216c8ebc106ef5fd49afc6
Patch