===================================================== 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: 9203 Comm: syz-executor.2 Not tainted 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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: 0018:ffff88809ac93a38 EFLAGS: 00000206 RAX: ffff88808db527a0 RBX: ffff88808b09c908 RCX: 000000008df527a0 RDX: ffff88808df527a0 RSI: 0000000000000110 RDI: ffff88808e3527a0 RBP: ffff88809ac93a50 R08: ffffea000000000f R09: ffff88813fffa000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88808e3527a0 R13: ffff88808e3527a0 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] __wake_up_common_lock kernel/sched/wait.c:140 [inline] __wake_up_sync_key+0x212/0x280 kernel/sched/wait.c:205 pipe_write+0x1f46/0x2bb0 fs/pipe.c:580 call_write_iter include/linux/fs.h:1977 [inline] new_sync_write fs/read_write.c:518 [inline] vfs_write+0x1083/0x1b00 fs/read_write.c:605 ksys_write+0x275/0x500 fs/read_write.c:658 __do_sys_write fs/read_write.c:670 [inline] __se_sys_write+0x92/0xb0 fs/read_write.c:667 __x64_sys_write+0x4a/0x70 fs/read_write.c:667 do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4192bf Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48 RSP: 002b:0000000000a9fd40 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00000000000002a8 RCX: 00000000004192bf RDX: 000000000000000c RSI: 0000000000a9fe40 RDI: 00000000000000f8 RBP: 0000000000a9fddc R08: 0000000000000000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 0000000000084ac2 R14: 0000000000000002 R15: 0000000000a9fe40 Local variable ----namespaces_event@perf_event_namespaces created at: perf_event_namespaces+0x60/0x12b0 kernel/events/core.c:7903 perf_event_namespaces+0x60/0x12b0 kernel/events/core.c:7903 ===================================================== ===================================================== 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: 9203 Comm: syz-executor.2 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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: 0018:ffff88809ac93a38 EFLAGS: 00000206 RAX: ffff88808db527a0 RBX: ffff88808b09c908 RCX: 000000008df527a0 RDX: ffff88808df527a0 RSI: 0000000000000110 RDI: ffff88808e3527a0 RBP: ffff88809ac93a50 R08: ffffea000000000f R09: ffff88813fffa000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88808e3527a0 R13: ffff88808e3527a0 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] __wake_up_common_lock kernel/sched/wait.c:140 [inline] __wake_up_sync_key+0x212/0x280 kernel/sched/wait.c:205 pipe_write+0x1f46/0x2bb0 fs/pipe.c:580 call_write_iter include/linux/fs.h:1977 [inline] new_sync_write fs/read_write.c:518 [inline] vfs_write+0x1083/0x1b00 fs/read_write.c:605 ksys_write+0x275/0x500 fs/read_write.c:658 __do_sys_write fs/read_write.c:670 [inline] __se_sys_write+0x92/0xb0 fs/read_write.c:667 __x64_sys_write+0x4a/0x70 fs/read_write.c:667 do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4192bf Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48 RSP: 002b:0000000000a9fd40 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00000000000002a8 RCX: 00000000004192bf RDX: 000000000000000c RSI: 0000000000a9fe40 RDI: 00000000000000f8 RBP: 0000000000a9fddc R08: 0000000000000000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 0000000000084ac2 R14: 0000000000000002 R15: 0000000000a9fe40 Local variable ----namespaces_event@perf_event_namespaces created at: perf_event_namespaces+0x60/0x12b0 kernel/events/core.c:7903 perf_event_namespaces+0x60/0x12b0 kernel/events/core.c:7903 ===================================================== ===================================================== 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: 9203 Comm: syz-executor.2 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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: 0018:ffff88809ac93a38 EFLAGS: 00000206 RAX: ffff88808db527a0 RBX: ffff88808b09c908 RCX: 000000008df527a0 RDX: ffff88808df527a0 RSI: 0000000000000110 RDI: ffff88808e3527a0 RBP: ffff88809ac93a50 R08: ffffea000000000f R09: ffff88813fffa000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88808e3527a0 R13: ffff88808e3527a0 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] __wake_up_common_lock kernel/sched/wait.c:140 [inline] __wake_up_sync_key+0x212/0x280 kernel/sched/wait.c:205 pipe_write+0x1f46/0x2bb0 fs/pipe.c:580 call_write_iter include/linux/fs.h:1977 [inline] new_sync_write fs/read_write.c:518 [inline] vfs_write+0x1083/0x1b00 fs/read_write.c:605 ksys_write+0x275/0x500 fs/read_write.c:658 __do_sys_write fs/read_write.c:670 [inline] __se_sys_write+0x92/0xb0 fs/read_write.c:667 __x64_sys_write+0x4a/0x70 fs/read_write.c:667 do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4192bf Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48 RSP: 002b:0000000000a9fd40 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00000000000002a8 RCX: 00000000004192bf RDX: 000000000000000c RSI: 0000000000a9fe40 RDI: 00000000000000f8 RBP: 0000000000a9fddc R08: 0000000000000000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 0000000000084ac2 R14: 0000000000000002 R15: 0000000000a9fe40 Local variable ----namespaces_event@perf_event_namespaces created at: perf_event_namespaces+0x60/0x12b0 kernel/events/core.c:7903 perf_event_namespaces+0x60/0x12b0 kernel/events/core.c:7903 ===================================================== ===================================================== 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: 9203 Comm: syz-executor.2 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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: 0018:ffff88809ac93a38 EFLAGS: 00000206 RAX: ffff88808db527a0 RBX: ffff88808b09c908 RCX: 000000008df527a0 RDX: ffff88808df527a0 RSI: 0000000000000110 RDI: ffff88808e3527a0 RBP: ffff88809ac93a50 R08: ffffea000000000f R09: ffff88813fffa000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88808e3527a0 R13: ffff88808e3527a0 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] __wake_up_common_lock kernel/sched/wait.c:140 [inline] __wake_up_sync_key+0x212/0x280 kernel/sched/wait.c:205 pipe_write+0x1f46/0x2bb0 fs/pipe.c:580 call_write_iter include/linux/fs.h:1977 [inline] new_sync_write fs/read_write.c:518 [inline] vfs_write+0x1083/0x1b00 fs/read_write.c:605 ksys_write+0x275/0x500 fs/read_write.c:658 __do_sys_write fs/read_write.c:670 [inline] __se_sys_write+0x92/0xb0 fs/read_write.c:667 __x64_sys_write+0x4a/0x70 fs/read_write.c:667 do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4192bf Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48 RSP: 002b:0000000000a9fd40 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00000000000002a8 RCX: 00000000004192bf RDX: 000000000000000c RSI: 0000000000a9fe40 RDI: 00000000000000f8 RBP: 0000000000a9fddc R08: 0000000000000000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 0000000000084ac2 R14: 0000000000000002 R15: 0000000000a9fe40 Local variable ----namespaces_event@perf_event_namespaces created at: perf_event_namespaces+0x60/0x12b0 kernel/events/core.c:7903 perf_event_namespaces+0x60/0x12b0 kernel/events/core.c:7903 ===================================================== ===================================================== 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: 9203 Comm: syz-executor.2 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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: 0018:ffff88809ac93a38 EFLAGS: 00000206 RAX: ffff88808db527a0 RBX: ffff88808b09c908 RCX: 000000008df527a0 RDX: ffff88808df527a0 RSI: 0000000000000110 RDI: ffff88808e3527a0 RBP: ffff88809ac93a50 R08: ffffea000000000f R09: ffff88813fffa000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88808e3527a0 R13: ffff88808e3527a0 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] __wake_up_common_lock kernel/sched/wait.c:140 [inline] __wake_up_sync_key+0x212/0x280 kernel/sched/wait.c:205 pipe_write+0x1f46/0x2bb0 fs/pipe.c:580 call_write_iter include/linux/fs.h:1977 [inline] new_sync_write fs/read_write.c:518 [inline] vfs_write+0x1083/0x1b00 fs/read_write.c:605 ksys_write+0x275/0x500 fs/read_write.c:658 __do_sys_write fs/read_write.c:670 [inline] __se_sys_write+0x92/0xb0 fs/read_write.c:667 __x64_sys_write+0x4a/0x70 fs/read_write.c:667 do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4192bf Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48 RSP: 002b:0000000000a9fd40 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00000000000002a8 RCX: 00000000004192bf RDX: 000000000000000c RSI: 0000000000a9fe40 RDI: 00000000000000f8 RBP: 0000000000a9fddc R08: 0000000000000000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 0000000000084ac2 R14: 0000000000000002 R15: 0000000000a9fe40 Local variable ----namespaces_event@perf_event_namespaces created at: perf_event_namespaces+0x60/0x12b0 kernel/events/core.c:7903 perf_event_namespaces+0x60/0x12b0 kernel/events/core.c:7903 ===================================================== ===================================================== 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: 9203 Comm: syz-executor.2 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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: 0018:ffff88809ac93a38 EFLAGS: 00000206 RAX: ffff88808db527a0 RBX: ffff88808b09c908 RCX: 000000008df527a0 RDX: ffff88808df527a0 RSI: 0000000000000110 RDI: ffff88808e3527a0 RBP: ffff88809ac93a50 R08: ffffea000000000f R09: ffff88813fffa000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88808e3527a0 R13: ffff88808e3527a0 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] __wake_up_common_lock kernel/sched/wait.c:140 [inline] __wake_up_sync_key+0x212/0x280 kernel/sched/wait.c:205 pipe_write+0x1f46/0x2bb0 fs/pipe.c:580 call_write_iter include/linux/fs.h:1977 [inline] new_sync_write fs/read_write.c:518 [inline] vfs_write+0x1083/0x1b00 fs/read_write.c:605 ksys_write+0x275/0x500 fs/read_write.c:658 __do_sys_write fs/read_write.c:670 [inline] __se_sys_write+0x92/0xb0 fs/read_write.c:667 __x64_sys_write+0x4a/0x70 fs/read_write.c:667 do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4192bf Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48 RSP: 002b:0000000000a9fd40 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00000000000002a8 RCX: 00000000004192bf RDX: 000000000000000c RSI: 0000000000a9fe40 RDI: 00000000000000f8 RBP: 0000000000a9fddc R08: 0000000000000000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 0000000000084ac2 R14: 0000000000000002 R15: 0000000000a9fe40 Local variable ----namespaces_event@perf_event_namespaces created at: perf_event_namespaces+0x60/0x12b0 kernel/events/core.c:7903 perf_event_namespaces+0x60/0x12b0 kernel/events/core.c:7903 ===================================================== ===================================================== 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: 9203 Comm: syz-executor.2 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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: 0018:ffff88809ac93a38 EFLAGS: 00000206 RAX: ffff88808db527a0 RBX: ffff88808b09c908 RCX: 000000008df527a0 RDX: ffff88808df527a0 RSI: 0000000000000110 RDI: ffff88808e3527a0 RBP: ffff88809ac93a50 R08: ffffea000000000f R09: ffff88813fffa000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88808e3527a0 R13: ffff88808e3527a0 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] __wake_up_common_lock kernel/sched/wait.c:140 [inline] __wake_up_sync_key+0x212/0x280 kernel/sched/wait.c:205 pipe_write+0x1f46/0x2bb0 fs/pipe.c:580 call_write_iter include/linux/fs.h:1977 [inline] new_sync_write fs/read_write.c:518 [inline] vfs_write+0x1083/0x1b00 fs/read_write.c:605 ksys_write+0x275/0x500 fs/read_write.c:658 __do_sys_write fs/read_write.c:670 [inline] __se_sys_write+0x92/0xb0 fs/read_write.c:667 __x64_sys_write+0x4a/0x70 fs/read_write.c:667 do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4192bf Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48 RSP: 002b:0000000000a9fd40 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00000000000002a8 RCX: 00000000004192bf RDX: 000000000000000c RSI: 0000000000a9fe40 RDI: 00000000000000f8 RBP: 0000000000a9fddc R08: 0000000000000000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 0000000000084ac2 R14: 0000000000000002 R15: 0000000000a9fe40 Local variable ----namespaces_event@perf_event_namespaces created at: perf_event_namespaces+0x60/0x12b0 kernel/events/core.c:7903 perf_event_namespaces+0x60/0x12b0 kernel/events/core.c:7903 ===================================================== ===================================================== 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: 9203 Comm: syz-executor.2 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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: 0018:ffff88809ac93a38 EFLAGS: 00000206 RAX: ffff88808db527a0 RBX: ffff88808b09c908 RCX: 000000008df527a0 RDX: ffff88808df527a0 RSI: 0000000000000110 RDI: ffff88808e3527a0 RBP: ffff88809ac93a50 R08: ffffea000000000f R09: ffff88813fffa000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88808e3527a0 R13: ffff88808e3527a0 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] __wake_up_common_lock kernel/sched/wait.c:140 [inline] __wake_up_sync_key+0x212/0x280 kernel/sched/wait.c:205 pipe_write+0x1f46/0x2bb0 fs/pipe.c:580 call_write_iter include/linux/fs.h:1977 [inline] new_sync_write fs/read_write.c:518 [inline] vfs_write+0x1083/0x1b00 fs/read_write.c:605 ksys_write+0x275/0x500 fs/read_write.c:658 __do_sys_write fs/read_write.c:670 [inline] __se_sys_write+0x92/0xb0 fs/read_write.c:667 __x64_sys_write+0x4a/0x70 fs/read_write.c:667 do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4192bf Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48 RSP: 002b:0000000000a9fd40 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00000000000002a8 RCX: 00000000004192bf RDX: 000000000000000c RSI: 0000000000a9fe40 RDI: 00000000000000f8 RBP: 0000000000a9fddc R08: 0000000000000000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 0000000000084ac2 R14: 0000000000000002 R15: 0000000000a9fe40 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 ----namespaces_event@perf_event_namespaces created at: perf_event_namespaces+0x60/0x12b0 kernel/events/core.c:7903 perf_event_namespaces+0x60/0x12b0 kernel/events/core.c:7903 ===================================================== ===================================================== 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: 9203 Comm: syz-executor.2 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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: 0018:ffff88809ac93a38 EFLAGS: 00000206 RAX: ffff88808db527a0 RBX: ffff88808b09c908 RCX: 000000008df527a0 RDX: ffff88808df527a0 RSI: 0000000000000110 RDI: ffff88808e3527a0 RBP: ffff88809ac93a50 R08: ffffea000000000f R09: ffff88813fffa000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88808e3527a0 R13: ffff88808e3527a0 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] __wake_up_common_lock kernel/sched/wait.c:140 [inline] __wake_up_sync_key+0x212/0x280 kernel/sched/wait.c:205 pipe_write+0x1f46/0x2bb0 fs/pipe.c:580 call_write_iter include/linux/fs.h:1977 [inline] new_sync_write fs/read_write.c:518 [inline] vfs_write+0x1083/0x1b00 fs/read_write.c:605 ksys_write+0x275/0x500 fs/read_write.c:658 __do_sys_write fs/read_write.c:670 [inline] __se_sys_write+0x92/0xb0 fs/read_write.c:667 __x64_sys_write+0x4a/0x70 fs/read_write.c:667 do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4192bf Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48 RSP: 002b:0000000000a9fd40 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00000000000002a8 RCX: 00000000004192bf RDX: 000000000000000c RSI: 0000000000a9fe40 RDI: 00000000000000f8 RBP: 0000000000a9fddc R08: 0000000000000000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 0000000000084ac2 R14: 0000000000000002 R15: 0000000000a9fe40 Local variable ----namespaces_event@perf_event_namespaces created at: perf_event_namespaces+0x60/0x12b0 kernel/events/core.c:7903 perf_event_namespaces+0x60/0x12b0 kernel/events/core.c:7903 ===================================================== ===================================================== 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: 10562 Comm: syz-executor.4 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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: 0018:ffff88814d59b210 EFLAGS: 00000206 RAX: ffff888237a47ac8 RBX: ffff888103d99d88 RCX: 0000000226440ac8 RDX: ffff888226440ac8 RSI: 0000000000000020 RDI: ffffffff9244eac8 RBP: ffff88814d59b228 R08: ffffea000000000f R09: ffff88813fffa000 R10: 00000000bd0054cc R11: 0000000000000000 R12: ffffffff9244eac8 R13: ffff8880aa824908 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] pcpu_alloc+0x1dc0/0x3d30 mm/percpu.c:1807 __alloc_percpu+0x7a/0x90 mm/percpu.c:1907 xt_percpu_counter_alloc+0x28a/0x400 net/netfilter/x_tables.c:1841 find_check_entry net/ipv4/netfilter/ip_tables.c:527 [inline] translate_table+0x24af/0x3c40 net/ipv4/netfilter/ip_tables.c:717 do_replace net/ipv4/netfilter/ip_tables.c:1135 [inline] do_ipt_set_ctl+0x4e15/0x56a0 net/ipv4/netfilter/ip_tables.c:1627 nf_setsockopt+0x59e/0x600 net/netfilter/nf_sockopt.c:101 ip_setsockopt+0x651f/0x8ab0 net/ipv4/ip_sockglue.c:1435 tcp_setsockopt+0x239/0x270 net/ipv4/tcp.c:3643 sock_common_setsockopt+0x16c/0x1b0 net/core/sock.c:3263 __sys_setsockopt+0x94c/0xd80 net/socket.c:2117 __do_sys_setsockopt net/socket.c:2128 [inline] __se_sys_setsockopt+0xdd/0x100 net/socket.c:2125 __x64_sys_setsockopt+0x62/0x80 net/socket.c:2125 do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x467c1a Code: 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:0000000000a9f678 EFLAGS: 00000206 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000467c1a RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000a9f6a0 R08: 00000000000002d8 R09: 0079746972756365 R10: 0000000000546860 R11: 0000000000000206 R12: 0000000000a9f700 R13: 0000000000000003 R14: 0000000000a9f69c R15: 0000000000546800 Local variable ----indices@truncate_inode_pages_range created at: truncate_inode_pages_range+0xab/0x2760 mm/truncate.c:294 truncate_inode_pages_range+0xab/0x2760 mm/truncate.c:294 ===================================================== ===================================================== 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: 10562 Comm: syz-executor.4 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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: 0018:ffff88814d59b210 EFLAGS: 00000206 RAX: ffff888237a47ac8 RBX: ffff888103d99d88 RCX: 0000000226440ac8 RDX: ffff888226440ac8 RSI: 0000000000000020 RDI: ffffffff9244eac8 RBP: ffff88814d59b228 R08: ffffea000000000f R09: ffff88813fffa000 R10: 00000000bd0054cc R11: 0000000000000000 R12: ffffffff9244eac8 R13: ffff8880aa824908 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] pcpu_alloc+0x1dc0/0x3d30 mm/percpu.c:1807 __alloc_percpu+0x7a/0x90 mm/percpu.c:1907 xt_percpu_counter_alloc+0x28a/0x400 net/netfilter/x_tables.c:1841 find_check_entry net/ipv4/netfilter/ip_tables.c:527 [inline] translate_table+0x24af/0x3c40 net/ipv4/netfilter/ip_tables.c:717 do_replace net/ipv4/netfilter/ip_tables.c:1135 [inline] do_ipt_set_ctl+0x4e15/0x56a0 net/ipv4/netfilter/ip_tables.c:1627 nf_setsockopt+0x59e/0x600 net/netfilter/nf_sockopt.c:101 ip_setsockopt+0x651f/0x8ab0 net/ipv4/ip_sockglue.c:1435 tcp_setsockopt+0x239/0x270 net/ipv4/tcp.c:3643 sock_common_setsockopt+0x16c/0x1b0 net/core/sock.c:3263 __sys_setsockopt+0x94c/0xd80 net/socket.c:2117 __do_sys_setsockopt net/socket.c:2128 [inline] __se_sys_setsockopt+0xdd/0x100 net/socket.c:2125 __x64_sys_setsockopt+0x62/0x80 net/socket.c:2125 do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x467c1a Code: 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:0000000000a9f678 EFLAGS: 00000206 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000467c1a RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000a9f6a0 R08: 00000000000002d8 R09: 0079746972756365 R10: 0000000000546860 R11: 0000000000000206 R12: 0000000000a9f700 R13: 0000000000000003 R14: 0000000000a9f69c R15: 0000000000546800 Local variable ----indices@truncate_inode_pages_range created at: truncate_inode_pages_range+0xab/0x2760 mm/truncate.c:294 truncate_inode_pages_range+0xab/0x2760 mm/truncate.c:294 ===================================================== ===================================================== 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: 10562 Comm: syz-executor.4 Tainted: G B 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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: 0018:ffff88814d59b210 EFLAGS: 00000206 RAX: ffff888237a47ac8 RBX: ffff888103d99d88 RCX: 0000000226440ac8 RDX: ffff888226440ac8 RSI: 0000000000000020 RDI: ffffffff9244eac8 RBP: ffff88814d59b228 R08: ffffea000000000f R09: ffff88813fffa000 R10: 00000000bd0054cc R11: 0000000000000000 R12: ffffffff9244eac8 R13: ffff8880aa824908 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] pcpu_alloc+0x1dc0/0x3d30 mm/percpu.c:1807 __alloc_percpu+0x7a/0x90 mm/percpu.c:1907 xt_percpu_counter_alloc+0x28a/0x400 net/netfilter/x_tables.c:1841 find_check_entry net/ipv4/netfilter/ip_tables.c:527 [inline] translate_table+0x24af/0x3c40 net/ipv4/netfilter/ip_tables.c:717 do_replace net/ipv4/netfilter/ip_tables.c:1135 [inline] do_ipt_set_ctl+0x4e15/0x56a0 net/ipv4/netfilter/ip_tables.c:1627