Bug 2376556 (CVE-2025-38235) - CVE-2025-38235 kernel: HID: appletb-kbd: fix "appletb_backlight" backlight device reference counting
Summary: CVE-2025-38235 kernel: HID: appletb-kbd: fix "appletb_backlight" backlight de...
Keywords:
Status: NEW
Alias: CVE-2025-38235
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-06 10:01 UTC by OSIDB Bzimport
Modified: 2025-07-07 02:58 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-07-06 10:01:14 UTC
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.

Comment 1 Avinash Hanwate 2025-07-07 02:56:35 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025070619-CVE-2025-38235-0098@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.