===================================================== BUG: KMSAN: uninit-value in do_profile_hits kernel/profile.c:308 [inline] BUG: KMSAN: uninit-value in profile_hits+0xbd1/0x12f0 kernel/profile.c:398 CPU: 0 PID: 8460 Comm: kworker/0:3 Not tainted 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events nsim_dev_trap_report_work Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 do_profile_hits kernel/profile.c:308 [inline] profile_hits+0xbd1/0x12f0 kernel/profile.c:398 profile_hit include/linux/profile.h:64 [inline] profile_tick+0x215/0x220 kernel/profile.c:408 tick_sched_handle kernel/time/tick-sched.c:227 [inline] tick_sched_timer+0x472/0x5b0 kernel/time/tick-sched.c:1369 __run_hrtimer+0x48b/0xd20 kernel/time/hrtimer.c:1537 __hrtimer_run_queues kernel/time/hrtimer.c:1601 [inline] hrtimer_interrupt+0x6e2/0x1b50 kernel/time/hrtimer.c:1663 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0xfd/0x470 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0xc1/0xf0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:650 RIP: 0010:_raw_spin_unlock_irqrestore+0x62/0x80 kernel/locking/spinlock.c:192 Code: 00 00 41 c6 04 24 00 81 e3 00 02 00 00 41 81 e7 00 02 00 00 48 85 db 74 0a f7 d3 44 21 fb 48 85 db 74 16 4d 85 ff 74 01 fb 5b <41> 5c 41 5e 41 5f 5d c3 e8 11 ca b6 f2 eb be 44 89 f7 e8 07 ca b6 RSP: 0000:ffff888086bc3970 EFLAGS: 00000206 RAX: ffff8880bb53f648 RBX: 0000000000000000 RCX: 00000000bb93f648 RDX: ffff8880bb93f648 RSI: 0000000000000200 RDI: ffff88810013f648 RBP: ffff888086bc3988 R08: ffffea000000000f R09: ffff88813fffa000 R10: 000000003545083c R11: 00000000fff6a1ee R12: ffff88810013f648 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] _extract_crng+0x678/0x6c0 drivers/char/random.c:1019 extract_crng drivers/char/random.c:1032 [inline] _get_random_bytes+0x373/0x560 drivers/char/random.c:1555 get_random_bytes+0x106/0x2f0 drivers/char/random.c:1568 nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:540 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:570 [inline] nsim_dev_trap_report_work+0xa28/0x1180 drivers/net/netdevsim/dev.c:611 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275 worker_thread+0x10ec/0x2340 kernel/workqueue.c:2421 kthread+0x521/0x560 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Local variable ----sg.i@wg_packet_decrypt_worker created at: decrypt_packet drivers/net/wireguard/receive.c:250 [inline] wg_packet_decrypt_worker+0x456/0x17b0 drivers/net/wireguard/receive.c:507 decrypt_packet drivers/net/wireguard/receive.c:250 [inline] wg_packet_decrypt_worker+0x456/0x17b0 drivers/net/wireguard/receive.c:507 ===================================================== ===================================================== BUG: KMSAN: uninit-value in do_profile_hits kernel/profile.c:308 [inline] BUG: KMSAN: uninit-value in profile_hits+0xbde/0x12f0 kernel/profile.c:398 CPU: 0 PID: 8460 Comm: kworker/0:3 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events nsim_dev_trap_report_work Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 do_profile_hits kernel/profile.c:308 [inline] profile_hits+0xbde/0x12f0 kernel/profile.c:398 profile_hit include/linux/profile.h:64 [inline] profile_tick+0x215/0x220 kernel/profile.c:408 tick_sched_handle kernel/time/tick-sched.c:227 [inline] tick_sched_timer+0x472/0x5b0 kernel/time/tick-sched.c:1369 __run_hrtimer+0x48b/0xd20 kernel/time/hrtimer.c:1537 __hrtimer_run_queues kernel/time/hrtimer.c:1601 [inline] hrtimer_interrupt+0x6e2/0x1b50 kernel/time/hrtimer.c:1663 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0xfd/0x470 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0xc1/0xf0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:650 RIP: 0010:_raw_spin_unlock_irqrestore+0x62/0x80 kernel/locking/spinlock.c:192 Code: 00 00 41 c6 04 24 00 81 e3 00 02 00 00 41 81 e7 00 02 00 00 48 85 db 74 0a f7 d3 44 21 fb 48 85 db 74 16 4d 85 ff 74 01 fb 5b <41> 5c 41 5e 41 5f 5d c3 e8 11 ca b6 f2 eb be 44 89 f7 e8 07 ca b6 RSP: 0000:ffff888086bc3970 EFLAGS: 00000206 RAX: ffff8880bb53f648 RBX: 0000000000000000 RCX: 00000000bb93f648 RDX: ffff8880bb93f648 RSI: 0000000000000200 RDI: ffff88810013f648 RBP: ffff888086bc3988 R08: ffffea000000000f R09: ffff88813fffa000 R10: 000000003545083c R11: 00000000fff6a1ee R12: ffff88810013f648 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] _extract_crng+0x678/0x6c0 drivers/char/random.c:1019 extract_crng drivers/char/random.c:1032 [inline] _get_random_bytes+0x373/0x560 drivers/char/random.c:1555 get_random_bytes+0x106/0x2f0 drivers/char/random.c:1568 nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:540 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:570 [inline] nsim_dev_trap_report_work+0xa28/0x1180 drivers/net/netdevsim/dev.c:611 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275 worker_thread+0x10ec/0x2340 kernel/workqueue.c:2421 kthread+0x521/0x560 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Local variable ----sg.i@wg_packet_decrypt_worker created at: decrypt_packet drivers/net/wireguard/receive.c:250 [inline] wg_packet_decrypt_worker+0x456/0x17b0 drivers/net/wireguard/receive.c:507 decrypt_packet drivers/net/wireguard/receive.c:250 [inline] wg_packet_decrypt_worker+0x456/0x17b0 drivers/net/wireguard/receive.c:507 ===================================================== ===================================================== BUG: KMSAN: uninit-value in do_profile_hits kernel/profile.c:308 [inline] BUG: KMSAN: uninit-value in profile_hits+0xbeb/0x12f0 kernel/profile.c:398 CPU: 0 PID: 8460 Comm: kworker/0:3 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events nsim_dev_trap_report_work Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 do_profile_hits kernel/profile.c:308 [inline] profile_hits+0xbeb/0x12f0 kernel/profile.c:398 profile_hit include/linux/profile.h:64 [inline] profile_tick+0x215/0x220 kernel/profile.c:408 tick_sched_handle kernel/time/tick-sched.c:227 [inline] tick_sched_timer+0x472/0x5b0 kernel/time/tick-sched.c:1369 __run_hrtimer+0x48b/0xd20 kernel/time/hrtimer.c:1537 __hrtimer_run_queues kernel/time/hrtimer.c:1601 [inline] hrtimer_interrupt+0x6e2/0x1b50 kernel/time/hrtimer.c:1663 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0xfd/0x470 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0xc1/0xf0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:650 RIP: 0010:_raw_spin_unlock_irqrestore+0x62/0x80 kernel/locking/spinlock.c:192 Code: 00 00 41 c6 04 24 00 81 e3 00 02 00 00 41 81 e7 00 02 00 00 48 85 db 74 0a f7 d3 44 21 fb 48 85 db 74 16 4d 85 ff 74 01 fb 5b <41> 5c 41 5e 41 5f 5d c3 e8 11 ca b6 f2 eb be 44 89 f7 e8 07 ca b6 RSP: 0000:ffff888086bc3970 EFLAGS: 00000206 RAX: ffff8880bb53f648 RBX: 0000000000000000 RCX: 00000000bb93f648 RDX: ffff8880bb93f648 RSI: 0000000000000200 RDI: ffff88810013f648 RBP: ffff888086bc3988 R08: ffffea000000000f R09: ffff88813fffa000 R10: 000000003545083c R11: 00000000fff6a1ee R12: ffff88810013f648 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] _extract_crng+0x678/0x6c0 drivers/char/random.c:1019 extract_crng drivers/char/random.c:1032 [inline] _get_random_bytes+0x373/0x560 drivers/char/random.c:1555 get_random_bytes+0x106/0x2f0 drivers/char/random.c:1568 nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:540 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:570 [inline] nsim_dev_trap_report_work+0xa28/0x1180 drivers/net/netdevsim/dev.c:611 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275 worker_thread+0x10ec/0x2340 kernel/workqueue.c:2421 kthread+0x521/0x560 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Local variable ----sg.i@wg_packet_decrypt_worker created at: decrypt_packet drivers/net/wireguard/receive.c:250 [inline] wg_packet_decrypt_worker+0x456/0x17b0 drivers/net/wireguard/receive.c:507 decrypt_packet drivers/net/wireguard/receive.c:250 [inline] wg_packet_decrypt_worker+0x456/0x17b0 drivers/net/wireguard/receive.c:507 ===================================================== ===================================================== BUG: KMSAN: uninit-value in do_profile_hits kernel/profile.c:312 [inline] BUG: KMSAN: uninit-value in profile_hits+0x1275/0x12f0 kernel/profile.c:398 CPU: 0 PID: 8460 Comm: kworker/0:3 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events nsim_dev_trap_report_work Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 do_profile_hits kernel/profile.c:312 [inline] profile_hits+0x1275/0x12f0 kernel/profile.c:398 profile_hit include/linux/profile.h:64 [inline] profile_tick+0x215/0x220 kernel/profile.c:408 tick_sched_handle kernel/time/tick-sched.c:227 [inline] tick_sched_timer+0x472/0x5b0 kernel/time/tick-sched.c:1369 __run_hrtimer+0x48b/0xd20 kernel/time/hrtimer.c:1537 __hrtimer_run_queues kernel/time/hrtimer.c:1601 [inline] hrtimer_interrupt+0x6e2/0x1b50 kernel/time/hrtimer.c:1663 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0xfd/0x470 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0xc1/0xf0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:650 RIP: 0010:_raw_spin_unlock_irqrestore+0x62/0x80 kernel/locking/spinlock.c:192 Code: 00 00 41 c6 04 24 00 81 e3 00 02 00 00 41 81 e7 00 02 00 00 48 85 db 74 0a f7 d3 44 21 fb 48 85 db 74 16 4d 85 ff 74 01 fb 5b <41> 5c 41 5e 41 5f 5d c3 e8 11 ca b6 f2 eb be 44 89 f7 e8 07 ca b6 RSP: 0000:ffff888086bc3970 EFLAGS: 00000206 RAX: ffff8880bb53f648 RBX: 0000000000000000 RCX: 00000000bb93f648 RDX: ffff8880bb93f648 RSI: 0000000000000200 RDI: ffff88810013f648 RBP: ffff888086bc3988 R08: ffffea000000000f R09: ffff88813fffa000 R10: 000000003545083c R11: 00000000fff6a1ee R12: ffff88810013f648 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] _extract_crng+0x678/0x6c0 drivers/char/random.c:1019 extract_crng drivers/char/random.c:1032 [inline] _get_random_bytes+0x373/0x560 drivers/char/random.c:1555 get_random_bytes+0x106/0x2f0 drivers/char/random.c:1568 nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:540 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:570 [inline] nsim_dev_trap_report_work+0xa28/0x1180 drivers/net/netdevsim/dev.c:611 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275 worker_thread+0x10ec/0x2340 kernel/workqueue.c:2421 kthread+0x521/0x560 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Local variable ----sg.i@wg_packet_decrypt_worker created at: decrypt_packet drivers/net/wireguard/receive.c:250 [inline] wg_packet_decrypt_worker+0x456/0x17b0 drivers/net/wireguard/receive.c:507 decrypt_packet drivers/net/wireguard/receive.c:250 [inline] wg_packet_decrypt_worker+0x456/0x17b0 drivers/net/wireguard/receive.c:507 ===================================================== ===================================================== BUG: KMSAN: uninit-value in do_profile_hits kernel/profile.c:313 [inline] BUG: KMSAN: uninit-value in profile_hits+0x1295/0x12f0 kernel/profile.c:398 CPU: 0 PID: 8460 Comm: kworker/0:3 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events nsim_dev_trap_report_work Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 do_profile_hits kernel/profile.c:313 [inline] profile_hits+0x1295/0x12f0 kernel/profile.c:398 profile_hit include/linux/profile.h:64 [inline] profile_tick+0x215/0x220 kernel/profile.c:408 tick_sched_handle kernel/time/tick-sched.c:227 [inline] tick_sched_timer+0x472/0x5b0 kernel/time/tick-sched.c:1369 __run_hrtimer+0x48b/0xd20 kernel/time/hrtimer.c:1537 __hrtimer_run_queues kernel/time/hrtimer.c:1601 [inline] hrtimer_interrupt+0x6e2/0x1b50 kernel/time/hrtimer.c:1663 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0xfd/0x470 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0xc1/0xf0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:650 RIP: 0010:_raw_spin_unlock_irqrestore+0x62/0x80 kernel/locking/spinlock.c:192 Code: 00 00 41 c6 04 24 00 81 e3 00 02 00 00 41 81 e7 00 02 00 00 48 85 db 74 0a f7 d3 44 21 fb 48 85 db 74 16 4d 85 ff 74 01 fb 5b <41> 5c 41 5e 41 5f 5d c3 e8 11 ca b6 f2 eb be 44 89 f7 e8 07 ca b6 RSP: 0000:ffff888086bc3970 EFLAGS: 00000206 RAX: ffff8880bb53f648 RBX: 0000000000000000 RCX: 00000000bb93f648 RDX: ffff8880bb93f648 RSI: 0000000000000200 RDI: ffff88810013f648 RBP: ffff888086bc3988 R08: ffffea000000000f R09: ffff88813fffa000 R10: 000000003545083c R11: 00000000fff6a1ee R12: ffff88810013f648 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] _extract_crng+0x678/0x6c0 drivers/char/random.c:1019 extract_crng drivers/char/random.c:1032 [inline] _get_random_bytes+0x373/0x560 drivers/char/random.c:1555 get_random_bytes+0x106/0x2f0 drivers/char/random.c:1568 nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:540 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:570 [inline] nsim_dev_trap_report_work+0xa28/0x1180 drivers/net/netdevsim/dev.c:611 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275 worker_thread+0x10ec/0x2340 kernel/workqueue.c:2421 kthread+0x521/0x560 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Local variable ----sg.i@wg_packet_decrypt_worker created at: decrypt_packet drivers/net/wireguard/receive.c:250 [inline] wg_packet_decrypt_worker+0x456/0x17b0 drivers/net/wireguard/receive.c:507 decrypt_packet drivers/net/wireguard/receive.c:250 [inline] wg_packet_decrypt_worker+0x456/0x17b0 drivers/net/wireguard/receive.c:507 ===================================================== ===================================================== BUG: KMSAN: uninit-value in do_profile_hits kernel/profile.c:308 [inline] BUG: KMSAN: uninit-value in profile_hits+0xbd1/0x12f0 kernel/profile.c:398 CPU: 0 PID: 8460 Comm: kworker/0:3 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events nsim_dev_trap_report_work Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 do_profile_hits kernel/profile.c:308 [inline] profile_hits+0xbd1/0x12f0 kernel/profile.c:398 profile_hit include/linux/profile.h:64 [inline] profile_tick+0x215/0x220 kernel/profile.c:408 tick_sched_handle kernel/time/tick-sched.c:227 [inline] tick_sched_timer+0x472/0x5b0 kernel/time/tick-sched.c:1369 __run_hrtimer+0x48b/0xd20 kernel/time/hrtimer.c:1537 __hrtimer_run_queues kernel/time/hrtimer.c:1601 [inline] hrtimer_interrupt+0x6e2/0x1b50 kernel/time/hrtimer.c:1663 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0xfd/0x470 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0xc1/0xf0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:650 RIP: 0010:_raw_spin_unlock_irqrestore+0x62/0x80 kernel/locking/spinlock.c:192 Code: 00 00 41 c6 04 24 00 81 e3 00 02 00 00 41 81 e7 00 02 00 00 48 85 db 74 0a f7 d3 44 21 fb 48 85 db 74 16 4d 85 ff 74 01 fb 5b <41> 5c 41 5e 41 5f 5d c3 e8 11 ca b6 f2 eb be 44 89 f7 e8 07 ca b6 RSP: 0000:ffff888086bc3970 EFLAGS: 00000206 RAX: ffff8880bb53f648 RBX: 0000000000000000 RCX: 00000000bb93f648 RDX: ffff8880bb93f648 RSI: 0000000000000200 RDI: ffff88810013f648 RBP: ffff888086bc3988 R08: ffffea000000000f R09: ffff88813fffa000 R10: 000000003545083c R11: 00000000fff6a1ee R12: ffff88810013f648 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] _extract_crng+0x678/0x6c0 drivers/char/random.c:1019 extract_crng drivers/char/random.c:1032 [inline] _get_random_bytes+0x373/0x560 drivers/char/random.c:1555 get_random_bytes+0x106/0x2f0 drivers/char/random.c:1568 nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:540 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:570 [inline] nsim_dev_trap_report_work+0xa28/0x1180 drivers/net/netdevsim/dev.c:611 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275 worker_thread+0x10ec/0x2340 kernel/workqueue.c:2421 kthread+0x521/0x560 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Local variable ----sg.i@wg_packet_decrypt_worker created at: decrypt_packet drivers/net/wireguard/receive.c:250 [inline] wg_packet_decrypt_worker+0x456/0x17b0 drivers/net/wireguard/receive.c:507 decrypt_packet drivers/net/wireguard/receive.c:250 [inline] wg_packet_decrypt_worker+0x456/0x17b0 drivers/net/wireguard/receive.c:507 ===================================================== ===================================================== BUG: KMSAN: uninit-value in do_profile_hits kernel/profile.c:308 [inline] BUG: KMSAN: uninit-value in profile_hits+0xbde/0x12f0 kernel/profile.c:398 CPU: 0 PID: 8460 Comm: kworker/0:3 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events nsim_dev_trap_report_work Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 do_profile_hits kernel/profile.c:308 [inline] profile_hits+0xbde/0x12f0 kernel/profile.c:398 profile_hit include/linux/profile.h:64 [inline] profile_tick+0x215/0x220 kernel/profile.c:408 tick_sched_handle kernel/time/tick-sched.c:227 [inline] tick_sched_timer+0x472/0x5b0 kernel/time/tick-sched.c:1369 __run_hrtimer+0x48b/0xd20 kernel/time/hrtimer.c:1537 __hrtimer_run_queues kernel/time/hrtimer.c:1601 [inline] hrtimer_interrupt+0x6e2/0x1b50 kernel/time/hrtimer.c:1663 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0xfd/0x470 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0xc1/0xf0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:650 RIP: 0010:_raw_spin_unlock_irqrestore+0x62/0x80 kernel/locking/spinlock.c:192 Code: 00 00 41 c6 04 24 00 81 e3 00 02 00 00 41 81 e7 00 02 00 00 48 85 db 74 0a f7 d3 44 21 fb 48 85 db 74 16 4d 85 ff 74 01 fb 5b <41> 5c 41 5e 41 5f 5d c3 e8 11 ca b6 f2 eb be 44 89 f7 e8 07 ca b6 RSP: 0000:ffff888086bc3970 EFLAGS: 00000206 RAX: ffff8880bb53f648 RBX: 0000000000000000 RCX: 00000000bb93f648 RDX: ffff8880bb93f648 RSI: 0000000000000200 RDI: ffff88810013f648 RBP: ffff888086bc3988 R08: ffffea000000000f R09: ffff88813fffa000 R10: 000000003545083c R11: 00000000fff6a1ee R12: ffff88810013f648 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] _extract_crng+0x678/0x6c0 drivers/char/random.c:1019 extract_crng drivers/char/random.c:1032 [inline] _get_random_bytes+0x373/0x560 drivers/char/random.c:1555 get_random_bytes+0x106/0x2f0 drivers/char/random.c:1568 nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:540 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:570 [inline] nsim_dev_trap_report_work+0xa28/0x1180 drivers/net/netdevsim/dev.c:611 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275 worker_thread+0x10ec/0x2340 kernel/workqueue.c:2421 kthread+0x521/0x560 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Local variable ----sg.i@wg_packet_decrypt_worker created at: decrypt_packet drivers/net/wireguard/receive.c:250 [inline] wg_packet_decrypt_worker+0x456/0x17b0 drivers/net/wireguard/receive.c:507 decrypt_packet drivers/net/wireguard/receive.c:250 [inline] wg_packet_decrypt_worker+0x456/0x17b0 drivers/net/wireguard/receive.c:507 ===================================================== ===================================================== BUG: KMSAN: uninit-value in do_profile_hits kernel/profile.c:308 [inline] BUG: KMSAN: uninit-value in profile_hits+0xbeb/0x12f0 kernel/profile.c:398 CPU: 0 PID: 8460 Comm: kworker/0:3 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events nsim_dev_trap_report_work Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 do_profile_hits kernel/profile.c:308 [inline] profile_hits+0xbeb/0x12f0 kernel/profile.c:398 profile_hit include/linux/profile.h:64 [inline] profile_tick+0x215/0x220 kernel/profile.c:408 tick_sched_handle kernel/time/tick-sched.c:227 [inline] tick_sched_timer+0x472/0x5b0 kernel/time/tick-sched.c:1369 __run_hrtimer+0x48b/0xd20 kernel/time/hrtimer.c:1537 __hrtimer_run_queues kernel/time/hrtimer.c:1601 [inline] hrtimer_interrupt+0x6e2/0x1b50 kernel/time/hrtimer.c:1663 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0xfd/0x470 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0xc1/0xf0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:650 RIP: 0010:_raw_spin_unlock_irqrestore+0x62/0x80 kernel/locking/spinlock.c:192 Code: 00 00 41 c6 04 24 00 81 e3 00 02 00 00 41 81 e7 00 02 00 00 48 85 db 74 0a f7 d3 44 21 fb 48 85 db 74 16 4d 85 ff 74 01 fb 5b <41> 5c 41 5e 41 5f 5d c3 e8 11 ca b6 f2 eb be 44 89 f7 e8 07 ca b6 RSP: 0000:ffff888086bc3970 EFLAGS: 00000206 RAX: ffff8880bb53f648 RBX: 0000000000000000 RCX: 00000000bb93f648 RDX: ffff8880bb93f648 RSI: 0000000000000200 RDI: ffff88810013f648 RBP: ffff888086bc3988 R08: ffffea000000000f R09: ffff88813fffa000 R10: 000000003545083c R11: 00000000fff6a1ee R12: ffff88810013f648 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] _extract_crng+0x678/0x6c0 drivers/char/random.c:1019 extract_crng drivers/char/random.c:1032 [inline] _get_random_bytes+0x373/0x560 drivers/char/random.c:1555 get_random_bytes+0x106/0x2f0 drivers/char/random.c:1568 nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:540 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:570 [inline] nsim_dev_trap_report_work+0xa28/0x1180 drivers/net/netdevsim/dev.c:611 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275 worker_thread+0x10ec/0x2340 kernel/workqueue.c:2421 kthread+0x521/0x560 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:121 [inline] kmsan_internal_chain_origin+0xad/0x130 mm/kmsan/kmsan.c:289 __msan_chain_origin+0x54/0xa0 mm/kmsan/kmsan_instr.c:147 do_profile_hits kernel/profile.c:312 [inline] profile_hits+0x1285/0x12f0 kernel/profile.c:398 profile_hit include/linux/profile.h:64 [inline] profile_tick+0x215/0x220 kernel/profile.c:408 tick_sched_handle kernel/time/tick-sched.c:227 [inline] tick_sched_timer+0x472/0x5b0 kernel/time/tick-sched.c:1369 __run_hrtimer+0x48b/0xd20 kernel/time/hrtimer.c:1537 __hrtimer_run_queues kernel/time/hrtimer.c:1601 [inline] hrtimer_interrupt+0x6e2/0x1b50 kernel/time/hrtimer.c:1663 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0xfd/0x470 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0xc1/0xf0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:650 Local variable ----sg.i@wg_packet_decrypt_worker created at: decrypt_packet drivers/net/wireguard/receive.c:250 [inline] wg_packet_decrypt_worker+0x456/0x17b0 drivers/net/wireguard/receive.c:507 decrypt_packet drivers/net/wireguard/receive.c:250 [inline] wg_packet_decrypt_worker+0x456/0x17b0 drivers/net/wireguard/receive.c:507 ===================================================== ===================================================== BUG: KMSAN: uninit-value in do_profile_hits kernel/profile.c:309 [inline] BUG: KMSAN: uninit-value in profile_hits+0x1252/0x12f0 kernel/profile.c:398 CPU: 0 PID: 8460 Comm: kworker/0:3 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events nsim_dev_trap_report_work Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 do_profile_hits kernel/profile.c:309 [inline] profile_hits+0x1252/0x12f0 kernel/profile.c:398 profile_hit include/linux/profile.h:64 [inline] profile_tick+0x215/0x220 kernel/profile.c:408 tick_sched_handle kernel/time/tick-sched.c:227 [inline] tick_sched_timer+0x472/0x5b0 kernel/time/tick-sched.c:1369 __run_hrtimer+0x48b/0xd20 kernel/time/hrtimer.c:1537 __hrtimer_run_queues kernel/time/hrtimer.c:1601 [inline] hrtimer_interrupt+0x6e2/0x1b50 kernel/time/hrtimer.c:1663 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0xfd/0x470 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0xc1/0xf0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:650 RIP: 0010:_raw_spin_unlock_irqrestore+0x62/0x80 kernel/locking/spinlock.c:192 Code: 00 00 41 c6 04 24 00 81 e3 00 02 00 00 41 81 e7 00 02 00 00 48 85 db 74 0a f7 d3 44 21 fb 48 85 db 74 16 4d 85 ff 74 01 fb 5b <41> 5c 41 5e 41 5f 5d c3 e8 11 ca b6 f2 eb be 44 89 f7 e8 07 ca b6 RSP: 0000:ffff888086bc3970 EFLAGS: 00000206 RAX: ffff8880bb53f648 RBX: 0000000000000000 RCX: 00000000bb93f648 RDX: ffff8880bb93f648 RSI: 0000000000000200 RDI: ffff88810013f648 RBP: ffff888086bc3988 R08: ffffea000000000f R09: ffff88813fffa000 R10: 000000003545083c R11: 00000000fff6a1ee R12: ffff88810013f648 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] _extract_crng+0x678/0x6c0 drivers/char/random.c:1019 extract_crng drivers/char/random.c:1032 [inline] _get_random_bytes+0x373/0x560 drivers/char/random.c:1555 get_random_bytes+0x106/0x2f0 drivers/char/random.c:1568 nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:540 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:570 [inline] nsim_dev_trap_report_work+0xa28/0x1180 drivers/net/netdevsim/dev.c:611 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275 worker_thread+0x10ec/0x2340 kernel/workqueue.c:2421 kthread+0x521/0x560 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Local variable ----sg.i@wg_packet_decrypt_worker created at: decrypt_packet drivers/net/wireguard/receive.c:250 [inline] wg_packet_decrypt_worker+0x456/0x17b0 drivers/net/wireguard/receive.c:507 decrypt_packet drivers/net/wireguard/receive.c:250 [inline] wg_packet_decrypt_worker+0x456/0x17b0 drivers/net/wireguard/receive.c:507 ===================================================== ===================================================== BUG: KMSAN: uninit-value in do_profile_hits kernel/profile.c:308 [inline] BUG: KMSAN: uninit-value in profile_hits+0xbd1/0x12f0 kernel/profile.c:398 CPU: 0 PID: 8460 Comm: kworker/0:3 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events nsim_dev_trap_report_work Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 do_profile_hits kernel/profile.c:308 [inline] profile_hits+0xbd1/0x12f0 kernel/profile.c:398 profile_hit include/linux/profile.h:64 [inline] profile_tick+0x215/0x220 kernel/profile.c:408 tick_sched_handle kernel/time/tick-sched.c:227 [inline] tick_sched_timer+0x472/0x5b0 kernel/time/tick-sched.c:1369 __run_hrtimer+0x48b/0xd20 kernel/time/hrtimer.c:1537 __hrtimer_run_queues kernel/time/hrtimer.c:1601 [inline] hrtimer_interrupt+0x6e2/0x1b50 kernel/time/hrtimer.c:1663 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0xfd/0x470 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0xc1/0xf0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:650 RIP: 0010:_raw_spin_unlock_irqrestore+0x62/0x80 kernel/locking/spinlock.c:192 Code: 00 00 41 c6 04 24 00 81 e3 00 02 00 00 41 81 e7 00 02 00 00 48 85 db 74 0a f7 d3 44 21 fb 48 85 db 74 16 4d 85 ff 74 01 fb 5b <41> 5c 41 5e 41 5f 5d c3 e8 11 ca b6 f2 eb be 44 89 f7 e8 07 ca b6 RSP: 0000:ffff888086bc3970 EFLAGS: 00000206 RAX: ffff8880bb53f648 RBX: 0000000000000000 RCX: 00000000bb93f648 RDX: ffff8880bb93f648 RSI: 0000000000000200 RDI: ffff88810013f648 RBP: ffff888086bc3988 R08: ffffea000000000f R09: ffff88813fffa000 R10: 000000003545083c R11: 00000000fff6a1ee R12: ffff88810013f648 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] _extract_crng+0x678/0x6c0 drivers/char/random.c:1019 extract_crng drivers/char/random.c:1032 [inline] _get_random_bytes+0x373/0x560 drivers/char/random.c:1555 get_random_bytes+0x106/0x2f0 drivers/char/random.c:1568 nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:540 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:570 [inline] nsim_dev_trap_report_work+0xa28/0x1180 drivers/net/netdevsim/dev.c:611 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275 worker_thread+0x10ec/0x2340 kernel/workqueue.c:2421 kthread+0x521/0x560 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Local variable ----sg.i@wg_packet_decrypt_worker created at: decrypt_packet drivers/net/wireguard/receive.c:250 [inline] wg_packet_decrypt_worker+0x456/0x17b0 drivers/net/wireguard/receive.c:507 decrypt_packet drivers/net/wireguard/receive.c:250 [inline] wg_packet_decrypt_worker+0x456/0x17b0 drivers/net/wireguard/receive.c:507 ===================================================== ===================================================== BUG: KMSAN: uninit-value in do_profile_hits kernel/profile.c:308 [inline] BUG: KMSAN: uninit-value in profile_hits+0xbde/0x12f0 kernel/profile.c:398 CPU: 0 PID: 8460 Comm: kworker/0:3 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events nsim_dev_trap_report_work Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 do_profile_hits kernel/profile.c:308 [inline] profile_hits+0xbde/0x12f0 kernel/profile.c:398 profile_hit include/linux/profile.h:64 [inline] profile_tick+0x215/0x220 kernel/profile.c:408 tick_sched_handle kernel/time/tick-sched.c:227 [inline] tick_sched_timer+0x472/0x5b0 kernel/time/tick-sched.c:1369 __run_hrtimer+0x48b/0xd20 kernel/time/hrtimer.c:1537 __hrtimer_run_queues kernel/time/hrtimer.c:1601 [inline] hrtimer_interrupt+0x6e2/0x1b50 kernel/time/hrtimer.c:1663 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0xfd/0x470 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0xc1/0xf0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:650 RIP: 0010:_raw_spin_unlock_irqrestore+0x62/0x80 kernel/locking/spinlock.c:192 Code: 00 00 41 c6 04 24 00 81 e3 00 02 00 00 41 81 e7 00 02 00 00 48 85 db 74 0a f7 d3 44 21 fb 48 85 db 74 16 4d 85 ff 74 01 fb 5b <41> 5c 41 5e 41 5f 5d c3 e8 11 ca b6 f2 eb be 44 89 f7 e8 07 ca b6 RSP: 0000:ffff888086bc3970 EFLAGS: 00000206 RAX: ffff8880bb53f648 RBX: 0000000000000000 RCX: 00000000bb93f648 RDX: ffff8880bb93f648 RSI: 0000000000000200 RDI: ffff88810013f648 RBP: ffff888086bc3988 R08: ffffea000000000f R09: ffff88813fffa000 R10: 000000003545083c R11: 00000000fff6a1ee R12: ffff88810013f648 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] _extract_crng+0x678/0x6c0 drivers/char/random.c:1019 extract_crng drivers/char/random.c:1032 [inline] _get_random_bytes+0x373/0x560 drivers/char/random.c:1555 get_random_bytes+0x106/0x2f0 drivers/char/random.c:1568 nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:540 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:570 [inline] nsim_dev_trap_report_work+0xa28/0x1180 drivers/net/netdevsim/dev.c:611 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275 worker_thread+0x10ec/0x2340 kernel/workqueue.c:2421 kthread+0x521/0x560 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Local variable ----sg.i@wg_packet_decrypt_worker created at: decrypt_packet drivers/net/wireguard/receive.c:250 [inline] wg_packet_decrypt_worker+0x456/0x17b0 drivers/net/wireguard/receive.c:507 decrypt_packet drivers/net/wireguard/receive.c:250 [inline] wg_packet_decrypt_worker+0x456/0x17b0 drivers/net/wireguard/receive.c:507 ===================================================== ===================================================== BUG: KMSAN: uninit-value in do_profile_hits kernel/profile.c:308 [inline] BUG: KMSAN: uninit-value in profile_hits+0xbeb/0x12f0 kernel/profile.c:398 CPU: 0 PID: 8460 Comm: kworker/0:3 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events nsim_dev_trap_report_work Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 do_profile_hits kernel/profile.c:308 [inline] profile_hits+0xbeb/0x12f0 kernel/profile.c:398 profile_hit include/linux/profile.h:64 [inline] profile_tick+0x215/0x220 kernel/profile.c:408 tick_sched_handle kernel/time/tick-sched.c:227 [inline] tick_sched_timer+0x472/0x5b0 kernel/time/tick-sched.c:1369 __run_hrtimer+0x48b/0xd20 kernel/time/hrtimer.c:1537 __hrtimer_run_queues kernel/time/hrtimer.c:1601 [inline] hrtimer_interrupt+0x6e2/0x1b50 kernel/time/hrtimer.c:1663 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0xfd/0x470 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0xc1/0xf0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:650 RIP: 0010:_raw_spin_unlock_irqrestore+0x62/0x80 kernel/locking/spinlock.c:192 Code: 00 00 41 c6 04 24 00 81 e3 00 02 00 00 41 81 e7 00 02 00 00 48 85 db 74 0a f7 d3 44 21 fb 48 85 db 74 16 4d 85 ff 74 01 fb 5b <41> 5c 41 5e 41 5f 5d c3 e8 11 ca b6 f2 eb be 44 89 f7 e8 07 ca b6 RSP: 0000:ffff888086bc3970 EFLAGS: 00000206 RAX: ffff8880bb53f648 RBX: 0000000000000000 RCX: 00000000bb93f648 RDX: ffff8880bb93f648 RSI: 0000000000000200 RDI: ffff88810013f648 RBP: ffff888086bc3988 R08: ffffea000000000f R09: ffff88813fffa000 R10: 000000003545083c R11: 00000000fff6a1ee R12: ffff88810013f648 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] _extract_crng+0x678/0x6c0 drivers/char/random.c:1019 extract_crng drivers/char/random.c:1032 [inline] _get_random_bytes+0x373/0x560 drivers/char/random.c:1555 get_random_bytes+0x106/0x2f0 drivers/char/random.c:1568 nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:540 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:570 [inline] nsim_dev_trap_report_work+0xa28/0x1180 drivers/net/netdevsim/dev.c:611 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275 worker_thread+0x10ec/0x2340 kernel/workqueue.c:2421 kthread+0x521/0x560 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:121 [inline] kmsan_internal_chain_origin+0xad/0x130 mm/kmsan/kmsan.c:289 __msan_chain_origin+0x54/0xa0 mm/kmsan/kmsan_instr.c:147 do_profile_hits kernel/profile.c:312 [inline] profile_hits+0x1285/0x12f0 kernel/profile.c:398 profile_hit include/linux/profile.h:64 [inline] profile_tick+0x215/0x220 kernel/profile.c:408 tick_sched_handle kernel/time/tick-sched.c:227 [inline] tick_sched_timer+0x472/0x5b0 kernel/time/tick-sched.c:1369 __run_hrtimer+0x48b/0xd20 kernel/time/hrtimer.c:1537 __hrtimer_run_queues kernel/time/hrtimer.c:1601 [inline] hrtimer_interrupt+0x6e2/0x1b50 kernel/time/hrtimer.c:1663 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0xfd/0x470 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0xc1/0xf0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:650 Local variable ----sg.i@wg_packet_decrypt_worker created at: decrypt_packet drivers/net/wireguard/receive.c:250 [inline] wg_packet_decrypt_worker+0x456/0x17b0 drivers/net/wireguard/receive.c:507 decrypt_packet drivers/net/wireguard/receive.c:250 [inline] wg_packet_decrypt_worker+0x456/0x17b0 drivers/net/wireguard/receive.c:507 ===================================================== ===================================================== BUG: KMSAN: uninit-value in do_profile_hits kernel/profile.c:309 [inline] BUG: KMSAN: uninit-value in profile_hits+0x1252/0x12f0 kernel/profile.c:398 CPU: 0 PID: 8460 Comm: kworker/0:3 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events nsim_dev_trap_report_work Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 do_profile_hits kernel/profile.c:309 [inline] profile_hits+0x1252/0x12f0 kernel/profile.c:398 profile_hit include/linux/profile.h:64 [inline] profile_tick+0x215/0x220 kernel/profile.c:408 tick_sched_handle kernel/time/tick-sched.c:227 [inline] tick_sched_timer+0x472/0x5b0 kernel/time/tick-sched.c:1369 __run_hrtimer+0x48b/0xd20 kernel/time/hrtimer.c:1537 __hrtimer_run_queues kernel/time/hrtimer.c:1601 [inline] hrtimer_interrupt+0x6e2/0x1b50 kernel/time/hrtimer.c:1663 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0xfd/0x470 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0xc1/0xf0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:650 RIP: 0010:_raw_spin_unlock_irqrestore+0x62/0x80 kernel/locking/spinlock.c:192 Code: 00 00 41 c6 04 24 00 81 e3 00 02 00 00 41 81 e7 00 02 00 00 48 85 db 74 0a f7 d3 44 21 fb 48 85 db 74 16 4d 85 ff 74 01 fb 5b <41> 5c 41 5e 41 5f 5d c3 e8 11 ca b6 f2 eb be 44 89 f7 e8 07 ca b6 RSP: 0000:ffff888086bc3970 EFLAGS: 00000206 RAX: ffff8880bb53f648 RBX: 0000000000000000 RCX: 00000000bb93f648 RDX: ffff8880bb93f648 RSI: 0000000000000200 RDI: ffff88810013f648 RBP: ffff888086bc3988 R08: ffffea000000000f R09: ffff88813fffa000 R10: 000000003545083c R11: 00000000fff6a1ee R12: ffff88810013f648 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] _extract_crng+0x678/0x6c0 drivers/char/random.c:1019 extract_crng drivers/char/random.c:1032 [inline] _get_random_bytes+0x373/0x560 drivers/char/random.c:1555 get_random_bytes+0x106/0x2f0 drivers/char/random.c:1568 nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:540 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:570 [inline] nsim_dev_trap_report_work+0xa28/0x1180 drivers/net/netdevsim/dev.c:611 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275 worker_thread+0x10ec/0x2340 kernel/workqueue.c:2421 kthread+0x521/0x560 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Local variable ----sg.i@wg_packet_decrypt_worker created at: decrypt_packet drivers/net/wireguard/receive.c:250 [inline] wg_packet_decrypt_worker+0x456/0x17b0 drivers/net/wireguard/receive.c:507 decrypt_packet drivers/net/wireguard/receive.c:250 [inline] wg_packet_decrypt_worker+0x456/0x17b0 drivers/net/wireguard/receive.c:507 =====================================================