Re: [syzbot] INFO: trying to register non-static key in hci_uart_tty_receive (3)

From: syzbot
Date: Sat Oct 23 2021 - 09:47:23 EST


> On Saturday, October 23, 2021 1:54:24 AM CEST syzbot wrote:
>> Hello,
>>
>> syzbot found the following issue on:
>>
>> HEAD commit: 519d81956ee2 Linux 5.15-rc6
>> git tree: upstream
>> console output: https://syzkaller.appspot.com/x/log.txt?x=16787178b00000
>> kernel config: https://syzkaller.appspot.com/x/.config?x=1f7f46d98a0da80e
>> dashboard link: https://syzkaller.appspot.com/bug?
> extid=f2725165900304ec97b6
>> compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils
> for Debian) 2.35.2
>>
>> Unfortunately, I don't have any reproducer for this issue yet.
>>
>> IMPORTANT: if you fix the issue, please add the following tag to the
> commit:
>> Reported-by: syzbot+f2725165900304ec97b6@xxxxxxxxxxxxxxxxxxxxxxxxx
>>
>> INFO: trying to register non-static key.
>> The code is fine but needs lockdep annotation, or maybe
>> you didn't initialize this object before use?
>> turning off the locking correctness validator.
>
> Let's try the solution attached.
>
> Fabio
>
> #syz test

This crash does not have a reproducer. I cannot test it.

> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master