INFO: task syz-executor:3581 blocked for more than 143 seconds. Not tainted 5.15.165-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:20784 pid: 3581 ppid: 1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 schedule_timeout+0xac/0x300 kernel/time/timer.c:1890 do_wait_for_common+0x2d9/0x480 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x48/0x60 kernel/sched/completion.c:138 kthread_stop+0x178/0x580 kernel/kthread.c:664 ext4_stop_mmpd+0x43/0xb0 fs/ext4/mmp.c:263 ext4_put_super+0xac5/0x1060 fs/ext4/super.c:1266 generic_shutdown_super+0x136/0x2c0 fs/super.c:475 kill_block_super+0x7a/0xe0 fs/super.c:1425 deactivate_locked_super+0xa0/0x110 fs/super.c:335 cleanup_mnt+0x44e/0x500 fs/namespace.c:1143 task_work_run+0x129/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f88dc031227 RSP: 002b:00007ffe0b38cd28 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f88dc09d7dc RCX: 00007f88dc031227 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe0b38cde0 RBP: 00007ffe0b38cde0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe0b38de60 R13: 00007f88dc09d7dc R14: 0000000000020553 R15: 00007ffe0b38dea0 INFO: task kmmpd-loop3:4631 blocked for more than 144 seconds. Not tainted 5.15.165-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kmmpd-loop3 state:D stack:27480 pid: 4631 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 percpu_rwsem_wait+0x3e1/0x470 kernel/locking/percpu-rwsem.c:160 __percpu_down_read+0xd0/0x100 kernel/locking/percpu-rwsem.c:174 percpu_down_read include/linux/percpu-rwsem.h:65 [inline] __sb_start_write include/linux/fs.h:1811 [inline] sb_start_write include/linux/fs.h:1881 [inline] write_mmp_block+0x2f0/0x390 fs/ext4/mmp.c:66 kmmpd+0x292/0xa90 fs/ext4/mmp.c:248 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91fbe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/u4:2/154: 2 locks held by udevd/3026: #0: ffff88801bf59918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfb/0x790 block/bdev.c:912 #1: ffff888146bdf468 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_release+0x4d/0x1f0 drivers/block/loop.c:2070 2 locks held by getty/3323: #0: ffff888025cae098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc9000249b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 2 locks held by syz-executor/3580: #0: ffff8880b9a3a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 #1: ffff8880b9a27848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x4e1/0x810 kernel/sched/psi.c:882 1 lock held by syz-executor/3581: #0: ffff88805f9d80e0 (&type->s_umount_key#32){++++}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:365 6 locks held by kworker/1:18/3738: #0: ffff888142fe9138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900035f7d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff888147228220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff888147228220 (&dev->mutex){....}-{3:3}, at: hub_event+0x208/0x54c0 drivers/usb/core/hub.c:5769 #3: ffff888062e65220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #3: ffff888062e65220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x570 drivers/base/dd.c:954 #4: ffff8880254ab1a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #4: ffff8880254ab1a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x570 drivers/base/dd.c:954 #5: ffffffff8c7d0090 (umhelper_sem){++++}-{3:3}, at: usermodehelper_read_trylock+0x138/0x360 kernel/umh.c:217 1 lock held by kmmpd-loop3/4631: #0: ffff88805f9d8460 (sb_writers#5){++++}-{0:0}, at: kmmpd+0x292/0xa90 fs/ext4/mmp.c:248 1 lock held by syz-executor/5662: #0: ffff888058b780e0 (&type->s_umount_key#32){++++}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:365 1 lock held by kmmpd-loop4/6073: #0: ffff888058b78460 (sb_writers#5){++++}-{0:0}, at: kmmpd+0x292/0xa90 fs/ext4/mmp.c:248 1 lock held by syz.4.781/6726: #0: ffff888058b780e0 (&type->s_umount_key#32){++++}-{3:3}, at: user_get_super+0xd3/0x250 fs/super.c:846 1 lock held by syz.2.799/6798: #0: ffff88801bf59918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x14d/0xa50 block/bdev.c:817 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.165-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3008 Comm: syslogd Not tainted 5.15.165-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:preempt_latency_start kernel/sched/core.c:5470 [inline] RIP: 0010:preempt_count_add+0x9d/0x180 kernel/sched/core.c:5493 Code: 8b 05 ef 03 ab 7e 25 ff ff ff 7f 39 d8 75 43 4c 8b 74 24 18 4c 89 f7 e8 61 8d 0c 00 85 c0 74 0a 45 31 f6 31 ff e8 53 8d 0c 00 <65> 48 8b 1d bb 03 ab 7e 48 81 c3 e8 14 00 00 48 89 d8 48 c1 e8 03 RSP: 0018:ffffc900012df3e8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff8a3cf100 RDX: dffffc0000000000 RSI: ffffffff81ca259f RDI: ffffffff8138890b RBP: ffffc900012df4f8 R08: 0000000000000001 R09: ffffc900012df5b0 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc900012df878 R13: ffffffff816df940 R14: ffffffff8138890b R15: dffffc0000000000 FS: 00007f3d5b196380(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff7cb264178 CR3: 0000000024432000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_next_frame+0xbb/0x1fa0 arch/x86/kernel/unwind_orc.c:433 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4b/0x80 mm/kasan/common.c:46 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360 ____kasan_slab_free+0xd8/0x120 mm/kasan/common.c:366 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1705 [inline] slab_free_freelist_hook+0xdd/0x160 mm/slub.c:1731 slab_free mm/slub.c:3499 [inline] kmem_cache_free+0x91/0x1f0 mm/slub.c:3515 skb_free_datagram+0x24/0xe0 net/core/datagram.c:325 __unix_dgram_recvmsg+0xcb3/0x1260 net/unix/af_unix.c:2391 sock_recvmsg_nosec net/socket.c:966 [inline] sock_recvmsg net/socket.c:984 [inline] sock_read_iter+0x353/0x480 net/socket.c:1057 call_read_iter include/linux/fs.h:2166 [inline] new_sync_read fs/read_write.c:404 [inline] vfs_read+0xa93/0xe10 fs/read_write.c:485 ksys_read+0x1a2/0x2c0 fs/read_write.c:623 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f3d5b2eab6a Code: 00 3d 00 00 41 00 75 0d 50 48 8d 3d 2d 08 0a 00 e8 ea 7d 01 00 31 c0 e9 07 ff ff ff 64 8b 04 25 18 00 00 00 85 c0 75 1b 0f 05 <48> 3d 00 f0 ff ff 76 6c 48 8b 15 8f a2 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007fffd1ebd978 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f3d5b2eab6a RDX: 00000000000000ff RSI: 0000561824231950 RDI: 0000000000000000 RBP: 0000561824231910 R08: 0000000000000001 R09: 0000000000000000 R10: 00007f3d5b4893a3 R11: 0000000000000246 R12: 000056182423199c R13: 0000561824231950 R14: 0000000000000000 R15: 00007f3d5b4c7a80