===================================================== BUG: KMSAN: uninit-value in ath9k_htc_rx_msg+0x28c/0x1f30 drivers/net/wireless/ath/ath9k/htc_hst.c:412 CPU: 1 PID: 8256 Comm: syz-fuzzer Not tainted 5.10.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:77 [inline] dump_stack+0x21c/0x280 lib/dump_stack.c:118 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197 ath9k_htc_rx_msg+0x28c/0x1f30 drivers/net/wireless/ath/ath9k/htc_hst.c:412 ath9k_hif_usb_rx_stream drivers/net/wireless/ath/ath9k/hif_usb.c:647 [inline] ath9k_hif_usb_rx_cb+0x184e/0x1d20 drivers/net/wireless/ath/ath9k/hif_usb.c:680 __usb_hcd_giveback_urb+0x696/0x880 drivers/usb/core/hcd.c:1650 usb_hcd_giveback_urb+0x1cb/0x730 drivers/usb/core/hcd.c:1716 dummy_timer+0xda7/0x74f0 drivers/usb/gadget/udc/dummy_hcd.c:1967 call_timer_fn+0x7d/0x450 kernel/time/timer.c:1410 expire_timers+0x328/0x6c0 kernel/time/timer.c:1455 __run_timers+0x624/0x9e0 kernel/time/timer.c:1747 run_timer_softirq+0x2d/0x50 kernel/time/timer.c:1760 __do_softirq+0x1a9/0x6fa kernel/softirq.c:298 asm_call_irq_on_stack+0xf/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x6e/0x90 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:393 [inline] __irq_exit_rcu+0x226/0x270 kernel/softirq.c:423 irq_exit_rcu+0xe/0x10 kernel/softirq.c:435 sysvec_apic_timer_interrupt+0x106/0x130 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:kmsan_get_shadow_origin_ptr+0x30/0xb0 mm/kmsan/kmsan_shadow.c:141 Code: 41 56 53 41 89 d7 48 89 f3 49 89 fe 48 81 fe 01 10 00 00 73 6e 80 3d b6 50 2e 0f 00 74 0e e8 67 d5 ff ff 83 b8 b0 0f 00 00 00 <74> 22 48 c7 c0 00 d0 64 91 48 c7 c3 00 e0 64 91 45 84 ff 48 0f 45 RSP: 0018:ffff888120ed2ca8 EFLAGS: 00000246 RAX: ffff88811294e640 RBX: 0000000000000004 RCX: 0000000006d400b6 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff888120ed2f98 RBP: ffff888120ed2cc0 R08: ffffea000000000f R09: ffff88813fffa000 R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000074 R14: ffff888120ed2f98 R15: 0000000000000000 __msan_metadata_ptr_for_load_4+0x10/0x20 mm/kmsan/kmsan_instr.c:54 ror32 lib/crypto/sha256.c:43 [inline] BLEND_OP lib/crypto/sha256.c:43 [inline] sha256_transform lib/crypto/sha256.c:58 [inline] sha256_update+0x823/0x8fc0 lib/crypto/sha256.c:227 crypto_sha256_update+0x8b/0xb0 crypto/sha256_generic.c:51 crypto_shash_update+0x467/0x5c0 crypto/shash.c:119 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:495 [inline] ima_calc_file_shash security/integrity/ima/ima_crypto.c:515 [inline] ima_calc_file_hash+0x2073/0x40b0 security/integrity/ima/ima_crypto.c:580 ima_collect_measurement+0x585/0xba0 security/integrity/ima/ima_api.c:250 process_measurement+0x24f3/0x3770 security/integrity/ima/ima_main.c:330 ima_file_check+0x131/0x170 security/integrity/ima/ima_main.c:498 do_open fs/namei.c:3254 [inline] path_openat+0x5812/0x6a30 fs/namei.c:3369 do_filp_open+0x2b8/0x710 fs/namei.c:3396 do_sys_openat2+0xa92/0x1150 fs/open.c:1168 do_sys_open fs/open.c:1184 [inline] __do_sys_openat fs/open.c:1200 [inline] __se_sys_openat+0x2b5/0x320 fs/open.c:1195 __x64_sys_openat+0x56/0x70 fs/open.c:1195 do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x4b110a Code: e8 1b c3 f8 ff 48 8b 7c 24 10 48 8b 74 24 18 48 8b 54 24 20 4c 8b 54 24 28 4c 8b 44 24 30 4c 8b 4c 24 38 48 8b 44 24 08 0f 05 <48> 3d 01 f0 ff ff 76 20 48 c7 44 24 40 ff ff ff ff 48 c7 44 24 48 RSP: 002b:000000c01608f798 EFLAGS: 00000216 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000000c00001e800 RCX: 00000000004b110a RDX: 0000000000080002 RSI: 000000c01099b0a0 RDI: ffffffffffffff9c RBP: 000000c01608f810 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000000001a4 R11: 0000000000000216 R12: ffffffffffffffff R13: 0000000000000086 R14: 0000000000000085 R15: 0000000000000100 Uninit was created at: kmsan_save_stack_with_flags+0x3c/0x90 mm/kmsan/kmsan.c:121 kmsan_alloc_page+0xd3/0x1f0 mm/kmsan/kmsan_shadow.c:274 __alloc_pages_nodemask+0x827/0xf90 mm/page_alloc.c:4989 __alloc_pages include/linux/gfp.h:511 [inline] __alloc_pages_node include/linux/gfp.h:524 [inline] alloc_pages_node include/linux/gfp.h:538 [inline] __page_frag_cache_refill mm/page_alloc.c:5065 [inline] page_frag_alloc+0x357/0x890 mm/page_alloc.c:5095 __netdev_alloc_skb+0x2ae/0xc40 net/core/skbuff.c:451 __dev_alloc_skb include/linux/skbuff.h:2833 [inline] ath9k_hif_usb_rx_stream drivers/net/wireless/ath/ath9k/hif_usb.c:629 [inline] ath9k_hif_usb_rx_cb+0xe58/0x1d20 drivers/net/wireless/ath/ath9k/hif_usb.c:680 __usb_hcd_giveback_urb+0x696/0x880 drivers/usb/core/hcd.c:1650 usb_hcd_giveback_urb+0x1cb/0x730 drivers/usb/core/hcd.c:1716 dummy_timer+0xda7/0x74f0 drivers/usb/gadget/udc/dummy_hcd.c:1967 call_timer_fn+0x7d/0x450 kernel/time/timer.c:1410 expire_timers+0x328/0x6c0 kernel/time/timer.c:1455 __run_timers+0x624/0x9e0 kernel/time/timer.c:1747 run_timer_softirq+0x2d/0x50 kernel/time/timer.c:1760 __do_softirq+0x1a9/0x6fa kernel/softirq.c:298 =====================================================