syzbot


INFO: trying to register non-static key in uhid_dev_destroy

Status: upstream: reported C repro on 2020/03/13 03:28
Reported-by: syzbot+4fe289b3af6b13b923a1@syzkaller.appspotmail.com
First crash: 1559d, last: 1485d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: trying to register non-static key in uhid_dev_destroy C done 14 1398d 1566d 1/1 fixed on 2020/09/20 13:43
upstream INFO: trying to register non-static key in uhid_dev_destroy input C unreliable done 40 1393d 1565d 15/27 fixed on 2020/11/16 12:12
Last patch testing requests (10)
Created Duration User Patch Repo Result
2022/12/20 19:31 14m retest repro linux-4.14.y report log
2022/12/20 07:31 13m retest repro linux-4.14.y report log
2022/12/19 22:31 10m retest repro linux-4.14.y report log
2022/12/19 21:31 9m retest repro linux-4.14.y report log
2022/12/19 11:31 9m retest repro linux-4.14.y report log
2022/12/19 02:31 13m retest repro linux-4.14.y report log
2022/12/19 01:31 10m retest repro linux-4.14.y report log
2022/08/30 10:27 15m retest repro linux-4.14.y report log
2022/08/30 09:27 10m retest repro linux-4.14.y report log
2022/08/30 08:27 10m retest repro linux-4.14.y report log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2020/06/24 16:36 0m (3) bisect fix linux-4.14.y error job log (0)
2020/05/24 12:27 26m bisect fix linux-4.14.y job log (0) log

Sample crash report:
hid-generic 0000:0000:0000.004B: ignoring exceeding usage max
hid-generic 0000:0000:0000.004B: hidraw0: <UNKNOWN> HID v0.00 Device [syz1] on 
hid-generic 0000:0000:0000.004A: hidraw2: <UNKNOWN> HID v0.00 Device [syz1] on 
hid-generic 0000:0000:0000.004C: ignoring exceeding usage max
hid-generic 0000:0000:0000.004C: hidraw0: <UNKNOWN> HID v0.00 Device [syz1] on 
INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator.
CPU: 1 PID: 7051 Comm: syz-executor694 Not tainted 4.14.175-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x13e/0x194 lib/dump_stack.c:58
 register_lock_class+0x2fe/0x1600 kernel/locking/lockdep.c:768
 __lock_acquire+0x147/0x4620 kernel/locking/lockdep.c:3374
 lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3994
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0x8c/0xbf kernel/locking/spinlock.c:160
 __wake_up_common_lock+0x9d/0x140 kernel/sched/wait.c:124
 uhid_dev_destroy+0x62/0x100 drivers/hid/uhid.c:566
 uhid_char_release+0x4c/0xa0 drivers/hid/uhid.c:645
 __fput+0x25f/0x790 fs/file_table.c:210
 task_work_run+0x113/0x190 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0x9f2/0x2b00 kernel/exit.c:858
 do_group_exit+0x100/0x310 kernel/exit.c:955
 SYSC_exit_group kernel/exit.c:966 [inline]
 SyS_exit_group+0x19/0x20 kernel/exit.c:964
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x4403e8
RSP: 002b:00007fffe25747b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004403e8
RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000
RBP: 00000000004c0eb0 R08: 00000000000000e7 R09: ffffffffffffffd4
R10: 0000000000402580 R11: 0000000000000246 R12: 0000000000000001
R13: 00000000006d3180 R14: 0000000000000000 R15: 0000000000000000
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 7051 Comm: syz-executor694 Not tainted 4.14.175-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880a9136680 task.stack: ffff88808aee0000
RIP: 0010:__wake_up_common+0x9e/0x5d0 kernel/sched/wait.c:90
RSP: 0018:ffff88808aee7b90 EFLAGS: 00010046
RAX: dffffc0000000000 RBX: ffff88808bf6ce08 RCX: 0000000000000000
RDX: 0000000000000001 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffffffffffffffe8 R09: ffff88808aee7c30
R10: fffffbfff14a8cd5 R11: ffff8880a9136680 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000001428940(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004c0ee8 CR3: 00000000a8e63000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __wake_up_common_lock+0xba/0x140 kernel/sched/wait.c:125
 uhid_dev_destroy+0x62/0x100 drivers/hid/uhid.c:566
 uhid_char_release+0x4c/0xa0 drivers/hid/uhid.c:645
 __fput+0x25f/0x790 fs/file_table.c:210
 task_work_run+0x113/0x190 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0x9f2/0x2b00 kernel/exit.c:858
 do_group_exit+0x100/0x310 kernel/exit.c:955
 SYSC_exit_group kernel/exit.c:966 [inline]
 SyS_exit_group+0x19/0x20 kernel/exit.c:964
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x4403e8
RSP: 002b:00007fffe25747b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004403e8
RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000
RBP: 00000000004c0eb0 R08: 00000000000000e7 R09: ffffffffffffffd4
R10: 0000000000402580 R11: 0000000000000246 R12: 0000000000000001
R13: 00000000006d3180 R14: 0000000000000000 R15: 0000000000000000
Code: bc 04 00 00 4c 8b 43 38 49 83 e8 18 49 8d 78 18 48 39 3c 24 0f 84 6a 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 <80> 3c 01 00 0f 85 a1 04 00 00 49 8b 40 18 89 54 24 10 31 db 48 
RIP: __wake_up_common+0x9e/0x5d0 kernel/sched/wait.c:90 RSP: ffff88808aee7b90
---[ end trace a534d774f4405729 ]---

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/04/08 11:58 linux-4.14.y 4520f06b03ae db9bcd4b .config console log report syz C ci2-linux-4-14
2020/04/08 11:10 linux-4.14.y 4520f06b03ae db9bcd4b .config console log report syz C ci2-linux-4-14
2020/04/04 04:34 linux-4.14.y 4520f06b03ae ef26b610 .config console log report syz C ci2-linux-4-14
2020/03/29 03:54 linux-4.14.y 01364dad1d45 05736b29 .config console log report syz C ci2-linux-4-14
2020/03/20 20:55 linux-4.14.y 01364dad1d45 2c31c529 .config console log report syz C ci2-linux-4-14
2020/03/20 09:12 linux-4.14.y 12cd844a39ed 2c31c529 .config console log report syz C ci2-linux-4-14
2020/03/13 03:27 linux-4.14.y 12cd844a39ed d850e9d0 .config console log report syz C ci2-linux-4-14
2020/05/25 16:36 linux-4.14.y a41ba30d9df2 73964a9b .config console log report ci2-linux-4-14
2020/04/24 12:20 linux-4.14.y 050272a0423e 03d97a1b .config console log report ci2-linux-4-14
2020/04/21 20:57 linux-4.14.y c10b57a567e4 f20434a8 .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.