INFO: task syz.8.2903:18875 blocked for more than 143 seconds.
Not tainted 6.12.0-syzkaller-09073-g9f16d5e6f220 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.8.2903 state:D stack:27280 pid:18875 tgid:18871 ppid:17712 flags:0x00404006
Call Trace:
context_switch kernel/sched/core.c:5369 [inline]
__schedule+0xe58/0x5ad0 kernel/sched/core.c:6756
__schedule_loop kernel/sched/core.c:6833 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6848
schedule_timeout+0x244/0x280 kernel/time/sleep_timeout.c:75
do_wait_for_common kernel/sched/completion.c:95 [inline]
__wait_for_common+0x3e1/0x600 kernel/sched/completion.c:116
wait_for_common kernel/sched/completion.c:127 [inline]
wait_for_completion_state+0x1c/0x40 kernel/sched/completion.c:264
coredump_wait fs/coredump.c:418 [inline]
do_coredump+0x82f/0x4160 fs/coredump.c:575
get_signal+0x23f3/0x2610 kernel/signal.c:3001
arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:337
exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x150/0x2a0 kernel/entry/common.c:218
do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa93b0403c0
RSP: 002b:00007fa93bf09a78 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: 0000000000000000 RBX: 00007fa93b336080 RCX: 00007fa93b17e819
RDX: 00007fa93bf09a80 RSI: 00007fa93bf09bb0 RDI: 000000000000000b
RBP: 00007fa93b1f175e R08: 0000000000000007 R09: 0000000000028000
R10: 0000000000009b72 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fa93b336080 R15: 00007fff44538d28
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8ddbaf40 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8ddbaf40 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8ddbaf40 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6744
2 locks held by getty/5606:
#0: ffff888034f280a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc90002fc62f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211
2 locks held by kworker/u8:31/12721:
#0: ffff8880b873ebd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:598
#1: ffffc9000beffd80 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205
2 locks held by syz-executor/15521:
#0: ffff8880678660e0 (&type->s_umount_key#48){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline]
#0: ffff8880678660e0 (&type->s_umount_key#48){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff8880678660e0 (&type->s_umount_key#48){++++}-{4:4}, at: deactivate_super+0xd6/0x100 fs/super.c:505
#1: ffffffff8e1bb648 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625
2 locks held by syz.8.2903/18876:
#0: ffffffff8fb5e1d0 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218
#1: ffffffff8e1bb648 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_nl_threads_set_doit+0x694/0xbe0 fs/nfsd/nfsctl.c:1671
2 locks held by syz-executor/19147:
#0: ffff888033d260e0 (&type->s_umount_key#48){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline]
#0: ffff888033d260e0 (&type->s_umount_key#48){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff888033d260e0 (&type->s_umount_key#48){++++}-{4:4}, at: deactivate_super+0xd6/0x100 fs/super.c:505
#1: ffffffff8e1bb648 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625
2 locks held by syz-executor/19212:
#0: ffff8880882c80e0 (&type->s_umount_key#48){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline]
#0: ffff8880882c80e0 (&type->s_umount_key#48){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff8880882c80e0 (&type->s_umount_key#48){++++}-{4:4}, at: deactivate_super+0xd6/0x100 fs/super.c:505
#1: ffffffff8e1bb648 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625
2 locks held by syz.9.3054/19891:
#0: ffff888032cc80e0 (&type->s_umount_key#48){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline]
#0: ffff888032cc80e0 (&type->s_umount_key#48){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff888032cc80e0 (&type->s_umount_key#48){++++}-{4:4}, at: deactivate_super+0xd6/0x100 fs/super.c:505
#1: ffffffff8e1bb648 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625
2 locks held by syz-executor/20389:
#0: ffff888064d0e0e0 (&type->s_umount_key#48){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline]
#0: ffff888064d0e0e0 (&type->s_umount_key#48){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff888064d0e0e0 (&type->s_umount_key#48){++++}-{4:4}, at: deactivate_super+0xd6/0x100 fs/super.c:505
#1: ffffffff8e1bb648 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_shutdown_threads+0x5b/0xf0 fs/nfsd/nfssvc.c:625
8 locks held by syz-executor/22700:
#0: ffff8880304c4420 (sb_writers#8){.+.+}-{0:0}, at: ksys_write+0x12b/0x250 fs/read_write.c:731
#1: ffff88807cd6a888 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x27b/0x500 fs/kernfs/file.c:325
#2: ffff8881453b6788 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x29e/0x500 fs/kernfs/file.c:326
#3: ffffffff8f060e68 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd2/0x4b0 drivers/net/netdevsim/bus.c:216
#4: ffff8880223f20e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline]
#4: ffff8880223f20e8 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1095 [inline]
#4: ffff8880223f20e8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1293
#5: ffff8880223f3250 (&devlink->lock_key#11){+.+.}-{4:4}, at: nsim_drv_remove+0x4a/0x1d0 drivers/net/netdevsim/dev.c:1675
#6: ffffffff8fabf488 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0x6f/0x6b0 drivers/net/netdevsim/netdev.c:816
#7: ffffffff8ddc6878 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:329
2 locks held by syz-executor/22706:
#0: ffffffff901f0940 (&ops->srcu#2){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:158 [inline]
#0: ffffffff901f0940 (&ops->srcu#2){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:249 [inline]
#0: ffffffff901f0940 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x10f/0x2c0 net/core/rtnetlink.c:559
#1: ffffffff8fabf488 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#1: ffffffff8fabf488 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:326 [inline]
#1: ffffffff8fabf488 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x5c8/0x1c10 net/core/rtnetlink.c:4000
2 locks held by syz.4.3360/22807:
4 locks held by cmp/22823:
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-syzkaller-09073-g9f16d5e6f220 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xf0c/0x1240 kernel/hung_task.c:379
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 9736 Comm: kworker/u8:22 Not tainted 6.12.0-syzkaller-09073-g9f16d5e6f220 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: events_unbound nsim_dev_trap_report_work
RIP: 0010:on_stack arch/x86/include/asm/stacktrace.h:56 [inline]
RIP: 0010:unwind_next_frame+0xe20/0x20c0 arch/x86/kernel/unwind_orc.c:665
Code: c1 ea 03 80 3c 02 00 0f 85 4d 0e 00 00 49 8d 7d 10 49 8b 6d 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 <0f> 85 7c 0c 00 00 48 39 dd 49 8b 45 10 77 24 48 39 d8 76 1f 48 8d
RSP: 0018:ffffc900032ef718 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: ffffc900032ef878 RCX: ffffc900032f0000
RDX: 1ffff9200065defd RSI: ffffc900032ef868 RDI: ffffc900032ef7e8
RBP: ffffc900032e8000 R08: ffffc900032ef80c R09: ffffffff90ac344e
R10: ffffc900032ef7d8 R11: 00000000000034da R12: ffffc900032ef828
R13: ffffc900032ef7d8 R14: ffffc900032ef878 R15: ffffc900032ef870
FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000056453a5e7f08 CR3: 000000000db7e000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__unwind_start arch/x86/kernel/unwind_orc.c:760 [inline]
__unwind_start+0x437/0x7c0 arch/x86/kernel/unwind_orc.c:685
unwind_start arch/x86/include/asm/unwind.h:64 [inline]
arch_stack_walk+0x74/0x100 arch/x86/kernel/stacktrace.c:24
stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122
kasan_save_stack+0x33/0x60 mm/kasan/common.c:47
kasan_save_track+0x14/0x30 mm/kasan/common.c:68
kasan_save_free_info+0x3b/0x60 mm/kasan/generic.c:579
poison_slab_object mm/kasan/common.c:247 [inline]
__kasan_slab_free+0x51/0x70 mm/kasan/common.c:264
kasan_slab_free include/linux/kasan.h:233 [inline]
slab_free_hook mm/slub.c:2342 [inline]
slab_free mm/slub.c:4579 [inline]
kmem_cache_free+0x152/0x4b0 mm/slub.c:4681
kfree_skbmem+0x1a4/0x1f0 net/core/skbuff.c:1148
__kfree_skb net/core/skbuff.c:1205 [inline]
consume_skb net/core/skbuff.c:1436 [inline]
consume_skb+0xcc/0x100 net/core/skbuff.c:1430
nsim_dev_trap_report drivers/net/netdevsim/dev.c:821 [inline]
nsim_dev_trap_report_work+0x8e6/0xd20 drivers/net/netdevsim/dev.c:851
process_one_work+0x958/0x1b30 kernel/workqueue.c:3229
process_scheduled_works kernel/workqueue.c:3310 [inline]
worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244