CVE-2023-53797 HID: wacom: Use ktime_t rather than int when dealing with timestamps

High 7.1 Published Updated

Integer overflow in Wacom HID driver causes incorrect timestamps, leading to potential input handling hangs in userspace.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-53797?

CVE-2023-53797 is a high-severity vulnerability in Linux, published on 9 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Which versions are affected by CVE-2023-53797?

How do I fix CVE-2023-53797?

Apply the vendor's patch.

Is CVE-2023-53797 being exploited?

There is no known exploitation of CVE-2023-53797 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2023-53797, DEBIAN-CVE-2023-53797, GHSA-w9q3-wxhm-4gcg, UBUNTU-CVE-2023-53797.

Is CVE-2023-53797 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free