CVE-2025-38235

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

State
Published
Severity
Not scored
Published
Jul 6, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 93a0fc48948107e0cc34e1de22c3cb363a8f2783 to before 751d5437112a3f387de4ef6d2d1c131068ff7627Affected
  • 93a0fc48948107e0cc34e1de22c3cb363a8f2783 to before 4540e41e753a7d69ecd3f5bad51fe620205c3a18Affected
LinuxLinux
  • 6.15Affected
  • before 6.15Not affected
  • 6.15.5 through 6.15.*Not affected
  • 6.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.