HID: wacom: Use ktime_t rather than int when dealing with timestamps
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 17d793f3ed53080dab6bbeabfc82de890c901001 · < d0198363f9108e4adb2511e607ba91e44779e8b1| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
HID: wacom: Use ktime_t rather than int when dealing with timestamps
Code which interacts with timestamps needs to use the ktime_t type returned by functions like ktime_get. The int type does not offer enough space to store these values, and attempting to use it is a recipe for problems. In this particular case, overflows would occur when calculating/storing timestamps leading to incorrect values being reported to userspace. In some cases these bad timestamps cause input handling in userspace to appear hung.
From the CVE record · Linux
The Linux kernel's Wacom HID code stores timestamps in an int that can overflow, causing incorrect values to be reported to userspace. In some cases, input handling in userspace can appear hung. The input does not describe an attacker action or specify access, authentication, or user-interaction conditions.
Engineers running Linux kernels with the Wacom HID code should check their versions; affected versions were not provided.