input: syz1 as /devices/virtual/input/input9 INFO: rcu_preempt self-detected stall on CPU 1-...: (10499 ticks this GP) idle=1aa/140000000000002/0 softirq=11555/11558 fqs=2 (t=10500 jiffies g=1444 c=1443 q=556) rcu_preempt kthread starved for 10491 jiffies! g1444 c1443 f0x0 RCU_GP_WAIT_FQS(3) ->state=0x0 ->cpu=0 rcu_preempt R running task 29776 8 2 0x80000000 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x7b8/0x1cd0 kernel/sched/core.c:3384 schedule+0x92/0x1c0 kernel/sched/core.c:3428 schedule_timeout+0x43e/0xe10 kernel/time/timer.c:1746 rcu_gp_kthread+0xbf4/0x1ec0 kernel/rcu/tree.c:2255 kthread+0x319/0x430 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 NMI backtrace for cpu 1 CPU: 1 PID: 7203 Comm: syz-executor.3 Not tainted 4.14.160-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x142/0x197 lib/dump_stack.c:58 nmi_cpu_backtrace.cold+0x57/0x94 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x141/0x189 lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_single_cpu_backtrace include/linux/nmi.h:158 [inline] rcu_dump_cpu_stacks+0x186/0x1d2 kernel/rcu/tree.c:1396 print_cpu_stall kernel/rcu/tree.c:1542 [inline] check_cpu_stall kernel/rcu/tree.c:1610 [inline] __rcu_pending kernel/rcu/tree.c:3390 [inline] rcu_pending kernel/rcu/tree.c:3452 [inline] rcu_check_callbacks.cold+0x43d/0xd0a kernel/rcu/tree.c:2792 update_process_times+0x31/0x70 kernel/time/timer.c:1590 tick_sched_handle+0x85/0x160 kernel/time/tick-sched.c:161 tick_sched_timer+0x43/0x130 kernel/time/tick-sched.c:1219 __run_hrtimer kernel/time/hrtimer.c:1220 [inline] __hrtimer_run_queues+0x270/0xbc0 kernel/time/hrtimer.c:1284 hrtimer_interrupt+0x1d8/0x5d0 kernel/time/hrtimer.c:1318 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1075 [inline] smp_apic_timer_interrupt+0x11c/0x5e0 arch/x86/kernel/apic/apic.c:1100 apic_timer_interrupt+0x96/0xa0 arch/x86/entry/entry_64.S:792 RIP: 0010:unwind_next_frame.part.0+0x36/0x8b0 arch/x86/kernel/unwind_frame.c:282 RSP: 0018:ffff8880aed077d8 EFLAGS: 00000296 ORIG_RAX: ffffffffffffff10 RAX: dffffc0000000000 RBX: ffff8880aed07890 RCX: 000000000000000a RDX: ffffed1015da0f00 RSI: ffffffff814ff001 RDI: ffff8880aed07890 RBP: ffff8880aed07868 R08: 0000000000000001 R09: ffff8880aed078e8 R10: ffff8880aed078b8 R11: ffff8880aed078c8 R12: 1ffff11015da0f00 R13: 0000000000000000 R14: ffff88804f2682c0 R15: ffff8880a9e19900 unwind_next_frame+0x3b/0x50 arch/x86/kernel/unwind_frame.c:287 __save_stack_trace+0x6b/0xd0 arch/x86/kernel/stacktrace.c:44 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:59 save_stack+0x45/0xd0 mm/kasan/kasan.c:447 set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc mm/kasan/kasan.c:551 [inline] kasan_kmalloc+0xce/0xf0 mm/kasan/kasan.c:529 kasan_slab_alloc+0xf/0x20 mm/kasan/kasan.c:489 kmem_cache_alloc+0x12e/0x780 mm/slab.c:3552 __build_skb+0x35/0x2e0 net/core/skbuff.c:281 __netdev_alloc_skb+0x289/0x440 net/core/skbuff.c:426 netdev_alloc_skb include/linux/skbuff.h:2646 [inline] dev_alloc_skb include/linux/skbuff.h:2659 [inline] send_hsr_supervision_frame+0x110/0xec0 net/hsr/hsr_device.c:265 hsr_announce+0xf5/0x340 net/hsr/hsr_device.c:348 call_timer_fn+0x161/0x670 kernel/time/timer.c:1279 expire_timers kernel/time/timer.c:1318 [inline] __run_timers kernel/time/timer.c:1636 [inline] __run_timers kernel/time/timer.c:1604 [inline] run_timer_softirq+0x5b7/0x1520 kernel/time/timer.c:1649 __do_softirq+0x244/0x9a0 kernel/softirq.c:288 invoke_softirq kernel/softirq.c:368 [inline] irq_exit+0x160/0x1b0 kernel/softirq.c:409 exiting_irq arch/x86/include/asm/apic.h:648 [inline] smp_apic_timer_interrupt+0x146/0x5e0 arch/x86/kernel/apic/apic.c:1102 apic_timer_interrupt+0x96/0xa0 arch/x86/entry/entry_64.S:792 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:779 [inline] RIP: 0010:lock_is_held_type+0x17e/0x210 kernel/locking/lockdep.c:4034 RSP: 0018:ffff88804f277400 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff10 RAX: 1ffffffff0fe2d29 RBX: 0000000000000282 RCX: ffff88804f268b40 RDX: dffffc0000000000 RSI: ffffffff87f88920 RDI: 0000000000000282 RBP: ffff88804f277420 R08: 0000003027b377dc R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88804f2682c0 R14: ffff88804f2682c0 R15: ffff8880aed2b540 lock_is_held include/linux/lockdep.h:437 [inline] schedule_debug kernel/sched/core.c:3206 [inline] __schedule+0xdc2/0x1cd0 kernel/sched/core.c:3308 preempt_schedule_irq+0xb5/0x140 kernel/sched/core.c:3611 retint_kernel+0x1b/0x2d RIP: 0010:ipt_mangle_out net/ipv4/netfilter/iptable_mangle.c:69 [inline] RIP: 0010:iptable_mangle_hook+0x36b/0x570 net/ipv4/netfilter/iptable_mangle.c:89 RSP: 0018:ffff88804f2775c8 EFLAGS: 00000a03 ORIG_RAX: ffffffffffffff10 RAX: dffffc0000000000 RBX: ffff88804f2776d8 RCX: ffffc90008e2c000 RDX: 0000000000000000 RSI: ffffffff858377db RDI: ffff8880978ffcdc RBP: ffff88804f277610 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880a5179c00 R13: ffff8880978ffcd0 R14: ffff88804f2776b8 R15: 0000000000000001 nf_hook_entry_hookfn include/linux/netfilter.h:108 [inline] nf_hook_slow+0xaf/0x1b0 net/netfilter/core.c:467 nf_hook include/linux/netfilter.h:205 [inline] __ip_local_out+0x38c/0x820 net/ipv4/ip_output.c:113 ip_local_out+0x29/0x170 net/ipv4/ip_output.c:122 ip_send_skb+0x3e/0xc0 net/ipv4/ip_output.c:1422 udp_send_skb+0x53f/0xb90 net/ipv4/udp.c:833 udp_sendmsg+0x16df/0x1da0 net/ipv4/udp.c:1057 inet_sendmsg+0x122/0x500 net/ipv4/af_inet.c:762 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xce/0x110 net/socket.c:656 ___sys_sendmsg+0x349/0x840 net/socket.c:2062 __sys_sendmmsg+0x152/0x3a0 net/socket.c:2152 SYSC_sendmmsg net/socket.c:2183 [inline] SyS_sendmmsg+0x35/0x60 net/socket.c:2178 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45a919 RSP: 002b:00007ff7ad368c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 000000000045a919 RDX: 04000000000001a8 RSI: 0000000020007fc0 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff7ad3696d4 R13: 00000000004c9267 R14: 00000000004e0fa0 R15: 00000000ffffffff INFO: rcu_sched detected stalls on CPUs/tasks: (detected by 0, t=10589 jiffies, g=956, c=955, q=8) All QSes seen, last rcu_sched kthread activity 2 (4294968169-4294968167), jiffies_till_next_fqs=1, root ->qsmask 0x0 kworker/0:2 R running task 27168 3228 2 0x80000000 Workqueue: events_long gc_worker Call Trace: sched_show_task kernel/sched/core.c:5168 [inline] sched_show_task.cold+0x2f0/0x351 kernel/sched/core.c:5143 print_other_cpu_stall kernel/rcu/tree.c:1501 [inline] check_cpu_stall kernel/rcu/tree.c:1616 [inline] __rcu_pending kernel/rcu/tree.c:3390 [inline] rcu_pending kernel/rcu/tree.c:3452 [inline] rcu_check_callbacks.cold+0xcb1/0xd0a kernel/rcu/tree.c:2792 update_process_times+0x31/0x70 kernel/time/timer.c:1590 tick_sched_handle+0x85/0x160 kernel/time/tick-sched.c:161 tick_sched_timer+0x43/0x130 kernel/time/tick-sched.c:1219 __run_hrtimer kernel/time/hrtimer.c:1220 [inline] __hrtimer_run_queues+0x270/0xbc0 kernel/time/hrtimer.c:1284 hrtimer_interrupt+0x1d8/0x5d0 kernel/time/hrtimer.c:1318 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1075 [inline] smp_apic_timer_interrupt+0x11c/0x5e0 arch/x86/kernel/apic/apic.c:1100 apic_timer_interrupt+0x96/0xa0 arch/x86/entry/entry_64.S:792 RIP: 0010:__sanitizer_cov_trace_pc+0x23/0x60 kernel/kcov.c:68 RSP: 0018:ffff88809b80fca8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10 RAX: ffff88809b802240 RBX: 0000000000015b7f RCX: 1ffffffff1066fb0 RDX: 0000000000000000 RSI: ffff88809b802b10 RDI: ffff88809b802abc RBP: ffff88809b80fd38 R08: ffff88809b802240 R09: ffff88809b802b08 R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff888215c56df8 R14: 0000000000010000 R15: 0000000000000000 process_one_work+0x863/0x1600 kernel/workqueue.c:2114 worker_thread+0x5d9/0x1050 kernel/workqueue.c:2248 kthread+0x319/0x430 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404