Re: [syzbot] [input?] [usb?] WARNING in asus_remove

From: Hillf Danton

Date: Fri Jan 30 2026 - 04:15:35 EST


> Date: Thu, 29 Jan 2026 10:44:31 -0800
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit: 3f24e4edcd1b Add linux-next specific files for 20260128
> git tree: linux-next
> console output: https://syzkaller.appspot.com/x/log.txt?x=12f4b694580000
> kernel config: https://syzkaller.appspot.com/x/.config?x=750532df2c47a03
> dashboard link: https://syzkaller.appspot.com/bug?extid=13f8286fa2de04a7cd48
> compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1188e9b2580000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1526fd8a580000

#syz test

--- x/drivers/hid/hid-asus.c
+++ y/drivers/hid/hid-asus.c
@@ -771,6 +771,7 @@ static int asus_kbd_register_leds(struct
if (ret < 0) {
/* No need to have this still around */
devm_kfree(&hdev->dev, drvdata->kbd_backlight);
+ drvdata->kbd_backlight = NULL;
}

return ret;
--