INFO: task udevd:2978 blocked for more than 143 seconds. Not tainted 5.19.0-rc2-syzkaller-00147-gf0ec9c65a8d6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:24416 pid: 2978 ppid: 1 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0xa00/0x4b30 kernel/sched/core.c:6428 schedule+0xd2/0x1f0 kernel/sched/core.c:6500 rwsem_down_read_slowpath+0x5b9/0xb00 kernel/locking/rwsem.c:1077 __down_read_common kernel/locking/rwsem.c:1242 [inline] __down_read kernel/locking/rwsem.c:1251 [inline] down_read+0xe2/0x440 kernel/locking/rwsem.c:1491 kernfs_dop_revalidate+0xec/0x600 fs/kernfs/dir.c:1098 d_revalidate fs/namei.c:848 [inline] d_revalidate fs/namei.c:845 [inline] lookup_fast+0x385/0x6d0 fs/namei.c:1662 walk_component+0xcf/0x6a0 fs/namei.c:2010 link_path_walk.part.0+0x7ef/0xf70 fs/namei.c:2341 link_path_walk fs/namei.c:2265 [inline] path_lookupat+0xc8/0x860 fs/namei.c:2492 filename_lookup+0x1c6/0x590 fs/namei.c:2522 user_path_at_empty+0x42/0x60 fs/namei.c:2895 do_readlinkat+0xcd/0x2f0 fs/stat.c:456 __do_sys_readlink fs/stat.c:489 [inline] __se_sys_readlink fs/stat.c:486 [inline] __x64_sys_readlink+0x74/0xb0 fs/stat.c:486 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f39f0575277 RSP: 002b:00007fff69312448 EFLAGS: 00000246 ORIG_RAX: 0000000000000059 RAX: ffffffffffffffda RBX: 00007fff69312458 RCX: 00007f39f0575277 RDX: 0000000000000400 RSI: 00007fff69312458 RDI: 00007fff69312938 RBP: 0000000000000400 R08: 00000000003fffff R09: 00005578949065a0 R10: 00007f39f0602fc0 R11: 0000000000000246 R12: 00007fff69312938 R13: 00007fff693128a8 R14: 00005578948f0910 R15: 0000000000000000 INFO: task syz-executor.0:3641 blocked for more than 143 seconds. Not tainted 5.19.0-rc2-syzkaller-00147-gf0ec9c65a8d6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:24488 pid: 3641 ppid: 1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0xa00/0x4b30 kernel/sched/core.c:6428 schedule+0xd2/0x1f0 kernel/sched/core.c:6500 rwsem_down_read_slowpath+0x5b9/0xb00 kernel/locking/rwsem.c:1077 __down_read_common kernel/locking/rwsem.c:1242 [inline] __down_read kernel/locking/rwsem.c:1251 [inline] down_read+0xe2/0x440 kernel/locking/rwsem.c:1491 kernfs_iop_permission+0xc1/0x130 fs/kernfs/inode.c:290 do_inode_permission fs/namei.c:458 [inline] inode_permission.part.0+0x3d6/0x670 fs/namei.c:525 inode_permission fs/namei.c:506 [inline] may_lookup fs/namei.c:1731 [inline] link_path_walk.part.0+0x92f/0xf70 fs/namei.c:2283 link_path_walk fs/namei.c:2266 [inline] path_openat+0x260/0x2910 fs/namei.c:3649 do_filp_open+0x1aa/0x400 fs/namei.c:3680 do_sys_openat2+0x16d/0x4c0 fs/open.c:1278 do_sys_open fs/open.c:1294 [inline] __do_sys_openat fs/open.c:1310 [inline] __se_sys_openat fs/open.c:1305 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1305 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f7cc8e88c48 RSP: 002b:00007ffd8adf9b20 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000909 RCX: 00007f7cc8e88c48 RDX: 0000000000090800 RSI: 00007f7cc8ee226c RDI: 00000000ffffff9c RBP: 00007ffd8adf9bec R08: 0000000000090800 R09: 00007f7cc8ee226c R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000 R13: 00000000000d5961 R14: 0000000000000009 R15: 00007ffd8adf9c50 INFO: task syz-executor.1:3642 blocked for more than 144 seconds. Not tainted 5.19.0-rc2-syzkaller-00147-gf0ec9c65a8d6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:24696 pid: 3642 ppid: 1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0xa00/0x4b30 kernel/sched/core.c:6428 schedule+0xd2/0x1f0 kernel/sched/core.c:6500 rwsem_down_read_slowpath+0x5b9/0xb00 kernel/locking/rwsem.c:1077 __down_read_common kernel/locking/rwsem.c:1242 [inline] __down_read kernel/locking/rwsem.c:1251 [inline] down_read+0xe2/0x440 kernel/locking/rwsem.c:1491 kernfs_iop_permission+0xc1/0x130 fs/kernfs/inode.c:290 do_inode_permission fs/namei.c:458 [inline] inode_permission.part.0+0x3d6/0x670 fs/namei.c:525 inode_permission fs/namei.c:506 [inline] may_lookup fs/namei.c:1731 [inline] link_path_walk.part.0+0x92f/0xf70 fs/namei.c:2283 link_path_walk fs/namei.c:2266 [inline] path_openat+0x260/0x2910 fs/namei.c:3649 do_filp_open+0x1aa/0x400 fs/namei.c:3680 do_sys_openat2+0x16d/0x4c0 fs/open.c:1278 do_sys_open fs/open.c:1294 [inline] __do_sys_openat fs/open.c:1310 [inline] __se_sys_openat fs/open.c:1305 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1305 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f7df4488c48 RSP: 002b:00007ffca2e14d30 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000b3f RCX: 00007f7df4488c48 RDX: 0000000000090800 RSI: 00007f7df44e226c RDI: 00000000ffffff9c RBP: 00007ffca2e14dfc R08: 0000000000090800 R09: 00007f7df44e226c R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000 R13: 00000000000d5963 R14: 000000000000000b R15: 00007ffca2e14e60 INFO: task syz-executor.5:3643 blocked for more than 144 seconds. Not tainted 5.19.0-rc2-syzkaller-00147-gf0ec9c65a8d6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:24192 pid: 3643 ppid: 1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0xa00/0x4b30 kernel/sched/core.c:6428 schedule+0xd2/0x1f0 kernel/sched/core.c:6500 rwsem_down_read_slowpath+0x5b9/0xb00 kernel/locking/rwsem.c:1077 __down_read_common kernel/locking/rwsem.c:1242 [inline] __down_read kernel/locking/rwsem.c:1251 [inline] down_read+0xe2/0x440 kernel/locking/rwsem.c:1491 kernfs_iop_permission+0xc1/0x130 fs/kernfs/inode.c:290 do_inode_permission fs/namei.c:458 [inline] inode_permission.part.0+0x3d6/0x670 fs/namei.c:525 inode_permission fs/namei.c:506 [inline] may_lookup fs/namei.c:1731 [inline] link_path_walk.part.0+0x92f/0xf70 fs/namei.c:2283 link_path_walk fs/namei.c:2266 [inline] path_openat+0x260/0x2910 fs/namei.c:3649 do_filp_open+0x1aa/0x400 fs/namei.c:3680 do_sys_openat2+0x16d/0x4c0 fs/open.c:1278 do_sys_open fs/open.c:1294 [inline] __do_sys_openat fs/open.c:1310 [inline] __se_sys_openat fs/open.c:1305 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1305 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f5ed8488c48 RSP: 002b:00007fff57d83490 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000a4f RCX: 00007f5ed8488c48 RDX: 0000000000090800 RSI: 00007f5ed84e226c RDI: 00000000ffffff9c RBP: 00007fff57d8355c R08: 0000000000090800 R09: 00007f5ed84e226c R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000 R13: 00000000000d53f5 R14: 000000000000000b R15: 00007fff57d835c0 INFO: task syz-executor.2:3644 blocked for more than 145 seconds. Not tainted 5.19.0-rc2-syzkaller-00147-gf0ec9c65a8d6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:24928 pid: 3644 ppid: 1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0xa00/0x4b30 kernel/sched/core.c:6428 schedule+0xd2/0x1f0 kernel/sched/core.c:6500 rwsem_down_read_slowpath+0x5b9/0xb00 kernel/locking/rwsem.c:1077 __down_read_common kernel/locking/rwsem.c:1242 [inline] __down_read kernel/locking/rwsem.c:1251 [inline] down_read+0xe2/0x440 kernel/locking/rwsem.c:1491 kernfs_iop_permission+0xc1/0x130 fs/kernfs/inode.c:290 do_inode_permission fs/namei.c:458 [inline] inode_permission.part.0+0x3d6/0x670 fs/namei.c:525 inode_permission fs/namei.c:506 [inline] may_lookup fs/namei.c:1731 [inline] link_path_walk.part.0+0x92f/0xf70 fs/namei.c:2283 link_path_walk fs/namei.c:2266 [inline] path_openat+0x260/0x2910 fs/namei.c:3649 do_filp_open+0x1aa/0x400 fs/namei.c:3680 do_sys_openat2+0x16d/0x4c0 fs/open.c:1278 do_sys_open fs/open.c:1294 [inline] __do_sys_openat fs/open.c:1310 [inline] __se_sys_openat fs/open.c:1305 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1305 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7fb94d888c48 RSP: 002b:00007ffe528efba0 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00000000000009af RCX: 00007fb94d888c48 RDX: 0000000000090800 RSI: 00007fb94d8e226c RDI: 00000000ffffff9c RBP: 00007ffe528efc6c R08: 0000000000090800 R09: 00007fb94d8e226c R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000 R13: 00000000000d5ae6 R14: 000000000000000b R15: 00007ffe528efcd0 INFO: task syz-executor.4:3645 blocked for more than 145 seconds. Not tainted 5.19.0-rc2-syzkaller-00147-gf0ec9c65a8d6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:23888 pid: 3645 ppid: 1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0xa00/0x4b30 kernel/sched/core.c:6428 schedule+0xd2/0x1f0 kernel/sched/core.c:6500 rwsem_down_read_slowpath+0x5b9/0xb00 kernel/locking/rwsem.c:1077 __down_read_common kernel/locking/rwsem.c:1242 [inline] __down_read kernel/locking/rwsem.c:1251 [inline] down_read+0xe2/0x440 kernel/locking/rwsem.c:1491 kernfs_iop_permission+0xc1/0x130 fs/kernfs/inode.c:290 do_inode_permission fs/namei.c:458 [inline] inode_permission.part.0+0x3d6/0x670 fs/namei.c:525 inode_permission fs/namei.c:506 [inline] may_lookup fs/namei.c:1731 [inline] link_path_walk.part.0+0x92f/0xf70 fs/namei.c:2283 link_path_walk fs/namei.c:2266 [inline] path_openat+0x260/0x2910 fs/namei.c:3649 do_filp_open+0x1aa/0x400 fs/namei.c:3680 do_sys_openat2+0x16d/0x4c0 fs/open.c:1278 do_sys_open fs/open.c:1294 [inline] __do_sys_openat fs/open.c:1310 [inline] __se_sys_openat fs/open.c:1305 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1305 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f7858888c48 RSP: 002b:00007ffd173cb080 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000977 RCX: 00007f7858888c48 RDX: 0000000000090800 RSI: 00007f78588e226c RDI: 00000000ffffff9c RBP: 00007ffd173cb14c R08: 0000000000090800 R09: 00007f78588e226c R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000 R13: 00000000000d5963 R14: 000000000000000b R15: 00007ffd173cb1b0 INFO: task syz-executor.3:3646 blocked for more than 146 seconds. Not tainted 5.19.0-rc2-syzkaller-00147-gf0ec9c65a8d6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:23968 pid: 3646 ppid: 1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0xa00/0x4b30 kernel/sched/core.c:6428 schedule+0xd2/0x1f0 kernel/sched/core.c:6500 rwsem_down_read_slowpath+0x5b9/0xb00 kernel/locking/rwsem.c:1077 __down_read_common kernel/locking/rwsem.c:1242 [inline] __down_read kernel/locking/rwsem.c:1251 [inline] down_read+0xe2/0x440 kernel/locking/rwsem.c:1491 kernfs_iop_permission+0xc1/0x130 fs/kernfs/inode.c:290 do_inode_permission fs/namei.c:458 [inline] inode_permission.part.0+0x3d6/0x670 fs/namei.c:525 inode_permission fs/namei.c:506 [inline] may_lookup fs/namei.c:1731 [inline] link_path_walk.part.0+0x92f/0xf70 fs/namei.c:2283 link_path_walk fs/namei.c:2266 [inline] path_openat+0x260/0x2910 fs/namei.c:3649 do_filp_open+0x1aa/0x400 fs/namei.c:3680 do_sys_openat2+0x16d/0x4c0 fs/open.c:1278 do_sys_open fs/open.c:1294 [inline] __do_sys_openat fs/open.c:1310 [inline] __se_sys_openat fs/open.c:1305 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1305 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f02b9488c48 RSP: 002b:00007ffc471ee300 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000a17 RCX: 00007f02b9488c48 RDX: 0000000000090800 RSI: 00007f02b94e226c RDI: 00000000ffffff9c RBP: 00007ffc471ee3cc R08: 0000000000090800 R09: 00007f02b94e226c R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000 R13: 00000000000d5ae8 R14: 000000000000000a R15: 00007ffc471ee430 INFO: task syz-executor.5:19512 blocked for more than 146 seconds. Not tainted 5.19.0-rc2-syzkaller-00147-gf0ec9c65a8d6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:26616 pid:19512 ppid: 3643 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0xa00/0x4b30 kernel/sched/core.c:6428 schedule+0xd2/0x1f0 kernel/sched/core.c:6500 rwsem_down_write_slowpath+0x68a/0x11a0 kernel/locking/rwsem.c:1172 __down_write_common kernel/locking/rwsem.c:1287 [inline] __down_write_common kernel/locking/rwsem.c:1284 [inline] __down_write kernel/locking/rwsem.c:1296 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1543 kernfs_drain fs/kernfs/dir.c:494 [inline] __kernfs_remove+0x5fc/0xb20 fs/kernfs/dir.c:1383 kernfs_remove_by_name_ns+0xa8/0x110 fs/kernfs/dir.c:1586 sysfs_remove_file include/linux/sysfs.h:613 [inline] device_remove_file drivers/base/core.c:2791 [inline] device_del+0x4de/0xc80 drivers/base/core.c:3602 device_unregister+0x1f/0xc0 drivers/base/core.c:3636 device_destroy+0x96/0xd0 drivers/base/core.c:4182 tty_unregister_device+0x7e/0x1b0 drivers/tty/tty_io.c:3299 gsmld_detach_gsm drivers/tty/n_gsm.c:2526 [inline] gsmld_close+0xb6/0x280 drivers/tty/n_gsm.c:2598 tty_ldisc_close+0x110/0x190 drivers/tty/tty_ldisc.c:456 tty_ldisc_kill+0x94/0x150 drivers/tty/tty_ldisc.c:608 tty_ldisc_release+0xe1/0x2a0 drivers/tty/tty_ldisc.c:776 tty_release_struct+0x20/0xe0 drivers/tty/tty_io.c:1694 tty_release+0xc70/0x1200 drivers/tty/tty_io.c:1865 __fput+0x277/0x9d0 fs/file_table.c:317 task_work_run+0xdd/0x1a0 kernel/task_work.c:177 get_signal+0x1c5/0x2600 kernel/signal.c:2634 arch_do_signal_or_restart+0x82/0x2300 arch/x86/kernel/signal.c:869 exit_to_user_mode_loop kernel/entry/common.c:166 [inline] exit_to_user_mode_prepare+0x15f/0x250 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:294 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f5ed8489109 RSP: 002b:00007f5ed9514168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007f5ed859c100 RCX: 00007f5ed8489109 RDX: 0000000020000000 RSI: 0000000000005423 RDI: 0000000000000005 RBP: 00007f5ed84e305d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff57d8329f R14: 00007f5ed9514300 R15: 0000000000022000 INFO: task syz-executor.2:19529 blocked for more than 147 seconds. Not tainted 5.19.0-rc2-syzkaller-00147-gf0ec9c65a8d6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28024 pid:19529 ppid: 3644 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0xa00/0x4b30 kernel/sched/core.c:6428 schedule+0xd2/0x1f0 kernel/sched/core.c:6500 rwsem_down_write_slowpath+0x68a/0x11a0 kernel/locking/rwsem.c:1172 __down_write_common kernel/locking/rwsem.c:1287 [inline] __down_write_common kernel/locking/rwsem.c:1284 [inline] __down_write kernel/locking/rwsem.c:1296 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1543 kernfs_add_one+0xa4/0x550 fs/kernfs/dir.c:734 kernfs_create_dir_ns+0x18b/0x220 fs/kernfs/dir.c:1020 sysfs_create_dir_ns+0x127/0x290 fs/sysfs/dir.c:59 create_dir lib/kobject.c:63 [inline] kobject_add_internal+0x2ce/0x900 lib/kobject.c:223 kobject_add_varg lib/kobject.c:358 [inline] kobject_add+0x150/0x1c0 lib/kobject.c:410 device_add+0x36d/0x1ea0 drivers/base/core.c:3352 tty_register_device_attr+0x38e/0x7a0 drivers/tty/tty_io.c:3253 gsmld_attach_gsm drivers/tty/n_gsm.c:2497 [inline] gsmld_open+0x7a9/0xb50 drivers/tty/n_gsm.c:2634 tty_ldisc_open+0x9b/0x110 drivers/tty/tty_ldisc.c:433 tty_set_ldisc+0x2f1/0x680 drivers/tty/tty_ldisc.c:558 tiocsetd drivers/tty/tty_io.c:2433 [inline] tty_ioctl+0xae0/0x15e0 drivers/tty/tty_io.c:2714 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7fb94d889109 RSP: 002b:00007fb94e99a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fb94d99c100 RCX: 00007fb94d889109 RDX: 0000000020000000 RSI: 0000000000005423 RDI: 0000000000000005 RBP: 00007fb94d8e305d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe528ef9af R14: 00007fb94e99a300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8bd86b20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491 1 lock held by udevd/2978: #0: ffff888011867548 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_dop_revalidate+0xec/0x600 fs/kernfs/dir.c:1098 2 locks held by getty/3286: #0: ffff88814ae03098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d162e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xe50/0x13c0 drivers/tty/n_tty.c:2124 1 lock held by syz-executor.0/3641: #0: ffff888011867548 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_iop_permission+0xc1/0x130 fs/kernfs/inode.c:290 1 lock held by syz-executor.1/3642: #0: ffff888011867548 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_iop_permission+0xc1/0x130 fs/kernfs/inode.c:290 1 lock held by syz-executor.5/3643: #0: ffff888011867548 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_iop_permission+0xc1/0x130 fs/kernfs/inode.c:290 #0: ffff888011867548 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_iop_permission+0xc1/0x130 fs/kernfs/inode.c:290 1 lock held by syz-executor.2/3644: #0: ffff888011867548 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_iop_permission+0xc1/0x130 fs/kernfs/inode.c:290 1 lock held by syz-executor.4/3645: #0: ffff888011867548 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_iop_permission+0xc1/0x130 fs/kernfs/inode.c:290 1 lock held by syz-executor.3/3646: #0: ffff888011867548 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_iop_permission+0xc1/0x130 fs/kernfs/inode.c:290 3 locks held by syz-executor.5/19512: #0: ffff888027923098 (&tty->ldisc_sem){++++}-{0:0}, at: __tty_ldisc_lock drivers/tty/tty_ldisc.c:290 [inline] #0: ffff888027923098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock_pair_timeout drivers/tty/tty_ldisc.c:346 [inline] #0: ffff888027923098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock_pair drivers/tty/tty_ldisc.c:367 [inline] #0: ffff888027923098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_release+0x127/0x2a0 drivers/tty/tty_ldisc.c:775 #1: ffff88807dba5098 (&tty->ldisc_sem/1){+.+.}-{0:0}, at: __tty_ldisc_lock_nested drivers/tty/tty_ldisc.c:296 [inline] #1: ffff88807dba5098 (&tty->ldisc_sem/1){+.+.}-{0:0}, at: tty_ldisc_lock_pair_timeout drivers/tty/tty_ldisc.c:348 [inline] #1: ffff88807dba5098 (&tty->ldisc_sem/1){+.+.}-{0:0}, at: tty_ldisc_lock_pair drivers/tty/tty_ldisc.c:367 [inline] #1: ffff88807dba5098 (&tty->ldisc_sem/1){+.+.}-{0:0}, at: tty_ldisc_release+0x1bd/0x2a0 drivers/tty/tty_ldisc.c:775 #2: ffff888011867548 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_drain fs/kernfs/dir.c:494 [inline] #2: ffff888011867548 (&root->kernfs_rwsem){++++}-{3:3}, at: __kernfs_remove+0x5fc/0xb20 fs/kernfs/dir.c:1383 3 locks held by syz-executor.0/19516: #0: ffff88801f3c31c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_lock+0xbd/0x120 drivers/tty/tty_mutex.c:20 #1: ffff88801f3c3098 (&tty->ldisc_sem){++++}-{0:0}, at: __tty_ldisc_lock drivers/tty/tty_ldisc.c:290 [inline] #1: ffff88801f3c3098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock+0x61/0xb0 drivers/tty/tty_ldisc.c:314 #2: ffff888011867548 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_add_one+0xa4/0x550 fs/kernfs/dir.c:734 3 locks held by syz-executor.1/19519: 3 locks held by syz-executor.2/19529: #0: ffff8880755f51c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_lock+0xbd/0x120 drivers/tty/tty_mutex.c:20 #1: ffff8880755f5098 (&tty->ldisc_sem){++++}-{0:0}, at: __tty_ldisc_lock drivers/tty/tty_ldisc.c:290 [inline] #1: ffff8880755f5098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock+0x61/0xb0 drivers/tty/tty_ldisc.c:314 #2: ffff888011867548 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_add_one+0xa4/0x550 fs/kernfs/dir.c:734 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 5.19.0-rc2-syzkaller-00147-gf0ec9c65a8d6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/13/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xc22/0xf90 kernel/hung_task.c:378 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 19516 Comm: syz-executor.0 Not tainted 5.19.0-rc2-syzkaller-00147-gf0ec9c65a8d6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/13/2022 RIP: 0010:__this_cpu_preempt_check+0xd/0x20 lib/smp_processor_id.c:66 Code: 00 00 48 c7 c6 c0 4e 28 8a 48 c7 c7 00 4f 28 8a e9 78 fe ff ff 0f 1f 84 00 00 00 00 00 55 48 89 fd 0f 1f 44 00 00 48 89 ee 5d <48> c7 c7 40 4f 28 8a e9 57 fe ff ff cc cc cc cc cc cc cc 0f 1f 44 RSP: 0018:ffffc900151cf648 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffff888020043b00 RCX: 1ffffffff1b769b1 RDX: 1ffff110040088a7 RSI: ffffffff89cc7d20 RDI: ffffffff89cc7d20 RBP: c3150e19c1fc76ee R08: 0000000000000000 R09: 0000000000000001 R10: ffffed100230ce9e R11: 0000000000000001 R12: ffffffff897a016f R13: ffff888020043b00 R14: ffff8880118674f0 R15: ffffc90014bf7688 FS: 00007f7cc9fbd700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200bd038 CR3: 000000007dd75000 CR4: 0000000000350ee0 Call Trace: lockdep_recursion_inc kernel/locking/lockdep.c:461 [inline] lockdep_hardirqs_on_prepare kernel/locking/lockdep.c:4318 [inline] lockdep_hardirqs_on_prepare+0x118/0x400 kernel/locking/lockdep.c:4271 trace_hardirqs_on+0x2d/0x120 kernel/trace/trace_preemptirq.c:49 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline] _raw_spin_unlock_irq+0x1f/0x40 kernel/locking/spinlock.c:202 rwsem_down_write_slowpath+0x5cc/0x11a0 kernel/locking/rwsem.c:1148 __down_write_common kernel/locking/rwsem.c:1287 [inline] __down_write_common kernel/locking/rwsem.c:1284 [inline] __down_write kernel/locking/rwsem.c:1296 [inline] down_write+0x135/0x150 kernel/locking/rwsem.c:1543 kernfs_add_one+0xa4/0x550 fs/kernfs/dir.c:734 __kernfs_create_file+0x29c/0x350 fs/kernfs/file.c:1016 sysfs_add_file_mode_ns+0x20f/0x3f0 fs/sysfs/file.c:294 sysfs_merge_group+0x196/0x310 fs/sysfs/group.c:342 dpm_sysfs_add+0x241/0x290 drivers/base/power/sysfs.c:707 device_add+0xa87/0x1ea0 drivers/base/core.c:3374 tty_register_device_attr+0x38e/0x7a0 drivers/tty/tty_io.c:3253 gsmld_attach_gsm drivers/tty/n_gsm.c:2497 [inline] gsmld_open+0x7a9/0xb50 drivers/tty/n_gsm.c:2634 tty_ldisc_open+0x9b/0x110 drivers/tty/tty_ldisc.c:433 tty_set_ldisc+0x2f1/0x680 drivers/tty/tty_ldisc.c:558 tiocsetd drivers/tty/tty_io.c:2433 [inline] tty_ioctl+0xae0/0x15e0 drivers/tty/tty_io.c:2714 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f7cc8e89109 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7cc9fbd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f7cc8f9bf60 RCX: 00007f7cc8e89109 RDX: 0000000020000000 RSI: 0000000000005423 RDI: 0000000000000003 RBP: 00007f7cc8ee305d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd8adf992f R14: 00007f7cc9fbd300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 48 c7 c6 c0 4e 28 8a mov $0xffffffff8a284ec0,%rsi 9: 48 c7 c7 00 4f 28 8a mov $0xffffffff8a284f00,%rdi 10: e9 78 fe ff ff jmpq 0xfffffe8d 15: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 1c: 00 1d: 55 push %rbp 1e: 48 89 fd mov %rdi,%rbp 21: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 26: 48 89 ee mov %rbp,%rsi 29: 5d pop %rbp * 2a: 48 c7 c7 40 4f 28 8a mov $0xffffffff8a284f40,%rdi <-- trapping instruction 31: e9 57 fe ff ff jmpq 0xfffffe8d 36: cc int3 37: cc int3 38: cc int3 39: cc int3 3a: cc int3 3b: cc int3 3c: cc int3 3d: 0f .byte 0xf 3e: 1f (bad) 3f: 44 rex.R