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: 5001 Comm: syz-executor.1 Not tainted 5.16.0-rc8-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:106 assign_lock_key kernel/locking/lockdep.c:951 [inline] register_lock_class+0xd28/0x1030 kernel/locking/lockdep.c:1263 __lock_acquire+0x106/0x5470 kernel/locking/lockdep.c:4906 lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5602 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:162 ath9k_htc_rxep+0x31/0x210 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:1133 ath9k_htc_rx_msg+0x2e4/0xb70 drivers/net/wireless/ath/ath9k/htc_hst.c:461 ath9k_hif_usb_reg_in_cb+0x1ac/0x630 drivers/net/wireless/ath/ath9k/hif_usb.c:733 __usb_hcd_giveback_urb+0x2b0/0x5c0 drivers/usb/core/hcd.c:1663 usb_hcd_giveback_urb+0x367/0x410 drivers/usb/core/hcd.c:1733 dummy_timer+0x11f9/0x32b0 drivers/usb/gadget/udc/dummy_hcd.c:1987 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers.part.0+0x67c/0xa30 kernel/time/timer.c:1734 __run_timers kernel/time/timer.c:1715 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747 __do_softirq+0x288/0x9a5 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x113/0x170 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:BLEND_OP lib/crypto/sha256.c:62 [inline] RIP: 0010:sha256_transform lib/crypto/sha256.c:97 [inline] RIP: 0010:sha256_update+0xd8c/0x2090 lib/crypto/sha256.c:141 Code: 09 45 84 c9 0f 85 4e 0f 00 00 41 8b 4d 18 44 01 c2 01 d0 89 cd 89 cf c1 c7 0e c1 cd 07 31 fd 89 cf c1 ef 03 31 fd 49 8d 7d 54 <01> c5 48 89 f8 48 c1 e8 03 42 0f b6 14 38 48 89 f8 83 e0 07 83 c0 RSP: 0018:ffffc90001f9f128 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc90001f9f2b4 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 00000000481e0b1f R12: 0000000000000038 R13: ffffc90001f9f260 R14: 0000000000000000 R15: dffffc0000000000 crypto_sha256_update+0x21/0x30 crypto/sha256_generic.c:51 crypto_shash_update+0xc4/0x120 crypto/shash.c:131 ima_calc_file_hash_tfm+0x2e8/0x3b0 security/integrity/ima/ima_crypto.c:495 ima_calc_file_shash security/integrity/ima/ima_crypto.c:515 [inline] ima_calc_file_hash+0x19d/0x4b0 security/integrity/ima/ima_crypto.c:572 ima_collect_measurement+0x4c9/0x570 security/integrity/ima/ima_api.c:254 process_measurement+0xd37/0x1920 security/integrity/ima/ima_main.c:337 ima_file_check+0xb1/0x100 security/integrity/ima/ima_main.c:516 do_open fs/namei.c:3428 [inline] path_openat+0x1654/0x2750 fs/namei.c:3559 do_filp_open+0x1aa/0x400 fs/namei.c:3586 do_sys_openat2+0x16d/0x4d0 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_openat fs/open.c:1244 [inline] __se_sys_openat fs/open.c:1239 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1239 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f14505c2db4 Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 RSP: 002b:00007f144f785ca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007f14505c2db4 RDX: 0000000000000000 RSI: 00007f144f785d40 RDI: 00000000ffffff9c RBP: 00007f144f785d40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007ffd0239b6af R14: 00007f144f786300 R15: 0000000000022000 BUG: unable to handle page fault for address: ffffffffffffffc8 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 7626067 P4D 7626067 PUD 7628067 PMD 0 Oops: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5001 Comm: syz-executor.1 Not tainted 5.16.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ath9k_htc_rxep+0xb5/0x210 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:1135 Code: 8b 43 38 48 8d 58 c8 49 39 c4 0f 84 ee 00 00 00 e8 a0 b1 31 fe 48 89 d8 48 c1 e8 03 0f b6 04 28 84 c0 74 06 0f 8e 0a 01 00 00 <44> 0f b6 3b 31 ff 44 89 fe e8 5d b5 31 fe 45 84 ff 75 a8 e8 73 b1 RSP: 0018:ffffc900001589b8 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffffffffffffffc8 RCX: ffffc90000bf9000 RDX: 0000000000040000 RSI: ffffffff8311d150 RDI: ffffc90000158928 RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000003 R10: fffff5200002b125 R11: 0000000000000000 R12: ffff888132773718 R13: ffff8881327732e0 R14: ffff888132773728 R15: ffff888134b228a8 FS: 00007f144f786700(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffc8 CR3: 0000000134e6b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ath9k_htc_rx_msg+0x2e4/0xb70 drivers/net/wireless/ath/ath9k/htc_hst.c:461 ath9k_hif_usb_reg_in_cb+0x1ac/0x630 drivers/net/wireless/ath/ath9k/hif_usb.c:733 __usb_hcd_giveback_urb+0x2b0/0x5c0 drivers/usb/core/hcd.c:1663 usb_hcd_giveback_urb+0x367/0x410 drivers/usb/core/hcd.c:1733 dummy_timer+0x11f9/0x32b0 drivers/usb/gadget/udc/dummy_hcd.c:1987 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers.part.0+0x67c/0xa30 kernel/time/timer.c:1734 __run_timers kernel/time/timer.c:1715 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747 __do_softirq+0x288/0x9a5 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x113/0x170 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:BLEND_OP lib/crypto/sha256.c:62 [inline] RIP: 0010:sha256_transform lib/crypto/sha256.c:97 [inline] RIP: 0010:sha256_update+0xd8c/0x2090 lib/crypto/sha256.c:141 Code: 09 45 84 c9 0f 85 4e 0f 00 00 41 8b 4d 18 44 01 c2 01 d0 89 cd 89 cf c1 c7 0e c1 cd 07 31 fd 89 cf c1 ef 03 31 fd 49 8d 7d 54 <01> c5 48 89 f8 48 c1 e8 03 42 0f b6 14 38 48 89 f8 83 e0 07 83 c0 RSP: 0018:ffffc90001f9f128 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc90001f9f2b4 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 00000000481e0b1f R12: 0000000000000038 R13: ffffc90001f9f260 R14: 0000000000000000 R15: dffffc0000000000 crypto_sha256_update+0x21/0x30 crypto/sha256_generic.c:51 crypto_shash_update+0xc4/0x120 crypto/shash.c:131 ima_calc_file_hash_tfm+0x2e8/0x3b0 security/integrity/ima/ima_crypto.c:495 ima_calc_file_shash security/integrity/ima/ima_crypto.c:515 [inline] ima_calc_file_hash+0x19d/0x4b0 security/integrity/ima/ima_crypto.c:572 ima_collect_measurement+0x4c9/0x570 security/integrity/ima/ima_api.c:254 process_measurement+0xd37/0x1920 security/integrity/ima/ima_main.c:337 ima_file_check+0xb1/0x100 security/integrity/ima/ima_main.c:516 do_open fs/namei.c:3428 [inline] path_openat+0x1654/0x2750 fs/namei.c:3559 do_filp_open+0x1aa/0x400 fs/namei.c:3586 do_sys_openat2+0x16d/0x4d0 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_openat fs/open.c:1244 [inline] __se_sys_openat fs/open.c:1239 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1239 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f14505c2db4 Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 RSP: 002b:00007f144f785ca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007f14505c2db4 RDX: 0000000000000000 RSI: 00007f144f785d40 RDI: 00000000ffffff9c RBP: 00007f144f785d40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007ffd0239b6af R14: 00007f144f786300 R15: 0000000000022000 Modules linked in: CR2: ffffffffffffffc8 ---[ end trace 18695147177c76e5 ]--- RIP: 0010:ath9k_htc_rxep+0xb5/0x210 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:1135 Code: 8b 43 38 48 8d 58 c8 49 39 c4 0f 84 ee 00 00 00 e8 a0 b1 31 fe 48 89 d8 48 c1 e8 03 0f b6 04 28 84 c0 74 06 0f 8e 0a 01 00 00 <44> 0f b6 3b 31 ff 44 89 fe e8 5d b5 31 fe 45 84 ff 75 a8 e8 73 b1 RSP: 0018:ffffc900001589b8 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffffffffffffffc8 RCX: ffffc90000bf9000 RDX: 0000000000040000 RSI: ffffffff8311d150 RDI: ffffc90000158928 RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000003 R10: fffff5200002b125 R11: 0000000000000000 R12: ffff888132773718 R13: ffff8881327732e0 R14: ffff888132773728 R15: ffff888134b228a8 FS: 00007f144f786700(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffc8 CR3: 0000000134e6b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 09 45 84 or %eax,-0x7c(%rbp) 3: c9 leaveq 4: 0f 85 4e 0f 00 00 jne 0xf58 a: 41 8b 4d 18 mov 0x18(%r13),%ecx e: 44 01 c2 add %r8d,%edx 11: 01 d0 add %edx,%eax 13: 89 cd mov %ecx,%ebp 15: 89 cf mov %ecx,%edi 17: c1 c7 0e rol $0xe,%edi 1a: c1 cd 07 ror $0x7,%ebp 1d: 31 fd xor %edi,%ebp 1f: 89 cf mov %ecx,%edi 21: c1 ef 03 shr $0x3,%edi 24: 31 fd xor %edi,%ebp 26: 49 8d 7d 54 lea 0x54(%r13),%rdi * 2a: 01 c5 add %eax,%ebp <-- trapping instruction 2c: 48 89 f8 mov %rdi,%rax 2f: 48 c1 e8 03 shr $0x3,%rax 33: 42 0f b6 14 38 movzbl (%rax,%r15,1),%edx 38: 48 89 f8 mov %rdi,%rax 3b: 83 e0 07 and $0x7,%eax 3e: 83 .byte 0x83 3f: c0 .byte 0xc0