syzbot


INFO: trying to register non-static key in hci_uart_tty_receive (2)

Status: auto-closed as invalid on 2020/03/26 00:10
Reported-by: syzbot+633817d309aae1e0cfce@syzkaller.appspotmail.com
First crash: 1102d, last: 1102d
similar bugs (4):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: trying to register non-static key in hci_uart_tty_receive 1 1191d 1190d 0/24 auto-closed as invalid on 2019/10/28 14:58
linux-4.19 INFO: trying to register non-static key in hci_uart_tty_receive 1 1318d 1318d 0/1 auto-closed as invalid on 2019/10/22 04:49
linux-4.19 INFO: trying to register non-static key in hci_uart_tty_receive (2) 1 84d 84d 0/1 upstream: reported on 2022/09/09 15:36
upstream INFO: trying to register non-static key in hci_uart_tty_receive (3) 12 69d 406d 0/24 closed as dup on 2022/08/29 15:45

Sample crash report:
INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator.
CPU: 0 PID: 26945 Comm: syz-executor.1 Not tainted 5.4.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x197/0x210 lib/dump_stack.c:118
 assign_lock_key kernel/locking/lockdep.c:881 [inline]
 register_lock_class+0x179e/0x1850 kernel/locking/lockdep.c:1190
 __lock_acquire+0xf4/0x4a00 kernel/locking/lockdep.c:3837
 lock_acquire+0x190/0x410 kernel/locking/lockdep.c:4487
 percpu_down_read include/linux/percpu-rwsem.h:40 [inline]
 hci_uart_tty_receive+0xcf/0x6e0 drivers/bluetooth/hci_ldisc.c:603
 tiocsti drivers/tty/tty_io.c:2197 [inline]
 tty_ioctl+0x949/0x14f0 drivers/tty/tty_io.c:2573
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:509 [inline]
 do_vfs_ioctl+0xdb6/0x13e0 fs/ioctl.c:696
 ksys_ioctl+0xab/0xd0 fs/ioctl.c:713
 __do_sys_ioctl fs/ioctl.c:720 [inline]
 __se_sys_ioctl fs/ioctl.c:718 [inline]
 __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718
 do_syscall_64+0xfa/0x760 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45a649
Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fa162c03c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a649
RDX: 00000000200001c0 RSI: 0000000000005412 RDI: 0000000000000003
RBP: 000000000075c070 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa162c046d4
R13: 00000000004c52f0 R14: 00000000004da410 R15: 00000000ffffffff

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2019/11/27 00:09 upstream be2eca94d144 1048481f .config log report
* Struck through repros no longer work on HEAD.