Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A27AA46B5 for ; Tue, 9 Dec 2025 00:03:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765238634; cv=none; b=mszP8VeTgzYKaUl1Kr2RtgcYR9sfw04ZHj2IkIEQi3CI4j+NZ0PXq2aysnjlDz/lndzropP9tPkURJZKKoIMny5fytWgEGBjCRCmOpIBybhiYftII9um5TVkK4P3B15DqUmZr68UEHIqBFOHdgum8/9cLamViBCgSysUafJvb8s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765238634; c=relaxed/simple; bh=HIhshS0slKCoi2Cif5Tffeq80DRbi/Lq7/CD4q+g2xE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tXYo6HO7NNgPZajMhTfpQSpKkrqTACu4HfH4RM26inu28MrdIL5g2Mvo5JzsSb/qg8LZ1yVqV9NLbpnGYV8CtXSul3qgHv4JsLRl9a5/vSv37DR0IzR5UeylZQmmLelJIjSs34ZB5uJfgj204AjFhOJMWLoU+q3GRTSBmn1XfvA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XGhNoMdH; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="XGhNoMdH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E7A64C4CEF1; Tue, 9 Dec 2025 00:03:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765238634; bh=HIhshS0slKCoi2Cif5Tffeq80DRbi/Lq7/CD4q+g2xE=; h=From:To:Cc:Subject:Date:Reply-To:From; b=XGhNoMdH1WoctoE8Ev304aFTVl+wibc9EAQJaw9kill3F4qPf+N8a6H4lMfMFBbwc BtAz6ximM2ORnhaiGEUB4482UK7S7KWI797NFYR5roBnoUBgOb+QvNizuyIlIgmodn WjBJlxPnn74CuU3g6dhyFV5riiNdut9woW2rrBrw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53797: HID: wacom: Use ktime_t rather than int when dealing with timestamps Date: Tue, 9 Dec 2025 09:02:18 +0900 Message-ID: <2025120942-CVE-2023-53797-4a88@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3488; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2/aewjG5bFUjov7XayCRbWtCIlObBXbhLrC/ubqwhcA=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnmac/sfc5wRN3SKmPpu+b16ltjt/GUlH3TF+/3aJ491 3+zg2R9RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwkbD/D/MQZwbKzfI9ITz8a nZrjGrq31yN1OsMc7oI9gY1ffzLbW00XjVh06/onRhZvAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2023-53797 to this issue. Affected and fixed versions =========================== Issue introduced in 5.4.243 with commit f9e27d4bdb1fe257c1453d02560e3adc3e5b6023 and fixed in 5.4.251 with commit 99036f1aed7e82773904f5d91a9897bb3e507fd9 Issue introduced in 5.10.180 with commit 4502ebbdc0e21e44a8a706428e420ae9c1bb9bba and fixed in 5.10.188 with commit 9598a647ecc8f300b0540abf9d3b3439859d163b Issue introduced in 5.15.112 with commit 5047a228d4c8e2b5d1b856f21a00ecf717945a9c and fixed in 5.15.120 with commit 67ce7724637c6adb66f788677cb50b82615de0ac Issue introduced in 6.1.29 with commit fb98336e23c11e9c8c7dd5425ec71adbbef7f773 and fixed in 6.1.37 with commit d89750b19681581796dfbe3689bbb5d439b99b24 Issue introduced in 6.3.3 with commit 694d3e4387bfa69925e075053894385351106e64 and fixed in 6.3.11 with commit bdeaa883b765709f231f47f9d6cc76c837a15396 Issue introduced in 6.4 with commit 17d793f3ed53080dab6bbeabfc82de890c901001 and fixed in 6.4.1 with commit d0198363f9108e4adb2511e607ba91e44779e8b1 Issue introduced in 6.4 with commit 17d793f3ed53080dab6bbeabfc82de890c901001 and fixed in 6.5 with commit 9a6c0e28e215535b2938c61ded54603b4e5814c5 Issue introduced in 6.2.16 with commit 82a136c35506dc788a6c03ffeb11b10c907b0e26 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2023-53797 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/hid/wacom_wac.c drivers/hid/wacom_wac.h Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/99036f1aed7e82773904f5d91a9897bb3e507fd9 https://git.kernel.org/stable/c/9598a647ecc8f300b0540abf9d3b3439859d163b https://git.kernel.org/stable/c/67ce7724637c6adb66f788677cb50b82615de0ac https://git.kernel.org/stable/c/d89750b19681581796dfbe3689bbb5d439b99b24 https://git.kernel.org/stable/c/bdeaa883b765709f231f47f9d6cc76c837a15396 https://git.kernel.org/stable/c/d0198363f9108e4adb2511e607ba91e44779e8b1 https://git.kernel.org/stable/c/9a6c0e28e215535b2938c61ded54603b4e5814c5