syzbot


INFO: trying to register non-static key in ath9k_wmi_event_tasklet
Status: fixed on 2022/03/08 16:11
Reported-by: syzbot+31d54c60c5b254d6f75b@syzkaller.appspotmail.com
Fix commit: 8b3046abc99e ath9k_htc: fix NULL pointer dereference at ath9k_htc_tx_get_packet()
First crash: 351d, last: 171d

Cause bisection: introduced by (bisect log) [no-op commit]:
commit 7e49afc03212010d0ee27532a75cfeb0125bd868
Author: Masahiro Yamada <masahiroy@kernel.org>
Date: Fri Apr 17 18:04:55 2020 +0000

  um: do not evaluate compiler's library path when cleaning

Crash: INFO: trying to register non-static key in ath9k_wmi_event_tasklet (log)
Repro: C syz .config
Patch testing requests:
Created Duration User Patch Repo Result
2021/09/12 07:03 11m penguin-kernel@i-love.sakura.ne.jp patch upstream OK
2021/07/27 21:23 10m thisisrast7@gmail.com patch upstream report log

Sample crash report:
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.
CPU: 1 PID: 19 Comm: ksoftirqd/1 Not tainted 5.14.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:105
 assign_lock_key kernel/locking/lockdep.c:939 [inline]
 register_lock_class+0xf79/0x10c0 kernel/locking/lockdep.c:1251
 __lock_acquire+0x105/0x54a0 kernel/locking/lockdep.c:4894
 lock_acquire kernel/locking/lockdep.c:5625 [inline]
 lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5590
 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline]
 _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:175
 spin_lock_bh include/linux/spinlock.h:359 [inline]
 ath9k_wmi_event_tasklet+0x231/0x3f0 drivers/net/wireless/ath/ath9k/wmi.c:172
 tasklet_action_common.constprop.0+0x201/0x2e0 kernel/softirq.c:783
 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558
 run_ksoftirqd kernel/softirq.c:920 [inline]
 run_ksoftirqd+0x2d/0x60 kernel/softirq.c:912
 smpboot_thread_fn+0x645/0x9c0 kernel/smpboot.c:164
 kthread+0x3e5/0x4d0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
------------[ cut here ]------------
WARNING: CPU: 1 PID: 19 at drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:656 ath9k_htc_txstatus+0x3bb/0x500 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:656
Modules linked in:
CPU: 1 PID: 19 Comm: ksoftirqd/1 Not tainted 5.14.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compu

Fix bisection attempts:
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce 2021/11/06 03:28 upstream fe91c4725aee 6972b106 .config log report syz C
ci-upstream-kasan-gce 2021/10/07 03:07 upstream 5af4055fa813 6972b106 .config log report syz C
ci-upstream-kasan-gce 2021/09/07 02:10 upstream 4b93c544e90e 6972b106 .config log report syz C
Crashes (7):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce 2021/08/07 21:45 upstream c9194f32bfd9 6972b106 .config log report syz C INFO: trying to register non-static key in ath9k_wmi_event_tasklet
ci2-upstream-usb 2021/06/10 12:02 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e89bb4288378 1ba81399 .config log report syz C INFO: trying to register non-static key in ath9k_wmi_event_tasklet
ci2-upstream-usb 2021/12/08 06:11 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing d598c3c46ea6 0230ba3e .config log report info INFO: trying to register non-static key in ath9k_wmi_event_tasklet
ci2-upstream-usb 2021/11/28 07:42 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c4bc515d73b5 63eeac02 .config log report info INFO: trying to register non-static key in ath9k_wmi_event_tasklet
ci2-upstream-usb 2021/11/22 04:07 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4616dddcfaf7 4eb20a4e .config log report info INFO: trying to register non-static key in ath9k_wmi_event_tasklet
ci2-upstream-usb 2021/08/04 01:01 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 64cd4271ea8e 6c236867 .config log report info INFO: trying to register non-static key in ath9k_wmi_event_tasklet
ci2-upstream-usb 2021/06/10 11:02 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e89bb4288378 1ba81399 .config log report info INFO: trying to register non-static key in ath9k_wmi_event_tasklet