INFO: task syz-executor.0:7567 blocked for more than 143 seconds. Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28544 pid:7567 tgid:7564 ppid:6579 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5c70 kernel/sched/core.c:6736 __schedule_loop kernel/sched/core.c:6813 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6828 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6885 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 bdev_release+0x161/0xb30 block/bdev.c:1028 blkdev_release+0x15/0x20 block/fops.c:628 __fput+0x270/0xb80 fs/file_table.c:422 task_work_run+0x14e/0x250 kernel/task_work.c:180 get_signal+0x105e/0x2760 kernel/signal.c:2683 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:105 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:201 [inline] syscall_exit_to_user_mode+0x14a/0x2a0 kernel/entry/common.c:212 do_syscall_64+0xe2/0x260 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f46bfe7dda9 RSP: 002b:00007f46c0be80c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007f46bffabf80 RCX: 00007f46bfe7dda9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007f46bfeca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f46bffabf80 R15: 00007ffd05bec228 Showing all locks held in the system: 1 lock held by rcu_exp_gp_kthr/18: #0: ffff8880b953e698 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:559 5 locks held by kworker/1:0/24: 1 lock held by khungtaskd/29: #0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 4 locks held by kworker/u8:4/62: #0: ffff888015ed3148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x1296/0x1a60 kernel/workqueue.c:3229 #1: ffffc900015d7d80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x906/0x1a60 kernel/workqueue.c:3230 #2: ffffffff8f2e1650 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xbb/0xbf0 net/core/net_namespace.c:591 #3: ffffffff8d7bc4b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #3: ffffffff8d7bc4b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x403/0x7a0 kernel/rcu/tree_exp.h:939 2 locks held by getty/4814: #0: ffff88802e9f00a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015e02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 3 locks held by kworker/1:3/5050: #0: ffff888015078948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x1296/0x1a60 kernel/workqueue.c:3229 #1: ffffc9000335fd80 (fqdir_free_work){+.+.}-{0:0}, at: process_one_work+0x906/0x1a60 kernel/workqueue.c:3230 #2: ffffffff8d7bc380 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x6c0 kernel/rcu/tree.c:4073 1 lock held by udevd/6497: #0: ffff8880202c24c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x444/0xe30 block/bdev.c:862 1 lock held by syz-executor.0/7567: #0: ffff8880202c24c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x161/0xb30 block/bdev.c:1028 7 locks held by syz-executor.2/10128: #0: ffff88802ea58420 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x12f/0x260 fs/read_write.c:643 #1: ffff888022821c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x281/0x500 fs/kernfs/file.c:325 #2: ffff888021e8a1d8 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2a4/0x500 fs/kernfs/file.c:326 #3: ffffffff8e959968 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xd2/0x4b0 drivers/net/netdevsim/bus.c:216 #4: ffff8880577160e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #4: ffff8880577160e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff8880577160e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1292 #5: ffff88806a9a7250 (&devlink->lock_key#10){+.+.}-{3:3}, at: nsim_drv_remove+0x4a/0x1d0 drivers/net/netdevsim/dev.c:1672 #6: ffffffff8d7bc380 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x6c0 kernel/rcu/tree.c:4073 1 lock held by syz-executor.0/10327: #0: ffff8880202c24c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x444/0xe30 block/bdev.c:862 4 locks held by kvm-nx-lpage-re/10344: #0: ffffffff8d800f88 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_lock include/linux/cgroup.h:368 [inline] #0: ffffffff8d800f88 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_attach_task_all+0x25/0x130 kernel/cgroup/cgroup-v1.c:61 #1: ffffffff8d653cb0 (cpu_hotplug_lock){++++}-{0:0}, at: cgroup_attach_lock+0x12/0x40 kernel/cgroup/cgroup.c:2413 #2: ffffffff8d800d50 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: cgroup_attach_lock kernel/cgroup/cgroup.c:2415 [inline] #2: ffffffff8d800d50 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: cgroup_attach_lock+0x37/0x40 kernel/cgroup/cgroup.c:2411 #3: ffffffff8d7bc4b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #3: ffffffff8d7bc4b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x403/0x7a0 kernel/rcu/tree_exp.h:939 1 lock held by kvm-nx-lpage-re/10348: #0: ffffffff8d800f88 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_lock include/linux/cgroup.h:368 [inline] #0: ffffffff8d800f88 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_attach_task_all+0x25/0x130 kernel/cgroup/cgroup-v1.c:61 1 lock held by kvm-nx-lpage-re/10367: #0: ffffffff8d800f88 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_lock include/linux/cgroup.h:368 [inline] #0: ffffffff8d800f88 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_attach_task_all+0x25/0x130 kernel/cgroup/cgroup-v1.c:61 1 lock held by sed/10372: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114 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:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xf86/0x1210 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 10372 Comm: sed Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__orc_find+0x80/0x130 arch/x86/kernel/unwind_orc.c:100 Code: 00 00 00 fc ff df eb 17 e8 1d 6d 50 00 49 8d 5f 04 4c 89 3c 24 e8 10 6d 50 00 48 39 dd 72 67 e8 06 6d 50 00 48 89 e8 48 29 d8 <48> 89 c2 48 c1 e8 3f 48 c1 fa 02 48 01 d0 48 d1 f8 4c 8d 3c 83 4c RSP: 0018:ffffc900048a7730 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffffff8fae5e10 RCX: ffffffff813c8b65 RDX: ffff888057940000 RSI: ffffffff813c8baa RDI: 0000000000000005 RBP: ffffffff8fae5e10 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffffffff814eb579 R13: ffffffff902b8d86 R14: dffffc0000000000 R15: ffffc900048a7835 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb54e2f4378 CR3: 000000004958e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: orc_find arch/x86/kernel/unwind_orc.c:227 [inline] unwind_next_frame+0x335/0x23a0 arch/x86/kernel/unwind_orc.c:494 arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25 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:240 [inline] __kasan_slab_free+0x11d/0x1a0 mm/kasan/common.c:256 kasan_slab_free include/linux/kasan.h:184 [inline] slab_free_hook mm/slub.c:2106 [inline] slab_free mm/slub.c:4280 [inline] kmem_cache_free+0x12e/0x360 mm/slub.c:4344 remove_vma+0x12b/0x180 mm/mmap.c:146 exit_mmap+0x4dd/0xb60 mm/mmap.c:3311 __mmput+0x12a/0x4d0 kernel/fork.c:1345 mmput+0x62/0x70 kernel/fork.c:1367 exit_mm kernel/exit.c:569 [inline] do_exit+0x999/0x2be0 kernel/exit.c:865 do_group_exit+0xd3/0x2a0 kernel/exit.c:1027 __do_sys_exit_group kernel/exit.c:1038 [inline] __se_sys_exit_group kernel/exit.c:1036 [inline] __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1036 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f64864cba90 Code: Unable to access opcode bytes at 0x7f64864cba66. RSP: 002b:00007ffe4d2a6868 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f64865bc860 RCX: 00007f64864cba90 RDX: 00000000000000e7 RSI: 000000000000003c RDI: 0000000000000000 RBP: 00007f64865bc860 R08: 0000000000000002 R09: 7ecae6216669a575 R10: 00007ffe4d2a6720 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f64865c0658 R15: 0000000000000001