INFO: task syz-executor.2:5370 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.2 state:D stack:27680 pid: 5370 ppid: 4674 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 d_wait_lookup+0x1f0/0x2c0 fs/dcache.c:2563 d_alloc_parallel+0xa5e/0x1390 fs/dcache.c:2645 __lookup_slow+0x111/0x3d0 fs/namei.c:1648 lookup_slow+0x53/0x70 fs/namei.c:1680 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] do_sys_truncate+0xa3/0x190 fs/open.c:132 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:0x7f71bd222ea9 RSP: 002b:00007f71bb7530c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 00007f71bd351120 RCX: 00007f71bd222ea9 RDX: 0000000000000000 RSI: 0000000000007f07 RDI: 0000000020000040 RBP: 00007f71bd26f4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f71bd351120 R15: 00007ffde4583988 INFO: task syz-executor.2:5373 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.2 state:D stack:25752 pid: 5373 ppid: 4674 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:0x7f71bd222ea9 RSP: 002b:00007f71bb7320c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f71bd3511f0 RCX: 00007f71bd222ea9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000380 RBP: 00007f71bd26f4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f71bd3511f0 R15: 00007ffde4583988 INFO: task syz-executor.2:5374 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.2 state:D stack:25528 pid: 5374 ppid: 4674 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:0x7f71bd222ea9 RSP: 002b:00007f71bb7110c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000031 RAX: ffffffffffffffda RBX: 00007f71bd3512c0 RCX: 00007f71bd222ea9 RDX: 000000000000006e RSI: 0000000020003000 RDI: 0000000000000009 RBP: 00007f71bd26f4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f71bd3512c0 R15: 00007ffde4583988 INFO: task syz-executor.2:5379 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.2 state:D stack:28856 pid: 5379 ppid: 4674 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:0x7f71bd222ea9 RSP: 002b:00007f71bb6f00c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000031 RAX: ffffffffffffffda RBX: 00007f71bd351390 RCX: 00007f71bd222ea9 RDX: 000000000000006e RSI: 0000000020000100 RDI: 0000000000000003 RBP: 00007f71bd26f4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f71bd351390 R15: 00007ffde4583988 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/u4:5/2646: 2 locks held by getty/3264: #0: ffff88814b11f098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002bab2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 2 locks held by kworker/1:18/5016: #0: ffff888011c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90002fc7d20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 3 locks held by syz-executor.2/5360: 2 locks held by syz-executor.2/5367: 1 lock held by syz-executor.2/5370: #0: ffff88805c9ac168 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline] #0: ffff88805c9ac168 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1679 2 locks held by syz-executor.2/5373: #0: ffff888024592460 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88805c9ac168 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff88805c9ac168 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: open_last_lookups fs/namei.c:3529 [inline] #1: ffff88805c9ac168 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: path_openat+0x824/0x2f20 fs/namei.c:3739 2 locks held by syz-executor.2/5374: #0: ffff888024592460 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88805c9ac168 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff88805c9ac168 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: filename_create+0x25c/0x530 fs/namei.c:3835 2 locks held by syz-executor.2/5379: #0: ffff888024592460 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88805c9ac168 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff88805c9ac168 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: filename_create+0x25c/0x530 fs/namei.c:3835 2 locks held by syz-executor.3/5554: 3 locks held by syz-executor.3/5559: 1 lock held by syz-executor.3/5564: #0: ffff88805c9ac690 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline] #0: ffff88805c9ac690 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1679 2 locks held by syz-executor.3/5566: #0: ffff88807d78a460 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88805c9ac690 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff88805c9ac690 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: open_last_lookups fs/namei.c:3529 [inline] #1: ffff88805c9ac690 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: path_openat+0x824/0x2f20 fs/namei.c:3739 2 locks held by syz-executor.3/5569: #0: ffff88807d78a460 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88805c9ac690 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff88805c9ac690 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: filename_create+0x25c/0x530 fs/namei.c:3835 2 locks held by syz-executor.3/5571: #0: ffff88807d78a460 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88805c9ac690 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff88805c9ac690 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: filename_create+0x25c/0x530 fs/namei.c:3835 2 locks held by syz-executor.1/5732: #0: ffff8880776c4870 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2cb/0x380 fs/file.c:1088 #1: ffff88805eac50e0 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: iterate_dir+0x10a/0x570 fs/readdir.c:55 2 locks held by syz-executor.1/5734: 2 locks held by syz-executor.1/5735: #0: ffff888073172460 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88805eac50e0 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff88805eac50e0 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: open_last_lookups fs/namei.c:3529 [inline] #1: ffff88805eac50e0 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: path_openat+0x824/0x2f20 fs/namei.c:3739 1 lock held by syz-executor.1/5736: #0: ffff88805eac50e0 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline] #0: ffff88805eac50e0 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1679 2 locks held by syz-executor.1/5737: #0: ffff888073172460 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88805eac50e0 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff88805eac50e0 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: filename_create+0x25c/0x530 fs/namei.c:3835 2 locks held by syz-executor.1/5738: #0: ffff888073172460 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88805eac50e0 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff88805eac50e0 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: filename_create+0x25c/0x530 fs/namei.c:3835 2 locks held by kworker/u4:14/5894: 2 locks held by syz-executor.0/5947: 4 locks held by syz-executor.0/5950: 1 lock held by syz-executor.0/6073: #0: ffffffff8c9240e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #0: ffffffff8c9240e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x350/0x740 kernel/rcu/tree_exp.h:845 3 locks held by syz-executor.2/6324: #0: ffff88804f73ca10 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #0: ffff88804f73ca10 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release net/socket.c:648 [inline] #0: ffff88804f73ca10 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: sock_close+0x98/0x230 net/socket.c:1336 #1: ffff8880871c16a0 (&xs->mutex){+.+.}-{3:3}, at: xsk_release+0x35d/0x6c0 net/xdp/xsk.c:850 #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 1 lock held by syz-executor.4/6316: #0: ffffffff8d9e7688 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d9e7688 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x94c/0xee0 net/core/rtnetlink.c:5626 3 locks held by syz-executor.1/6319: 2 locks held by syz-executor.3/6328: #0: ffff88804f7cb210 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #0: ffff88804f7cb210 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release net/socket.c:648 [inline] #0: ffff88804f7cb210 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: sock_close+0x98/0x230 net/socket.c:1336 #1: ffffffff8d9e7688 (rtnl_mutex){+.+.}-{3:3}, at: raw_release+0x1b4/0x870 net/can/raw.c:388 1 lock held by syz-executor.3/6329: #0: ffff888076f740e0 (&type->s_umount_key#74/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 ============================================= NMI backtrace for cpu 0 CPU: 0 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 6315 Comm: udevd Not tainted 5.15.156-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:cmpxchg_double_slab+0x11f/0x270 mm/slub.c:505 Code: 02 00 00 0f 84 89 00 00 00 fb e9 83 00 00 00 41 8d 46 20 a8 0f 0f 85 2b 01 00 00 4c 89 f9 4c 89 e2 4c 89 e8 f0 49 0f c7 4e 20 01 74 64 eb 5e 49 f7 46 08 01 00 00 00 0f 85 0a 01 00 00 49 8b RSP: 0018:ffffc90003197a30 EFLAGS: 00000246 RAX: ffff888029960570 RBX: ffff888029960488 RCX: 0000000080110009 RDX: 000000008011000a RSI: ffffea0000a65800 RDI: ffff88801294da00 RBP: 0000000080110009 R08: ffff888029960488 R09: 0000000080110009 R10: 0000000000000000 R11: dffffc0000000001 R12: 000000008011000a R13: ffff888029960570 R14: ffffea0000a65800 R15: 0000000080110009 FS: 00007ff0537bdc80(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbb0d8f8978 CR3: 0000000084bbe000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: __slab_free+0x69/0x250 mm/slub.c:3350 do_slab_free mm/slub.c:3487 [inline] ___cache_free+0xe3/0x100 mm/slub.c:3506 qlist_free_all+0x36/0x90 mm/kasan/quarantine.c:176 kasan_quarantine_reduce+0x162/0x180 mm/kasan/quarantine.c:283 __kasan_slab_alloc+0x2f/0xc0 mm/kasan/common.c:444 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x53/0x380 mm/slab.h:519 slab_alloc_node mm/slub.c:3220 [inline] slab_alloc mm/slub.c:3228 [inline] __kmalloc+0x120/0x300 mm/slub.c:4403 kmalloc include/linux/slab.h:596 [inline] inotify_handle_inode_event+0x1c4/0x530 fs/notify/inotify/inotify_fsnotify.c:96 inotify_ignored_and_remove_idr+0x25/0x70 fs/notify/inotify/inotify_user.c:519 __do_sys_inotify_rm_watch fs/notify/inotify/inotify_user.c:809 [inline] __se_sys_inotify_rm_watch+0x164/0x230 fs/notify/inotify/inotify_user.c:786 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:0x7ff0538f5f77 Code: 73 01 c3 48 8b 0d b1 ce 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 ff 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 81 ce 0c 00 f7 d8 64 89 01 48 RSP: 002b:00007ffd9c080d58 EFLAGS: 00000246 ORIG_RAX: 00000000000000ff RAX: ffffffffffffffda RBX: 0000562ae2895120 RCX: 00007ff0538f5f77 RDX: 0000000000000007 RSI: 0000000000000498 RDI: 0000000000000007 RBP: 0000562ae48b1cf0 R08: 0000000000000006 R09: c2097608792d034a R10: 0000000000000010 R11: 0000000000000246 R12: 0000000000000498 R13: 00007ffd9c080d68 R14: 0000000003938700 R15: 0000562ae2895160