netlink: 8 bytes leftover after parsing attributes in process `syz-executor.7'. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pid=6010 comm=syz-executor.7 watchdog: BUG: soft lockup - CPU#1 stuck for 21s! [syz-executor.2:5992] Modules linked in: irq event stamp: 5068803 hardirqs last enabled at (5068802): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (5068803): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1094 softirqs last enabled at (5032916): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (5032919): [] asm_call_irq_on_stack+0x12/0x20 CPU: 1 PID: 5992 Comm: syz-executor.2 Not tainted 5.10.226 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:cpu_relax arch/x86/include/asm/vdso/processor.h:19 [inline] RIP: 0010:virt_spin_lock arch/x86/include/asm/qspinlock.h:100 [inline] RIP: 0010:queued_spin_lock_slowpath+0x122/0x8c0 kernel/locking/qspinlock.c:326 Code: 00 00 00 65 48 2b 04 25 28 00 00 00 0f 85 09 07 00 00 48 81 c4 88 00 00 00 5b 5d 41 5c 41 5d 41 5e 41 5f e9 00 a4 f8 02 f3 90 73 ff ff ff 44 8b 74 24 48 41 81 fe 00 01 00 00 0f 84 e1 00 00 RSP: 0018:ffff88806cf09a38 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffffffff87a04080 RCX: ffffffff81279b47 RDX: fffffbfff0f40811 RSI: 0000000000000004 RDI: ffffffff87a04080 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff87a04083 R10: fffffbfff0f40810 R11: 0000000000000001 R12: 0000000000000003 R13: fffffbfff0f40810 R14: 0000000000000001 R15: 1ffff1100d9e1348 FS: 00007fe012be5700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe012bc4718 CR3: 000000001df9a000 CR4: 0000000000350ee0 Call Trace: queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock+0x1dc/0x260 kernel/locking/spinlock_debug.c:113 spin_lock include/linux/spinlock.h:354 [inline] mac80211_hwsim_tx_frame_no_nl.isra.0+0x695/0x13d0 drivers/net/wireless/mac80211_hwsim.c:1450 mac80211_hwsim_tx_frame+0x152/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1716 mac80211_hwsim_beacon_tx+0x494/0x940 drivers/net/wireless/mac80211_hwsim.c:1770 __iterate_interfaces+0x1f0/0x550 net/mac80211/util.c:792 ieee80211_iterate_active_interfaces_atomic+0x71/0x1c0 net/mac80211/util.c:828 mac80211_hwsim_beacon+0xd1/0x1d0 drivers/net/wireless/mac80211_hwsim.c:1793 __run_hrtimer kernel/time/hrtimer.c:1586 [inline] __hrtimer_run_queues+0x632/0xb40 kernel/time/hrtimer.c:1650 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1667 __do_softirq+0x1b8/0x7c9 kernel/softirq.c:298 asm_call_irq_on_stack+0x12/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+0x80/0xa0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:393 [inline] __irq_exit_rcu kernel/softirq.c:423 [inline] irq_exit_rcu+0x114/0x1b0 kernel/softirq.c:435 sysvec_apic_timer_interrupt+0x43/0xa0 arch/x86/kernel/apic/apic.c:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:map_id_range_down+0x97/0x340 kernel/user_namespace.c:297 Code: c0 e8 dd 8b 03 00 4c 89 f8 48 c1 e8 03 0f b6 04 28 84 c0 74 08 3c 03 0f 8e 83 02 00 00 4c 8b 74 24 08 45 8b 3e bf 05 00 00 00 <44> 89 fe e8 01 85 03 00 41 83 ff 05 0f 87 5c 01 00 00 e8 a2 8b 03 RSP: 0018:ffff8880454a7cc0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffc9000f67e000 RDX: 0000000000040000 RSI: ffffffff813d1363 RDI: 0000000000000005 RBP: dffffc0000000000 R08: 0000000000000008 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888017abb218 R13: 0000000000000000 R14: ffffffff84ee3428 R15: 0000000000000001 map_id_down kernel/user_namespace.c:313 [inline] make_kgid+0x1c/0x30 kernel/user_namespace.c:458 i_gid_write include/linux/fs.h:1610 [inline] inode_init_always+0x33a/0xd10 fs/inode.c:150 alloc_inode+0x84/0x240 fs/inode.c:240 new_inode_pseudo+0x14/0xe0 fs/inode.c:964 sock_alloc+0x3c/0x270 net/socket.c:573 __sock_create+0xbd/0x7f0 net/socket.c:1399 sock_create net/socket.c:1486 [inline] __sys_socket+0xef/0x200 net/socket.c:1528 __do_sys_socket net/socket.c:1537 [inline] __se_sys_socket net/socket.c:1535 [inline] __x64_sys_socket+0x6f/0xb0 net/socket.c:1535 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7fe01566fb19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007fe012be5188 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 00007fe015782f60 RCX: 00007fe01566fb19 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000010 RBP: 00007fe0156c9f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd44ff8d4f R14: 00007fe012be5300 R15: 0000000000022000 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5981 Comm: syz-executor.0 Not tainted 5.10.226 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:25 [inline] RIP: 0010:static_key_false include/linux/jump_label.h:200 [inline] RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:162 [inline] RIP: 0010:wrmsrl arch/x86/include/asm/msr.h:281 [inline] RIP: 0010:lapic_next_deadline+0x21/0x50 arch/x86/kernel/apic/apic.c:479 Code: 95 7d ca 02 0f 1f 44 00 00 0f ae f0 0f ae e8 0f 31 48 c1 e2 20 b9 e0 06 00 00 48 09 c2 48 8d 04 fa 48 89 c2 48 c1 ea 20 0f 30 <0f> 1f 44 00 00 31 c0 e9 c3 3b 12 03 48 89 c6 31 d2 bf e0 06 00 00 RSP: 0018:ffff88806ce09550 EFLAGS: 00000012 RAX: 000001c117af168c RBX: 0000000000000000 RCX: 00000000000006e0 RDX: 00000000000001c1 RSI: ffff88806ce27980 RDI: 000000000000040f RBP: ffff88806ce27980 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 000000000000040f R13: 0000000000000000 R14: 7fffffffffffffff R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005646ad2e8ef0 CR3: 0000000017d44000 CR4: 0000000000350ef0 Call Trace: clockevents_program_event+0x244/0x360 kernel/time/clockevents.c:334 tick_program_event+0xa0/0x140 kernel/time/tick-oneshot.c:44 hrtimer_interrupt+0x3e1/0x9b0 kernel/time/hrtimer.c:1725 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1083 [inline] __sysvec_apic_timer_interrupt+0xfb/0x310 arch/x86/kernel/apic/apic.c:1100 run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:91 [inline] sysvec_apic_timer_interrupt+0x3e/0xa0 arch/x86/kernel/apic/apic.c:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:unwind_start arch/x86/include/asm/unwind.h:60 [inline] RIP: 0010:arch_stack_walk+0x50/0xf0 arch/x86/kernel/stacktrace.c:24 Code: 45 d8 31 c0 48 85 c9 0f 84 8e 00 00 00 48 8b b1 80 00 00 00 4c 89 e7 e8 2e d4 16 03 84 c0 74 5b 49 8b 8d 98 00 00 00 4c 89 ea <4c> 89 f6 48 8d bd 78 ff ff ff e8 11 23 07 00 8b 95 78 ff ff ff 85 RSP: 0018:ffff88806ce09748 EFLAGS: 00000246 RAX: ffff888045630000 RBX: ffffffff813009f0 RCX: ffff88806ce097d0 RDX: 0000000000000000 RSI: ffff88806ce09800 RDI: ffffffff813009f0 RBP: ffff88806ce097d0 R08: ffffed1008ef5a28 R09: ffffed1008ef5a45 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88806ce09800 R13: 0000000000000000 R14: ffff888045630000 R15: 00000000000000e8 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 kasan_save_stack+0x1b/0x40 mm/kasan/common.c:48 kasan_set_track mm/kasan/common.c:56 [inline] __kasan_kmalloc.constprop.0+0xc9/0xd0 mm/kasan/common.c:461 slab_post_alloc_hook mm/slab.h:532 [inline] slab_alloc_node mm/slub.c:2896 [inline] kmem_cache_alloc_node+0x14b/0x330 mm/slub.c:2932 __alloc_skb+0x6d/0x5b0 net/core/skbuff.c:199 skb_copy+0x183/0x350 net/core/skbuff.c:1529 mac80211_hwsim_tx_frame_no_nl.isra.0+0xb1d/0x13d0 drivers/net/wireless/mac80211_hwsim.c:1499 mac80211_hwsim_tx_frame+0x152/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1716 mac80211_hwsim_beacon_tx+0x494/0x940 drivers/net/wireless/mac80211_hwsim.c:1770 __iterate_interfaces+0x1f0/0x550 net/mac80211/util.c:792 ieee80211_iterate_active_interfaces_atomic+0x71/0x1c0 net/mac80211/util.c:828 mac80211_hwsim_beacon+0xd1/0x1d0 drivers/net/wireless/mac80211_hwsim.c:1793 __run_hrtimer kernel/time/hrtimer.c:1586 [inline] __hrtimer_run_queues+0x632/0xb40 kernel/time/hrtimer.c:1650 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1667 __do_softirq+0x1b8/0x7c9 kernel/softirq.c:298 asm_call_irq_on_stack+0x12/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+0x80/0xa0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:393 [inline] __irq_exit_rcu kernel/softirq.c:423 [inline] irq_exit_rcu+0x114/0x1b0 kernel/softirq.c:435 sysvec_apic_timer_interrupt+0x43/0xa0 arch/x86/kernel/apic/apic.c:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:lock_acquire+0x1b9/0x470 kernel/locking/lockdep.c:5534 Code: 44 db 7e e8 39 91 ff ff b8 ff ff ff ff 48 83 c4 20 65 0f c1 05 e8 44 db 7e 83 f8 01 4c 8b 54 24 08 0f 85 48 02 00 00 41 52 9d <48> b8 00 00 00 00 00 fc ff df 48 01 c3 48 c7 03 00 00 00 00 48 c7 RSP: 0018:ffff88801de075f8 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 1ffff11003bc0ec1 RCX: 000000006f935260 RDX: 1ffff11008ac6128 RSI: e2cac880f9f1263e RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff868686e7 R10: 0000000000000246 R11: 0000000000000001 R12: 0000000000000002 R13: 0000000000000000 R14: ffffffff84ff8c20 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:303 [inline] rcu_read_lock include/linux/rcupdate.h:717 [inline] lock_page_memcg+0x65/0x270 mm/memcontrol.c:2140 page_remove_rmap+0x21/0x7c0 mm/rmap.c:1328 zap_pte_range mm/memory.c:1287 [inline] zap_pmd_range mm/memory.c:1404 [inline] zap_pud_range mm/memory.c:1433 [inline] zap_p4d_range mm/memory.c:1454 [inline] unmap_page_range+0x110f/0x1fe0 mm/memory.c:1475 unmap_single_vma+0x198/0x300 mm/memory.c:1520 unmap_vmas+0x16d/0x300 mm/memory.c:1552 exit_mmap+0x27f/0x4f0 mm/mmap.c:3235 __mmput kernel/fork.c:1101 [inline] mmput+0xca/0x340 kernel/fork.c:1122 exit_mm kernel/exit.c:536 [inline] do_exit+0xa96/0x2600 kernel/exit.c:847 do_group_exit+0x125/0x310 kernel/exit.c:982 get_signal+0x4bc/0x2350 kernel/signal.c:2759 arch_do_signal_or_restart+0x2b7/0x1990 arch/x86/kernel/signal.c:805 handle_signal_work kernel/entry/common.c:145 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x10f/0x190 kernel/entry/common.c:199 syscall_exit_to_user_mode+0x38/0x1d0 kernel/entry/common.c:274 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7f710d983a04 Code: Unable to access opcode bytes at RIP 0x7f710d9839da. RSP: 002b:00007f710af46060 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: fffffffffffffffe RBX: 00007f710dae3f60 RCX: 00007f710d983a04 RDX: 0000000000000002 RSI: 00007f710af460f0 RDI: 00000000ffffff9c RBP: 00007f710af460f0 R08: 0000000000000000 R09: 00007f710af45f70 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 00007ffc60ffd53f R14: 00007f710af46300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 65 48 add %ah,0x48(%rbp) 5: 2b 04 25 28 00 00 00 sub 0x28,%eax c: 0f 85 09 07 00 00 jne 0x71b 12: 48 81 c4 88 00 00 00 add $0x88,%rsp 19: 5b pop %rbx 1a: 5d pop %rbp 1b: 41 5c pop %r12 1d: 41 5d pop %r13 1f: 41 5e pop %r14 21: 41 5f pop %r15 23: e9 00 a4 f8 02 jmpq 0x2f8a428 28: f3 90 pause * 2a: e9 73 ff ff ff jmpq 0xffffffa2 <-- trapping instruction 2f: 44 8b 74 24 48 mov 0x48(%rsp),%r14d 34: 41 81 fe 00 01 00 00 cmp $0x100,%r14d 3b: 0f .byte 0xf 3c: 84 e1 test %ah,%cl