INFO: task syz-executor.4:13956 blocked for more than 143 seconds.
Not tainted 6.3.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:24704 pid:13956 ppid:1 flags:0x20004004
Call Trace:
context_switch kernel/sched/core.c:5307 [inline]
__schedule+0xc91/0x5770 kernel/sched/core.c:6625
schedule+0xde/0x1a0 kernel/sched/core.c:6701
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760
rwsem_down_write_slowpath+0x3e2/0x1220 kernel/locking/rwsem.c:1178
__down_write_common kernel/locking/rwsem.c:1306 [inline]
__down_write kernel/locking/rwsem.c:1315 [inline]
down_write+0x1d2/0x200 kernel/locking/rwsem.c:1574
register_netdevice_notifier+0x22/0x270 net/core/dev.c:1712
devlink_alloc_ns+0x144/0xac0 net/devlink/core.c:208
nsim_drv_probe+0xba/0x13d0 drivers/net/netdevsim/dev.c:1533
call_driver_probe drivers/base/dd.c:552 [inline]
really_probe+0x240/0xca0 drivers/base/dd.c:631
__driver_probe_device+0x1df/0x4d0 drivers/base/dd.c:768
driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:798
__device_attach_driver+0x1d4/0x2e0 drivers/base/dd.c:926
bus_for_each_drv+0x149/0x1d0 drivers/base/bus.c:457
__device_attach+0x1e4/0x4b0 drivers/base/dd.c:998
bus_probe_device+0x17c/0x1c0 drivers/base/bus.c:532
device_add+0x11c4/0x1c50 drivers/base/core.c:3589
nsim_bus_dev_new drivers/net/netdevsim/bus.c:290 [inline]
new_device_store+0x40e/0x690 drivers/net/netdevsim/bus.c:167
bus_attr_store+0x76/0xa0 drivers/base/bus.c:170
sysfs_kf_write+0x114/0x170 fs/sysfs/file.c:136
kernfs_fop_write_iter+0x3f1/0x600 fs/kernfs/file.c:334
call_write_iter include/linux/fs.h:1851 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x9ed/0xe10 fs/read_write.c:584
ksys_write+0x12b/0x250 fs/read_write.c:637
do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline]
__do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178
do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203
entry_SYSENTER_compat_after_hwframe+0x70/0x82
RIP: 0023:0xf7fb2579
RSP: 002b:00000000f749f4a0 EFLAGS: 00000282 ORIG_RAX: 0000000000000004
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00000000f749f4f0
RDX: 0000000000000003 RSI: 00000000f734e000 RDI: 0000000000000000
RBP: 0000000000000005 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Showing all locks held in the system:
5 locks held by kworker/u4:0/9:
#0: ffff888016617138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888016617138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888016617138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888016617138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline]
#0: ffff888016617138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline]
#0: ffff888016617138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x87a/0x15c0 kernel/workqueue.c:2361
#1: ffffc900000e7da8 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8ae/0x15c0 kernel/workqueue.c:2365
#2: ffffffff8e0e2850 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9f/0xb10 net/core/net_namespace.c:575
#3: ffff888053de53e8 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_destruct+0x14f/0x400 drivers/net/wireguard/device.c:249
#4: ffffffff8c7a0780 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x6a0 kernel/rcu/tree.c:3956
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8c794a70 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8c794770 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510
1 lock held by khungtaskd/28:
#0: ffffffff8c7955c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6495
2 locks held by getty/4754:
#0: ffff88802c16c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc900015c02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177
8 locks held by kworker/u4:8/10462:
6 locks held by syz-executor.4/13956:
#0: ffff888029a3c460 (sb_writers#8){.+.+}-{0:0}, at: ksys_write+0x12b/0x250 fs/read_write.c:637
#1: ffff888040f47488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x285/0x600 fs/kernfs/file.c:325
#2: ffff888021586cb8 (kn->active#52){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2a9/0x600 fs/kernfs/file.c:326
#3: ffffffff8d7e18c8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x170/0x690 drivers/net/netdevsim/bus.c:160
#4: ffff8880518530e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline]
#4: ffff8880518530e8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x76/0x4b0 drivers/base/dd.c:973
#5: ffffffff8e0e2850 (pernet_ops_rwsem){++++}-{3:3}, at: register_netdevice_notifier+0x22/0x270 net/core/dev.c:1712
2 locks held by kworker/0:0/13964:
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline]
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline]
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x87a/0x15c0 kernel/workqueue.c:2361
#1: ffffc9000362fda8 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x15c0 kernel/workqueue.c:2365
1 lock held by syz-executor.4/14980:
#0: ffffffff8e0e2850 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4cb/0x8e0 net/core/net_namespace.c:486
2 locks held by sed/15013:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.3.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106
nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x2a4/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xe16/0x1090 kernel/hung_task.c:379
kthread+0x2e8/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 21 Comm: ksoftirqd/1 Not tainted 6.3.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
RIP: 0010:arch_stack_walk+0x87/0xf0 arch/x86/kernel/stacktrace.c:24
Code: 2b 08 00 8b 95 78 ff ff ff 85 d2 75 21 eb 33 4c 89 e7 ff d3 84 c0 74 2a 48 8d bd 78 ff ff ff e8 4f 0c 08 00 8b 85 78 ff ff ff <85> c0 74 14 48 8d bd 78 ff ff ff e8 c9 09 08 00 48 85 c0 48 89 c6
RSP: 0018:ffffc900001b6450 EFLAGS: 00000286
RAX: 0000000000000001 RBX: ffffffff81710400 RCX: 0000000000000000
RDX: 0000000000000302 RSI: ffffc900001b7458 RDI: 0000000000000001
RBP: ffffc900001b64d8 R08: ffffffff8f8c1bd0 R09: ffffc900001b6484
R10: 0000000000000001 R11: ffffc900001b7480 R12: ffffc900001b6508
R13: 0000000000000000 R14: ffff8880172e1d40 R15: 0000000000082820
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc0ab54ec8 CR3: 000000002f4eb000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
stack_trace_save+0x90/0xc0 kernel/stacktrace.c:122
kasan_save_stack+0x22/0x40 mm/kasan/common.c:45
kasan_set_track+0x25/0x30 mm/kasan/common.c:52
__kasan_slab_alloc+0x7f/0x90 mm/kasan/common.c:328
kasan_slab_alloc include/linux/kasan.h:186 [inline]
slab_post_alloc_hook mm/slab.h:769 [inline]
slab_alloc_node mm/slub.c:3452 [inline]
kmem_cache_alloc_node+0x185/0x3e0 mm/slub.c:3497
kmalloc_reserve+0x165/0x270 net/core/skbuff.c:520
pskb_expand_head+0x237/0x1160 net/core/skbuff.c:1993
__skb_cow include/linux/skbuff.h:3563 [inline]
skb_cow_head include/linux/skbuff.h:3597 [inline]
erspan_xmit+0x373/0x2750 net/ipv4/ip_gre.c:688
__netdev_start_xmit include/linux/netdevice.h:4884 [inline]
netdev_start_xmit include/linux/netdevice.h:4898 [inline]
xmit_one net/core/dev.c:3581 [inline]
dev_hard_start_xmit+0x187/0x700 net/core/dev.c:3597
sch_direct_xmit+0x1a3/0xc30 net/sched/sch_generic.c:342
__dev_xmit_skb net/core/dev.c:3808 [inline]
__dev_queue_xmit+0x15fd/0x3c40 net/core/dev.c:4213
dev_queue_xmit include/linux/netdevice.h:3054 [inline]
br_dev_queue_push_xmit+0x26e/0x740 net/bridge/br_forward.c:53
br_nf_dev_queue_xmit+0x5fb/0x1e70 net/bridge/br_netfilter_hooks.c:809
NF_HOOK include/linux/netfilter.h:302 [inline]
NF_HOOK include/linux/netfilter.h:296 [inline]
br_nf_post_routing+0x9d0/0x11e0 net/bridge/br_netfilter_hooks.c:855
nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline]
nf_hook_slow+0xc9/0x1f0 net/netfilter/core.c:614
nf_hook+0x431/0x730 include/linux/netfilter.h:257
NF_HOOK include/linux/netfilter.h:300 [inline]
br_forward_finish+0xd8/0x130 net/bridge/br_forward.c:66
br_nf_hook_thresh+0x2fb/0x3f0 net/bridge/br_netfilter_hooks.c:1047
br_nf_forward_finish+0x6e3/0xa50 net/bridge/br_netfilter_hooks.c:566
NF_HOOK include/linux/netfilter.h:302 [inline]
NF_HOOK include/linux/netfilter.h:296 [inline]
br_nf_forward_ip net/bridge/br_netfilter_hooks.c:636 [inline]
br_nf_forward_ip+0xb75/0x1400 net/bridge/br_netfilter_hooks.c:577
nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline]
nf_hook_slow+0xc9/0x1f0 net/netfilter/core.c:614
nf_hook+0x431/0x730 include/linux/netfilter.h:257
NF_HOOK include/linux/netfilter.h:300 [inline]
__br_forward+0x19a/0x5a0 net/bridge/br_forward.c:115
deliver_clone net/bridge/br_forward.c:131 [inline]
maybe_deliver+0x350/0x450 net/bridge/br_forward.c:189
br_flood+0x13e/0x460 net/bridge/br_forward.c:231
br_handle_frame_finish+0x1205/0x1d90 net/bridge/br_input.c:210
br_nf_hook_thresh+0x2fb/0x3f0 net/bridge/br_netfilter_hooks.c:1047
br_nf_pre_routing_finish_ipv6+0x699/0xf30 net/bridge/br_netfilter_ipv6.c:207
NF_HOOK include/linux/netfilter.h:302 [inline]
br_nf_pre_routing_ipv6+0x41b/0x830 net/bridge/br_netfilter_ipv6.c:237
br_nf_pre_routing+0xd80/0x14f0 net/bridge/br_netfilter_hooks.c:507
nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline]
nf_hook_bridge_pre net/bridge/br_input.c:272 [inline]
br_handle_frame+0x9cd/0x1320 net/bridge/br_input.c:416
__netif_receive_skb_core+0x9fe/0x38d0 net/core/dev.c:5374
__netif_receive_skb_one_core+0xae/0x180 net/core/dev.c:5478
__netif_receive_skb+0x1f/0x1c0 net/core/dev.c:5594
process_backlog+0x239/0x800 net/core/dev.c:5922
__napi_poll+0xb7/0x6f0 net/core/dev.c:6483
napi_poll net/core/dev.c:6550 [inline]
net_rx_action+0x9c2/0xd80 net/core/dev.c:6660
__do_softirq+0x1d4/0x905 kernel/softirq.c:571
run_ksoftirqd kernel/softirq.c:934 [inline]
run_ksoftirqd+0x31/0x60 kernel/softirq.c:926
smpboot_thread_fn+0x659/0x9e0 kernel/smpboot.c:164
kthread+0x2e8/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308