[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025070935-CVE-2025-38253-a33e@gregkh>
Date: Wed, 9 Jul 2025 12:42:45 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-38253: HID: wacom: fix crash in wacom_aes_battery_handler()
From: Greg Kroah-Hartman <gregkh@...nel.org>
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
Powered by blists - more mailing lists