CVE-2025-38235

HID: appletb-kbd: fix "appletb_backlight" backlight device reference counting

published July 6, 2025

CVSS
—
EPSS
0%
Percentile
3.3
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

HID: appletb-kbd: fix "appletb_backlight" backlight device reference counting

During appletb_kbd_probe, probe attempts to get the backlight device

by name. When this happens backlight_device_get_by_name looks for a

device in the backlight class which has name "appletb_backlight" and

upon finding a match it increments the reference count for the device

and returns it to the caller. However this reference is never released

leading to a reference leak.

Fix this by decrementing the backlight device reference count on removal

via put_device and on probe failure.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00143 · 3.3th percentile
Published
2025-07-06T09:11Z
EPSS history
Timeline
  • 06 JUL 09:11Z
    HID: appletb-kbd: fix "appletb_backlight" backlight device reference counting
    cvelistv5