HID: wacom: Use ktime_t rather than int when dealing with timestamps
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.188, 5.15.120, 5.4.251, 6.1.37, 6.3.11, 6.4.1
- CVEs
- CVE-2023-53797
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 28 Oct 2026, 08:57 UTC · Revision 1
Source evidence
HID: wacom: Use ktime_t rather than int when dealing with timestamps
core-osv · Original sourcePublished 9 Dec 2025, 00:00 UTC
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.
osv:CVE-2023-53797
Kernel
Fixed versions: 5.4.251, 5.10.188, 5.15.120, 6.1.37, 6.3.11, 6.4.1
Complete source record
{
"id": "66d7364153740732bf9593e710d8fa6555ae9f4da2d2688958afc1be56758063",
"url": "https://osv.dev/vulnerability/CVE-2023-53797",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "HID: wacom: Use ktime_t rather than int when dealing with timestamps",
"summary": "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.",
"evidence": "osv:CVE-2023-53797",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.4.251",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.188",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.120",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.37",
"evidence": "/affected/1/ranges"
},
{
"value": "6.3.11",
"evidence": "/affected/1/ranges"
},
{
"value": "6.4.1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2023-53797",
"aliases": [
"CVE-2023-53797"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "f9e27d4bdb1fe257c1453d02560e3adc3e5b6023"
},
{
"fixed": "99036f1aed7e82773904f5d91a9897bb3e507fd9"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "4502ebbdc0e21e44a8a706428e420ae9c1bb9bba"
},
{
"fixed": "9598a647ecc8f300b0540abf9d3b3439859d163b"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "5047a228d4c8e2b5d1b856f21a00ecf717945a9c"
},
{
"fixed": "67ce7724637c6adb66f788677cb50b82615de0ac"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "fb98336e23c11e9c8c7dd5425ec71adbbef7f773"
},
{
"fixed": "d89750b19681581796dfbe3689bbb5d439b99b24"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "694d3e4387bfa69925e075053894385351106e64"
},
{
"fixed": "bdeaa883b765709f231f47f9d6cc76c837a15396"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "17d793f3ed53080dab6bbeabfc82de890c901001"
},
{
"fixed": "d0198363f9108e4adb2511e607ba91e44779e8b1"
},
{
"fixed": "9a6c0e28e215535b2938c61ded54603b4e5814c5"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "5.4.243"
},
{
"fixed": "5.4.251"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "5.10.180"
},
{
"fixed": "5.10.188"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "5.15.112"
},
{
"fixed": "5.15.120"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "6.1.29"
},
{
"fixed": "6.1.37"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "6.3.3"
},
{
"fixed": "6.3.11"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "6.2.16"
},
{
"fixed": "6.3"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "82a136c35506dc788a6c03ffeb11b10c907b0e26"
}
]
}
],
"versions": [
"v5.4.250",
"v5.4.249",
"v5.4.248",
"v5.4.247",
"v5.4.246",
"v5.4.245",
"v5.4.244",
"v5.4.243",
"v5.10.187",
"v5.10.186",
"v5.10.185",
"v5.10.184",
"v5.10.183",
"v5.10.182",
"v5.10.181",
"v5.10.180",
"v5.15.119",
"v5.15.118",
"v5.15.117",
"v5.15.116",
"v5.15.115",
"v5.15.114",
"v5.15.113",
"v5.15.112",
"v6.1.36",
"v6.1.35",
"v6.1.34",
"v6.1.33",
"v6.1.32",
"v6.1.31",
"v6.1.30",
"v6.1.29",
"v6.3.10",
"v6.3.9",
"v6.3.8",
"v6.3.7",
"v6.3.6",
"v6.3.5",
"v6.3.4",
"v6.3.3",
"v6.2.16"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53797.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.4.251"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.188"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.120"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.37"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.3.11"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.4.0"
},
{
"fixed": "6.4.1"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53797.json"
}
}
],
"modified": "2026-10-08T02:48:02.073239587Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/67ce7724637c6adb66f788677cb50b82615de0ac",
"https://git.kernel.org/stable/c/9598a647ecc8f300b0540abf9d3b3439859d163b",
"https://git.kernel.org/stable/c/99036f1aed7e82773904f5d91a9897bb3e507fd9",
"https://git.kernel.org/stable/c/9a6c0e28e215535b2938c61ded54603b4e5814c5",
"https://git.kernel.org/stable/c/bdeaa883b765709f231f47f9d6cc76c837a15396",
"https://git.kernel.org/stable/c/d0198363f9108e4adb2511e607ba91e44779e8b1",
"https://git.kernel.org/stable/c/d89750b19681581796dfbe3689bbb5d439b99b24",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53797.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-53797",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53797.json"
}
},
"related_cves": [
{
"value": "CVE-2023-53797",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 98253,
"published_at": "2025-12-09T00:00:53.868+00:00"
}