Re: [syzbot] [sound?] BUG: unable to handle kernel NULL pointer dereference in snd_ctl_led_get

From: syzbot

Date: Thu Aug 27 2026 - 06:42:10 EST


Hello,

syzbot tried to test the proposed patch but the build/boot failed:

sound/core/control_led.c:117:50: error: expected ')' before 'return'
sound/core/control_led.c:134:1: error: expected expression before '}' token
sound/core/control_led.c:134:1: error: no return statement in function returning non-void [-Werror=return-type]


Tested on:

commit: 818bebeb drm/xe: Don't hand out the flat CCS storage a..
git tree: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel config: https://syzkaller.appspot.com/x/.config?x=ccca94d2c01b9e78
dashboard link: https://syzkaller.appspot.com/bug?extid=b7fe2760ea6f1ee44b4d
compiler: gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44
patch: https://syzkaller.appspot.com/x/patch.diff?x=11abd579580000