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.
History

Mon, 07 Jul 2025 12:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sun, 06 Jul 2025 09:30:00 +0000

Type Values Removed Values Added
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.
Title HID: appletb-kbd: fix "appletb_backlight" backlight device reference counting
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2025-07-06T09:11:14.930Z

Updated: 2025-07-06T09:11:14.930Z

Reserved: 2025-04-16T04:51:23.996Z

Link: CVE-2025-38235

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2025-07-06T10:15:24.223

Modified: 2025-07-06T10:15:24.223

Link: CVE-2025-38235

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-07-06T00:00:00Z

Links: CVE-2025-38235 - Bugzilla