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: 5564 Comm: syz-executor.2 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:95 [inline]
RIP: 0010:sha256_update+0xc70/0x2090 lib/crypto/sha256.c:141
Code: f8 44 89 cf c1 ef 03 31 f8 49 8d 7d 4c 44 01 f0 48 89 f9 48 c1 e9 03 46 0f b6 04 39 48 89 f9 83 e1 07 83 c1 03 44 38 c1 7c 09 <45> 84 c0 0f 85 f4 10 00 00 49 8d 7d 34 41 89 ee 89 e9 41 89 45 4c
RSP: 0018:ffffc9000c1ff128 EFLAGS: 00000202
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000007
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc9000c1ff24c
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 000000001ea77605 R12: 0000000000000020
R13: ffffc9000c1ff200 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:0x7f068eef9db4
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:00007f068e0bcca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007f068eef9db4
RDX: 0000000000000000 RSI: 00007f068e0bcd40 RDI: 00000000ffffff9c
RBP: 00007f068e0bcd40 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
R13: 00007ffdcbbe514f R14: 00007f068e0bd300 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: 5564 Comm: syz-executor.2 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: ffffc90000bd9000
RDX: 0000000000040000 RSI: ffffffff8311d150 RDI: ffffc90000158928
RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000003
R10: fffff5200002b125 R11: 0000000000000000 R12: ffff88813400b718
R13: ffff88813400b2e0 R14: ffff88813400b728 R15: ffff8881108727a8
FS: 00007f068e0bd700(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffc8 CR3: 000000013d15a000 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:95 [inline]
RIP: 0010:sha256_update+0xc70/0x2090 lib/crypto/sha256.c:141
Code: f8 44 89 cf c1 ef 03 31 f8 49 8d 7d 4c 44 01 f0 48 89 f9 48 c1 e9 03 46 0f b6 04 39 48 89 f9 83 e1 07 83 c1 03 44 38 c1 7c 09 <45> 84 c0 0f 85 f4 10 00 00 49 8d 7d 34 41 89 ee 89 e9 41 89 45 4c
RSP: 0018:ffffc9000c1ff128 EFLAGS: 00000202
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000007
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc9000c1ff24c
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 000000001ea77605 R12: 0000000000000020
R13: ffffc9000c1ff200 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:0x7f068eef9db4
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:00007f068e0bcca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007f068eef9db4
RDX: 0000000000000000 RSI: 00007f068e0bcd40 RDI: 00000000ffffff9c
RBP: 00007f068e0bcd40 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
R13: 00007ffdcbbe514f R14: 00007f068e0bd300 R15: 0000000000022000
Modules linked in:
CR2: ffffffffffffffc8
---[ end trace 22f9f4d657bd00a3 ]---
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: ffffc90000bd9000
RDX: 0000000000040000 RSI: ffffffff8311d150 RDI: ffffc90000158928
RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000003
R10: fffff5200002b125 R11: 0000000000000000 R12: ffff88813400b718
R13: ffff88813400b2e0 R14: ffff88813400b728 R15: ffff8881108727a8
FS: 00007f068e0bd700(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffc8 CR3: 000000013d15a000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: f8 clc
1: 44 89 cf mov %r9d,%edi
4: c1 ef 03 shr $0x3,%edi
7: 31 f8 xor %edi,%eax
9: 49 8d 7d 4c lea 0x4c(%r13),%rdi
d: 44 01 f0 add %r14d,%eax
10: 48 89 f9 mov %rdi,%rcx
13: 48 c1 e9 03 shr $0x3,%rcx
17: 46 0f b6 04 39 movzbl (%rcx,%r15,1),%r8d
1c: 48 89 f9 mov %rdi,%rcx
1f: 83 e1 07 and $0x7,%ecx
22: 83 c1 03 add $0x3,%ecx
25: 44 38 c1 cmp %r8b,%cl
28: 7c 09 jl 0x33
* 2a: 45 84 c0 test %r8b,%r8b <-- trapping instruction
2d: 0f 85 f4 10 00 00 jne 0x1127
33: 49 8d 7d 34 lea 0x34(%r13),%rdi
37: 41 89 ee mov %ebp,%r14d
3a: 89 e9 mov %ebp,%ecx
3c: 41 89 45 4c mov %eax,0x4c(%r13)