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 35EC8293C6F for ; Wed, 9 Jul 2025 10:44:01 +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=1752057842; cv=none; b=YxFEBwHTHuFrDSGj2HVpHtK4mPoHUHhc5QLueUsgg5JTKNkpbUwM2bnPvf4m/6bbDfLx6/qrmMi1gtHLlPwNTAfBc0SFyceJC6XYLElOTQZMl8PFin8XdoSRm3j2bXtnn+4T50kpD82TrkRnlBR0xGyN2h6U8Xks6xr/pNS5+1A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752057842; c=relaxed/simple; bh=UYs7HScD5krV0wiSCCaZjZZ9F17t4s+S1NSnnAM3ODw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mUPhQDSanQBf7BTZ4hNLjkw8LwsIZwomdNJMMri/KFTVf2koXfq5z9SKzUHvZ8DpXzWEbl8S//rTN9Cm54kP1pq06PMWudHrNXrORQ3MJYqmFLel3uHu6za6Z3TU2wnjG4IyumEVkXp48/c7oE/tuB12C47+u5KL1AN07WIAd7A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UDR9mnpq; 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="UDR9mnpq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6BE91C4CEEF; Wed, 9 Jul 2025 10:44:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1752057841; bh=UYs7HScD5krV0wiSCCaZjZZ9F17t4s+S1NSnnAM3ODw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=UDR9mnpqDvzD9WaZl9vIx9HWEmTnecmZIFN1jvQFkurrEICXFfFvOmcFNpdzxCApx b9G5TV+ObPn62WaWRnVXUOKGpeqhzQlcHe/STC7TS8MVk9y/LnIvhnAwzWUzh+e+SZ tnPA2R4UfElWHuIPswjfZOL7BwyE8G5kF9rPcgRM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38253: HID: wacom: fix crash in wacom_aes_battery_handler() Date: Wed, 9 Jul 2025 12:42:45 +0200 Message-ID: <2025070935-CVE-2025-38253-a33e@gregkh> X-Mailer: git-send-email 2.50.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2642; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Nzz3VbS2E86jlJ9ErLRyGhnvIl4O95ql6XBuPAC2AsE=; b=owGbwMvMwCRo6H6F97bub03G02pJDBl57rOXu7uYnNCcnt3UfpwlI1uv5eTi7U5VP3325nvLM 4QsdFXuiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIkYL2NYMKfO/YrVt+tsu18w qm0TWR7j3xjswDBXSuU066dzsd4HDCuylmptLhfRd3ECAA== 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: fix crash in wacom_aes_battery_handler() Commit fd2a9b29dc9c ("HID: wacom: Remove AES power_supply after extended inactivity") introduced wacom_aes_battery_handler() which is scheduled as a delayed work (aes_battery_work). In wacom_remove(), aes_battery_work is not canceled. Consequently, if the device is removed while aes_battery_work is still pending, then hard crashes or "Oops: general protection fault..." are experienced when wacom_aes_battery_handler() is finally called. E.g., this happens with built-in USB devices after resume from hibernate when aes_battery_work was still pending at the time of hibernation. So, take care to cancel aes_battery_work in wacom_remove(). The Linux kernel CVE team has assigned CVE-2025-38253 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit fd2a9b29dc9c4c35def91d5d1c5b470843539de6 and fixed in 6.12.36 with commit a4f182ffa30c52ad1c8e12edfb8049ee748c0f1b Issue introduced in 6.8 with commit fd2a9b29dc9c4c35def91d5d1c5b470843539de6 and fixed in 6.15.5 with commit 57a3d82200dbeccd002244b96acad570eeeb731f Issue introduced in 6.8 with commit fd2a9b29dc9c4c35def91d5d1c5b470843539de6 and fixed in 6.16-rc4 with commit f3054152c12e2eed1e72704aff47b0ea58229584 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-2025-38253 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_sys.c 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/a4f182ffa30c52ad1c8e12edfb8049ee748c0f1b https://git.kernel.org/stable/c/57a3d82200dbeccd002244b96acad570eeeb731f https://git.kernel.org/stable/c/f3054152c12e2eed1e72704aff47b0ea58229584