INFO: task syz.1.628:9804 blocked for more than 143 seconds.
Not tainted 6.13.0-rc4-syzkaller-00054-gd6ef8b40d075 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.628 state:D stack:25304 pid:9804 tgid:9802 ppid:8275 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5369 [inline]
__schedule+0x1850/0x4c30 kernel/sched/core.c:6756
__schedule_loop kernel/sched/core.c:6833 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6848
io_schedule+0x8d/0x110 kernel/sched/core.c:7681
folio_wait_bit_common+0x839/0xee0 mm/filemap.c:1308
folio_lock include/linux/pagemap.h:1151 [inline]
truncate_inode_pages_range+0xc1f/0x10e0 mm/truncate.c:380
kill_bdev block/bdev.c:91 [inline]
blkdev_flush_mapping+0x108/0x270 block/bdev.c:670
blkdev_put_whole block/bdev.c:677 [inline]
bdev_release+0x460/0x700 block/bdev.c:1102
blkdev_release+0x15/0x20 block/fops.c:635
__fput+0x23e/0xa50 fs/file_table.c:450
task_work_run+0x251/0x310 kernel/task_work.c:239
exit_task_work include/linux/task_work.h:43 [inline]
do_exit+0xa2a/0x28e0 kernel/exit.c:938
do_group_exit+0x207/0x2c0 kernel/exit.c:1087
get_signal+0x16b2/0x1750 kernel/signal.c:3017
arch_do_signal_or_restart+0x96/0x860 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+0xce/0x340 kernel/entry/common.c:218
do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5eff985d29
RSP: 002b:00007f5f0070c038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: 000000000000002c RBX: 00007f5effb76080 RCX: 00007f5eff985d29
RDX: 0000000000000000 RSI: 0000000020000240 RDI: 0000000000000005
RBP: 00007f5effa01b08 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f5effb76080 R15: 00007ffe674865b8
Showing all locks held in the system:
3 locks held by kworker/0:1/9:
6 locks held by kworker/u8:0/11:
#0: ffff88801baed948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff88801baed948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310
#1: ffffc90000107d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc90000107d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310
#2: ffffffff8fca6650 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x16a/0xd50 net/core/net_namespace.c:602
#3: ffffffff8fcb2b08 (rtnl_mutex){+.+.}-{4:4}, at: wg_netns_pre_exit+0x1f/0x1e0 drivers/net/wireguard/device.c:415
#4: ffff888068f514e8 (&wg->device_update_lock){+.+.}-{4:4}, at: wg_netns_pre_exit+0xba/0x1e0 drivers/net/wireguard/device.c:420
#5: ffff8880b873e8d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:598
1 lock held by khungtaskd/30:
#0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744
3 locks held by kworker/u8:5/82:
2 locks held by kworker/u8:6/2986:
#0: ffff88801ac81148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff88801ac81148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310
#1: ffffc9000c5afd00 ((quota_release_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc9000c5afd00 ((quota_release_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310
3 locks held by kworker/u8:7/5058:
#0: ffff88801ac81148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff88801ac81148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310
#1: ffffc9000f93fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc9000f93fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310
#2: ffffffff8fcb2b08 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:281
4 locks held by udevd/5198:
#0: ffff888036a790a0 (&p->lock){+.+.}-{4:4}, at: seq_read_iter+0xb4/0xd70 fs/seq_file.c:182
#1: ffff88805cf17088 (&of->mutex#2){+.+.}-{4:4}, at: kernfs_seq_start+0x53/0x3b0 fs/kernfs/file.c:154
#2: ffff888040ed10f8 (kn->active#5){++++}-{0:0}, at: kernfs_seq_start+0x72/0x3b0 fs/kernfs/file.c:155
#3: ffff88807e1020e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline]
#3: ffff88807e1020e8 (&dev->mutex){....}-{4:4}, at: uevent_show+0x17d/0x340 drivers/base/core.c:2729
2 locks held by getty/5579:
#0: ffff8880312a60a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002ff62f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211
2 locks held by kworker/u8:11/5987:
#0: ffff88801ac81148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff88801ac81148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310
#1: ffffc900031afd00 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc900031afd00 (connector_reaper_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310
2 locks held by kworker/u8:14/6086:
#0: ffff88801ac81148 ((wq_completion)events_unbound
){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310
#1: ffffc90004b67d00 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc90004b67d00 ((reaper_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310
2 locks held by kworker/0:11/9276:
5 locks held by kworker/0:14/9309:
2 locks held by kworker/0:15/9310:
1 lock held by syz-executor/9745:
#0: ffff88806957a0e0 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline]
#0: ffff88806957a0e0 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff88806957a0e0 (&type->s_umount_key#32){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505
1 lock held by syz.1.628/9804:
#0: ffff888025ed84c8 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_release+0x17e/0x700 block/bdev.c:1086
1 lock held by syz-executor/9847:
#0: ffff888024cae0e0 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline]
#0: ffff888024cae0e0 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff888024cae0e0 (&type->s_umount_key#32){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505
1 lock held by syz.9.643/10009:
#0: ffff8880284b3190 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline]
#0: ffff8880284b3190 (&dev->mutex){....}-{4:4}, at: usbdev_open+0x156/0x770 drivers/usb/core/devio.c:1054
1 lock held by syz-executor/10088:
#0: ffff88804dd340e0 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline]
#0: ffff88804dd340e0 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff88804dd340e0 (&type->s_umount_key#32){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505
1 lock held by syz-executor/10134:
#0: ffff88809b7aa0e0 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline]
#0: ffff88809b7aa0e0 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff88809b7aa0e0 (&type->s_umount_key#32){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505
7 locks held by syz-executor/10562:
#0: ffff88803544e420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2964 [inline]
#0: ffff88803544e420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x225/0xd30 fs/read_write.c:675
#1: ffff88803a662488 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1ea/0x500 fs/kernfs/file.c:325
#2: ffff88802758ec38 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20e/0x500 fs/kernfs/file.c:326
#3: ffffffff8f55e768 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: new_device_store+0x1b4/0x890 drivers/net/netdevsim/bus.c:166
#4: ffff88807e1020e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline]
#4: ffff88807e1020e8 (&dev->mutex){....}-{4:4}, at: __device_attach+0x8e/0x520 drivers/base/dd.c:1005
#5: ffff88802a4f1250 (&devlink->lock_key#39){+.+.}-{4:4}, at: nsim_drv_probe+0xcb/0xb80 drivers/net/netdevsim/dev.c:1537
#6: ffffffff8fcb2b08 (rtnl_mutex){+.+.}-{4:4}, at: register_netdevice_notifier_net+0x1a/0xa0 net/core/dev.c:1889
4 locks held by syz-executor/10571:
#0: ffff88803544e420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2964 [inline]
#0: ffff88803544e420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x225/0xd30 fs/read_write.c:675
#1: ffff8880943e8c88 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1ea/0x500 fs/kernfs/file.c:325
#2: ffff88802758ed28 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20e/0x500 fs/kernfs/file.c:326
#3: ffffffff8f55e768 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216
1 lock held by syz-executor/10575:
#0: ffffffff8fcb2b08 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8fcb2b08 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:326 [inline]
#0: ffffffff8fcb2b08 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xce2/0x2210 net/core/rtnetlink.c:4011
1 lock held by syz-executor/10580:
#0: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline]
#0: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976
2 locks held by syz-executor/10624:
#0: ffffffff8fca6650 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x328/0x570 net/core/net_namespace.c:512
#1: ffffffff8fcb2b08 (rtnl_mutex){+.+.}-{4:4}, at: ip_tunnel_init_net+0x20e/0x720 net/ipv4/ip_tunnel.c:1159
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc4-syzkaller-00054-gd6ef8b40d075 #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+0x241/0x360 lib/dump_stack.c:120
nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline]
watchdog+0xff6/0x1040 kernel/hung_task.c:397
kthread+0x2f2/0x390 kernel/kthread.c:389
ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 16 Comm: ksoftirqd/0 Not tainted 6.13.0-rc4-syzkaller-00054-gd6ef8b40d075 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:deref_stack_regs arch/x86/kernel/unwind_orc.c:421 [inline]
RIP: 0010:unwind_next_frame+0x1539/0x22d0 arch/x86/kernel/unwind_orc.c:596
Code: 05 a8 00 00 00 48 39 e8 0f 86 1a fa ff ff 4c 39 f0 0f 87 11 fa ff ff 48 8b 04 24 48 8d b8 80 00 00 00 e8 0a 1a 00 00 49 89 c6 <48> bd 00 00 00 00 00 fc ff df 48 8b 44 24 30 80 3c 28 00 48 8b 5c
RSP: 0018:ffffc90000007450 EFLAGS: 00000087
RAX: ffffffff8161f927 RBX: ffffc90000150000 RCX: 1ffff92000000ea4
RDX: ffffffff9145bd1e RSI: 0000000000000003 RDI: ffffc90000157d78
RBP: ffffc90000007530 R08: 0000000000000018 R09: ffffc90000007610
R10: dffffc0000000000 R11: ffffffff818b3a20 R12: ffffc90000158000
R13: ffffc90000007520 R14: ffffffff8161f927 R15: 1ffff92000000ea5
FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5f0070cd58 CR3: 000000000e736000 CR4: 0000000000350ef0
Call Trace:
arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:47 [inline]
kasan_save_track+0x3f/0x80 mm/kasan/common.c:68
kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:582
poison_slab_object mm/kasan/common.c:247 [inline]
__kasan_slab_free+0x59/0x70 mm/kasan/common.c:264
kasan_slab_free include/linux/kasan.h:233 [inline]
slab_free_hook mm/slub.c:2353 [inline]
slab_free mm/slub.c:4613 [inline]
kfree+0x196/0x430 mm/slub.c:4761
dummy_timer+0x7f4/0x4620 drivers/usb/gadget/udc/dummy_hcd.c:1987
__run_hrtimer kernel/time/hrtimer.c:1739 [inline]
__hrtimer_run_queues+0x59d/0xd30 kernel/time/hrtimer.c:1803
hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1820
handle_softirqs+0x2d6/0x9b0 kernel/softirq.c:561
__do_softirq kernel/softirq.c:595 [inline]
invoke_softirq kernel/softirq.c:435 [inline]
__irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662
irq_exit_rcu+0x9/0x30 kernel/softirq.c:678
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:finish_task_switch+0x1ea/0x870 kernel/sched/core.c:5243
Code: c9 50 e8 59 0c 0c 00 48 83 c4 08 4c 89 f7 e8 ed 39 00 00 0f 1f 44 00 00 4c 89 f7 e8 10 c8 5c 0a e8 fb 8b 38 00 fb 48 8b 5d c0 <48> 8d bb f8 15 00 00 48 89 f8 48 c1 e8 03 49 be 00 00 00 00 00 fc
RSP: 0018:ffffc900001579a8 EFLAGS: 00000286
RAX: 2b7a8a2ad295d500 RBX: ffff88801cec5a00 RCX: ffffffff9a3ab903
RDX: dffffc0000000000 RSI: ffffffff8c0a98e0 RDI: ffffffff8c5fb060
RBP: ffffc900001579f0 R08: ffffffff90197cf7 R09: 1ffffffff2032f9e
R10: dffffc0000000000 R11: fffffbfff2032f9f R12: 1ffff110170c7edc
R13: dffffc0000000000 R14: ffff8880b863e8c0 R15: ffff8880b863f6e0
context_switch kernel/sched/core.c:5372 [inline]
__schedule+0x1858/0x4c30 kernel/sched/core.c:6756
preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7078
irqentry_exit+0x5e/0x90 kernel/entry/common.c:354
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:run_ksoftirqd+0xd7/0x130 kernel/softirq.c:952
Code: 8c e8 fd cf 66 0a 65 66 8b 05 1d dd a1 7e 66 85 c0 74 2a bf 01 00 00 00 e8 c6 ce ff ff e8 21 35 45 00 fb 48 c7 c7 00 93 09 8c b8 03 00 00 31 d2 e8 bd 38 0d 00 2e 2e 2e 31 c0 eb 06 e8 01 35
RSP: 0018:ffffc90000157da0 EFLAGS: 00000286
RAX: 2b7a8a2ad295d500 RBX: 1ffff9200002afb8 RCX: ffffffff9a3ab903
RDX: dffffc0000000000 RSI: ffffffff8c0a98e0 RDI: ffffffff8c099300
RBP: ffffc90000157e38 R08: ffffffff90197cf7 R09: 1ffffffff2032f9e
R10: dffffc0000000000 R11: fffffbfff2032f9f R12: 1ffff9200002afb4
R13: ffff88801cec7168 R14: dffffc0000000000 R15: ffffc90000157dc0
smpboot_thread_fn+0x546/0xa30 kernel/smpboot.c:164
kthread+0x2f2/0x390 kernel/kthread.c:389
ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244