CVE-2025-38235
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
06/07/2025
Last modified:
06/07/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
HID: appletb-kbd: fix "appletb_backlight" backlight device reference counting<br />
<br />
During appletb_kbd_probe, probe attempts to get the backlight device<br />
by name. When this happens backlight_device_get_by_name looks for a<br />
device in the backlight class which has name "appletb_backlight" and<br />
upon finding a match it increments the reference count for the device<br />
and returns it to the caller. However this reference is never released<br />
leading to a reference leak.<br />
<br />
Fix this by decrementing the backlight device reference count on removal<br />
via put_device and on probe failure.