INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 1 PID: 16 Comm: ksoftirqd/1 Not tainted 5.7.0-rc5-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+0x96/0xe0 lib/dump_stack.c:118 assign_lock_key kernel/locking/lockdep.c:913 [inline] register_lock_class+0x1940/0x1a10 kernel/locking/lockdep.c:1225 __lock_acquire+0x107/0x6ba0 kernel/locking/lockdep.c:4234 lock_acquire+0x178/0xa70 kernel/locking/lockdep.c:4934 __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:358 [inline] ath9k_wmi_event_tasklet+0x22c/0x430 drivers/net/wireless/ath/ath9k/wmi.c:170 tasklet_action_common.isra.10+0x126/0x270 kernel/softirq.c:524 __do_softirq+0x24a/0xaec kernel/softirq.c:292 run_ksoftirqd kernel/softirq.c:604 [inline] run_ksoftirqd+0x2b/0x50 kernel/softirq.c:596 smpboot_thread_fn+0x51e/0x880 kernel/smpboot.c:165 kthread+0x340/0x410 kernel/kthread.c:268 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 16 at drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:651 ath9k_htc_txstatus+0x24b/0x380 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:681 Modules linked in: CPU: 1 PID: 16 Comm: ksoftirqd/1 Not tainted 5.7.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ath9k_htc_txstatus+0x24b/0x380 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:651 Code: 8b 45 20 48 8d b8 b0 01 00 00 e8 90 51 83 03 e9 47 fe ff ff 48 83 c4 38 4c 89 ef 5b 5d 41 5c 41 5d 41 5e 41 5f e9 65 ce ff ff <0f> 0b e9 67 fe ff ff 48 89 f7 e8 86 bc fe fc e9 dc fd ff ff 48 89 RSP: 0018:ffffc90000d67cc0 EFLAGS: 00010202 RAX: 000000000000001c RBX: ffff888099235c0d RCX: fffffbfff14077d9 RDX: 1ffffffff14077d9 RSI: ffff888099235c0c RDI: ffff888081f0b140 RBP: ffff888099235c0c R08: ffffed10103e1716 R09: ffffed10103e1716 R10: ffff888081f0b8ab R11: ffffed10103e1715 R12: 0000000000000000 R13: ffff888081f0b140 R14: ffff8880875ce000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000005680c0 CR3: 00000000a93d2000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ath9k_wmi_event_tasklet+0x2f7/0x430 drivers/net/wireless/ath/ath9k/wmi.c:177 tasklet_action_common.isra.10+0x126/0x270 kernel/softirq.c:524 __do_softirq+0x24a/0xaec kernel/softirq.c:292 run_ksoftirqd kernel/softirq.c:604 [inline] run_ksoftirqd+0x2b/0x50 kernel/softirq.c:596 smpboot_thread_fn+0x51e/0x880 kernel/smpboot.c:165 kthread+0x340/0x410 kernel/kthread.c:268 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351 irq event stamp: 769168 hardirqs last enabled at (769168): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (769168): [] _raw_spin_unlock_irqrestore+0x47/0x60 kernel/locking/spinlock.c:191 hardirqs last disabled at (769167): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (769167): [] _raw_spin_lock_irqsave+0xd/0x50 kernel/locking/spinlock.c:159 softirqs last enabled at (769158): [] __do_softirq+0x795/0xaec kernel/softirq.c:319 softirqs last disabled at (769163): [] run_ksoftirqd kernel/softirq.c:604 [inline] softirqs last disabled at (769163): [] run_ksoftirqd+0x2b/0x50 kernel/softirq.c:596 ---[ end trace 5cce1d5cacaa6d33 ]--- general protection fault, probably for non-canonical address 0xdffffc000000000c: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000060-0x0000000000000067] CPU: 1 PID: 16 Comm: ksoftirqd/1 Tainted: G W 5.7.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ath_printk+0xcc/0x19c drivers/net/wireless/ath/main.c:82 Code: 00 00 48 89 44 24 78 48 8d 44 24 68 c7 44 24 68 18 00 00 00 48 89 44 24 30 0f 84 0d 01 00 00 48 8d 7e 10 48 89 f8 48 c1 e8 03 <80> 3c 08 00 0f 85 a6 00 00 00 48 8b 5e 10 48 85 db 0f 84 eb 00 00 RSP: 0018:ffffc90000d67b50 EFLAGS: 00010206 RAX: 000000000000000c RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffffffff890d7ca0 RSI: 0000000000000050 RDI: 0000000000000060 RBP: ffffc90000d67c40 R08: ffffed10103e1716 R09: ffffed10103e1716 R10: ffff888081f0b8ab R11: ffffed10103e1715 R12: 1ffff920001acf6b R13: ffffffff890d7ce0 R14: ffff8880875ce000 R15: ffff888081f0b788 FS: 0000000000000000(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000005680c0 CR3: 00000000a93d2000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: get_htc_epid_queue drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:149 [inline] ath9k_htc_tx_get_packet+0x596/0x970 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:622 ath9k_htc_txstatus+0xc4/0x380 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:655 ath9k_wmi_event_tasklet+0x2f7/0x430 drivers/net/wireless/ath/ath9k/wmi.c:177 tasklet_action_common.isra.10+0x126/0x270 kernel/softirq.c:524 __do_softirq+0x24a/0xaec kernel/softirq.c:292 run_ksoftirqd kernel/softirq.c:604 [inline] run_ksoftirqd+0x2b/0x50 kernel/softirq.c:596 smpboot_thread_fn+0x51e/0x880 kernel/smpboot.c:165 kthread+0x340/0x410 kernel/kthread.c:268 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351 Modules linked in: