INFO: task syz-executor.0:8500 blocked for more than 143 seconds. Not tainted 5.15.156-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:25336 pid: 8500 ppid: 7330 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 rwsem_down_write_slowpath+0xf0c/0x16a0 kernel/locking/rwsem.c:1165 inode_lock include/linux/fs.h:789 [inline] open_last_lookups fs/namei.c:3529 [inline] path_openat+0x824/0x2f20 fs/namei.c:3739 do_filp_open+0x21c/0x460 fs/namei.c:3769 do_sys_openat2+0x13b/0x500 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_creat fs/open.c:1343 [inline] __se_sys_creat fs/open.c:1337 [inline] __x64_sys_creat+0x11f/0x160 fs/open.c:1337 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:0x7f8c053feea9 RSP: 002b:00007f8c0392f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f8c0552d120 RCX: 00007f8c053feea9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040 RBP: 00007f8c0544b4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f8c0552d120 R15: 00007ffc9e075498 INFO: task syz-executor.0:8554 blocked for more than 144 seconds. Not tainted 5.15.156-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28696 pid: 8554 ppid: 7330 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6518 rwsem_down_read_slowpath+0x605/0xb40 kernel/locking/rwsem.c:1055 __down_read_common kernel/locking/rwsem.c:1239 [inline] __down_read kernel/locking/rwsem.c:1252 [inline] down_read+0x9a/0x2e0 kernel/locking/rwsem.c:1500 inode_lock_shared include/linux/fs.h:799 [inline] lookup_slow+0x45/0x70 fs/namei.c:1679 walk_component+0x48c/0x610 fs/namei.c:1976 lookup_last fs/namei.c:2431 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2455 filename_lookup+0x230/0x5c0 fs/namei.c:2484 user_path_at_empty+0x40/0x180 fs/namei.c:2883 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0xae/0x2a0 fs/xattr.c:625 __do_sys_setxattr fs/xattr.c:646 [inline] __se_sys_setxattr fs/xattr.c:642 [inline] __x64_sys_setxattr+0xb7/0xd0 fs/xattr.c:642 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:0x7f8c053feea9 RSP: 002b:00007f8c0390e0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f8c0552d1f0 RCX: 00007f8c053feea9 RDX: 0000000020000400 RSI: 0000000020000080 RDI: 0000000020000000 RBP: 00007f8c0544b4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000000a R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f8c0552d1f0 R15: 00007ffc9e075498 INFO: task syz-executor.0:8555 blocked for more than 145 seconds. Not tainted 5.15.156-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28376 pid: 8555 ppid: 7330 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6518 rwsem_down_read_slowpath+0x605/0xb40 kernel/locking/rwsem.c:1055 __down_read_common kernel/locking/rwsem.c:1239 [inline] __down_read kernel/locking/rwsem.c:1252 [inline] down_read+0x9a/0x2e0 kernel/locking/rwsem.c:1500 inode_lock_shared include/linux/fs.h:799 [inline] open_last_lookups fs/namei.c:3531 [inline] path_openat+0x815/0x2f20 fs/namei.c:3739 do_filp_open+0x21c/0x460 fs/namei.c:3769 do_sys_openat2+0x13b/0x500 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_open fs/open.c:1277 [inline] __se_sys_open fs/open.c:1273 [inline] __x64_sys_open+0x221/0x270 fs/open.c:1273 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:0x7f8c053feea9 RSP: 002b:00007f8c038ed0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f8c0552d2c0 RCX: 00007f8c053feea9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200003c0 RBP: 00007f8c0544b4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f8c0552d2c0 R15: 00007ffc9e075498 INFO: task syz-executor.0:8557 blocked for more than 145 seconds. Not tainted 5.15.156-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27448 pid: 8557 ppid: 7330 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 rwsem_down_write_slowpath+0xf0c/0x16a0 kernel/locking/rwsem.c:1165 inode_lock_nested include/linux/fs.h:824 [inline] filename_create+0x25c/0x530 fs/namei.c:3835 kern_path_create+0x35/0x180 fs/namei.c:3876 unix_bind_bsd net/unix/af_unix.c:1083 [inline] unix_bind+0x3b9/0x920 net/unix/af_unix.c:1181 __sys_bind+0x388/0x400 net/socket.c:1715 __do_sys_bind net/socket.c:1726 [inline] __se_sys_bind net/socket.c:1724 [inline] __x64_sys_bind+0x76/0x80 net/socket.c:1724 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:0x7f8c053feea9 RSP: 002b:00007f8c038cc0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000031 RAX: ffffffffffffffda RBX: 00007f8c0552d390 RCX: 00007f8c053feea9 RDX: 000000000000006e RSI: 0000000020000140 RDI: 000000000000000c RBP: 00007f8c0544b4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f8c0552d390 R15: 00007ffc9e075498 Showing all locks held in the system: 3 locks held by kworker/u4:0/9: #0: ffff8880b9b3a358 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 #1: ffff8880b9b27848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x53d/0x810 kernel/sched/psi.c:891 #2: ffff8880b9b28098 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x120/0x260 kernel/time/timer.c:946 1 lock held by khungtaskd/27: #0: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by udevd/2962: #0: ffff88801b693918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x14d/0xa50 block/bdev.c:817 2 locks held by getty/3265: #0: ffff88802487b098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002bae2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 1 lock held by syz-fuzzer/3602: 3 locks held by kworker/0:11/4501: #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900038efd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8c9240e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #2: ffffffff8c9240e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x280/0x740 kernel/rcu/tree_exp.h:845 6 locks held by kworker/1:17/4633: #0: ffff888012b60138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90002e77d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff88801ef14220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff88801ef14220 (&dev->mutex){....}-{3:3}, at: hub_event+0x208/0x54c0 drivers/usb/core/hub.c:5768 #3: ffff88801ef175c0 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3125 [inline] #3: ffff88801ef175c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5350 [inline] #3: ffff88801ef175c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5594 [inline] #3: ffff88801ef175c0 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5740 [inline] #3: ffff88801ef175c0 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2238/0x54c0 drivers/usb/core/hub.c:5822 #4: ffff88801f052368 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5351 [inline] #4: ffff88801f052368 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5594 [inline] #4: ffff88801f052368 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5740 [inline] #4: ffff88801f052368 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x2260/0x54c0 drivers/usb/core/hub.c:5822 #5: ffffffff8d388970 (ehci_cf_port_reset_rwsem){.+.+}-{3:3}, at: dummy_urb_enqueue+0xf2/0x760 drivers/usb/gadget/udc/dummy_hcd.c:1276 2 locks held by kworker/0:18/5388: #0: ffff888011c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900038afd20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 2 locks held by kworker/u4:8/6310: 3 locks held by kworker/0:28/6385: #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc9000395fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8c9240e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #2: ffffffff8c9240e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x350/0x740 kernel/rcu/tree_exp.h:845 2 locks held by syz-executor.0/8496: 2 locks held by syz-executor.0/8500: #0: ffff888073e00460 (sb_writers#41){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff888060ab8188 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff888060ab8188 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: open_last_lookups fs/namei.c:3529 [inline] #1: ffff888060ab8188 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: path_openat+0x824/0x2f20 fs/namei.c:3739 1 lock held by syz-executor.0/8554: #0: ffff888060ab8188 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline] #0: ffff888060ab8188 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1679 1 lock held by syz-executor.0/8555: #0: ffff888060ab8188 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline] #0: ffff888060ab8188 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: open_last_lookups fs/namei.c:3531 [inline] #0: ffff888060ab8188 (&type->i_mutex_dir_key#28){++++}-{3:3}, at: path_openat+0x815/0x2f20 fs/namei.c:3739 2 locks held by syz-executor.0/8557: #0: ffff888073e00460 (sb_writers#41){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff888060ab8188 (&type->i_mutex_dir_key#28/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff888060ab8188 (&type->i_mutex_dir_key#28/1){+.+.}-{3:3}, at: filename_create+0x25c/0x530 fs/namei.c:3835 1 lock held by udevd/8940: #0: ffff88801b67f118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x14d/0xa50 block/bdev.c:817 1 lock held by udevd/8941: #0: ffff88801b67f118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x14d/0xa50 block/bdev.c:817 2 locks held by syz-executor.3/10243: #0: ffff88801b693918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfb/0x790 block/bdev.c:912 #1: ffff88814731c468 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0xa9/0xbe0 drivers/block/loop.c:1365 1 lock held by udevd/12059: #0: ffff88801b67f118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x14d/0xa50 block/bdev.c:817 2 locks held by udevd/12060: #0: ffff88801b67f118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfb/0x790 block/bdev.c:912 #1: ffff888147319468 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0xa9/0xbe0 drivers/block/loop.c:1365 1 lock held by udevd/12062: #0: ffff88801b67f118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x14d/0xa50 block/bdev.c:817 2 locks held by syz-executor.4/12093: #0: ffff8881476c8118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfb/0x790 block/bdev.c:912 #1: ffff88814731f468 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_release+0x4d/0x1f0 drivers/block/loop.c:2070 2 locks held by syz-executor.2/12096: 2 locks held by syz-executor.1/12102: #0: ffff88801b67a918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfb/0x790 block/bdev.c:912 #1: ffff88814730e468 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_release+0x4d/0x1f0 drivers/block/loop.c:2070 2 locks held by modprobe/12104: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.156-syzkaller #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+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:300 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3499 Comm: syz-fuzzer Not tainted 5.15.156-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:copy_user_generic arch/x86/include/asm/uaccess_64.h:46 [inline] RIP: 0010:raw_copy_from_user arch/x86/include/asm/uaccess_64.h:52 [inline] RIP: 0010:_copy_from_user+0xf9/0x170 lib/usercopy.c:23 Code: 01 e0 72 63 4c 39 e8 77 5e e8 b3 8b 77 fd 0f ae e8 4c 89 f7 44 89 e6 e8 05 52 c1 fd 4c 89 f7 44 89 e2 4c 89 fe e8 f7 b3 27 00 <89> c3 31 ff 48 89 de e8 6b 8f 77 fd 48 85 db 75 12 e8 81 8b 77 fd RSP: 0018:ffffc90002c47c30 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 000000c000565ba8 RCX: 0000000000000000 RDX: 00000000000000c0 RSI: 000000c000565ba8 RDI: ffffc90002c47d80 RBP: ffffc90002c47e50 R08: dffffc0000000000 R09: fffff52000588fb0 R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000000000c0 R13: 00007ffffffff000 R14: ffffc90002c47cc0 R15: 000000c000565ae8 FS: 000000c00028b090(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7ac10616e4 CR3: 0000000019a20000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: copy_from_user include/linux/uaccess.h:192 [inline] restore_sigcontext+0xce/0x710 arch/x86/kernel/signal.c:91 __do_sys_rt_sigreturn+0x190/0x250 arch/x86/kernel/signal.c:674 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:0x472ba9 Code: 0d cc 37 05 02 4c 8d 05 75 f2 09 02 4c 8d 0d 0e fa ff ff 48 8b 05 07 48 05 02 ff e0 cc cc cc cc cc 48 c7 c0 0f 00 00 00 0f 05 03 cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc RSP: 002b:000000c000565ac0 EFLAGS: 00000206 ORIG_RAX: 000000000000000f RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000472ba9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000000251175c RBP: 000000c0000f0548 R08: 00000000011a0e80 R09: 00000000011a1668 R10: 0000000001000004 R11: 0000000000000206 R12: 000000c0000f0660 R13: 79093c93c93c1249 R14: 000000c001a62000 R15: 0000000000000145