INFO: task udevd:2974 blocked for more than 143 seconds.
Not tainted 5.19.0-syzkaller-01583-g7d0d3fa7339e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:24408 pid: 2974 ppid: 1 flags:0x00000000
Call Trace:
context_switch kernel/sched/core.c:5146 [inline]
__schedule+0xa00/0x4b50 kernel/sched/core.c:6458
schedule+0xda/0x1b0 kernel/sched/core.c:6534
rwsem_down_read_slowpath+0x5c1/0xb00 kernel/locking/rwsem.c:1087
__down_read_common kernel/locking/rwsem.c:1252 [inline]
__down_read kernel/locking/rwsem.c:1261 [inline]
down_read+0xe2/0x450 kernel/locking/rwsem.c:1501
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:2265 [inline]
path_lookupat+0xc8/0x860 fs/namei.c:2492
filename_lookup+0x1c6/0x590 fs/namei.c:2522
vfs_statx+0x148/0x390 fs/stat.c:228
vfs_fstatat+0x8c/0xb0 fs/stat.c:255
__do_sys_newfstatat+0x91/0x110 fs/stat.c:425
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+0x63/0xcd
RIP: 0033:0x7f1c55f251da
RSP: 002b:00007fff65ceeb68 EFLAGS: 00000246 ORIG_RAX: 0000000000000106
RAX: ffffffffffffffda RBX: 000055c05ccf3e50 RCX: 00007f1c55f251da
RDX: 00007fff65ceeb78 RSI: 00007fff65cef008 RDI: 00000000ffffff9c
RBP: 00007fff65ceec08 R08: 0000000000000000 R09: 000055c05ccdf5a0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff65cef008
R13: 00007fff65ceeb78 R14: 000055c05ccc9910 R15: 0000000000000000
INFO: task syz-executor.0:3636 blocked for more than 143 seconds.
Not tainted 5.19.0-syzkaller-01583-g7d0d3fa7339e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:24104 pid: 3636 ppid: 1 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5146 [inline]
__schedule+0xa00/0x4b50 kernel/sched/core.c:6458
schedule+0xda/0x1b0 kernel/sched/core.c:6534
rwsem_down_read_slowpath+0x5c1/0xb00 kernel/locking/rwsem.c:1087
__down_read_common kernel/locking/rwsem.c:1252 [inline]
__down_read kernel/locking/rwsem.c:1261 [inline]
down_read+0xe2/0x450 kernel/locking/rwsem.c:1501
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/0x2930 fs/namei.c:3649
do_filp_open+0x1aa/0x400 fs/namei.c:3680
do_sys_openat2+0x16d/0x4c0 fs/open.c:1308
do_sys_open fs/open.c:1324 [inline]
__do_sys_openat fs/open.c:1340 [inline]
__se_sys_openat fs/open.c:1335 [inline]
__x64_sys_openat+0x13f/0x1f0 fs/open.c:1335
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+0x63/0xcd
RIP: 0033:0x7f2297688d48
RSP: 002b:00007ffcd1d24610 EFLAGS: 00000287 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000002466 RCX: 00007f2297688d48
RDX: 0000000000090800 RSI: 00007f22976e234a RDI: 00000000ffffff9c
RBP: 00007ffcd1d246dc R08: 0000000000090800 R09: 00007f22976e234a
R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000
R13: 0000000000258d6c R14: 000000000000000a R15: 00007ffcd1d24740
INFO: task kworker/0:5:31578 blocked for more than 144 seconds.
Not tainted 5.19.0-syzkaller-01583-g7d0d3fa7339e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:5 state:D stack:24080 pid:31578 ppid: 2 flags:0x00004000
Workqueue: events linkwatch_event
Call Trace:
context_switch kernel/sched/core.c:5146 [inline]
__schedule+0xa00/0x4b50 kernel/sched/core.c:6458
schedule+0xda/0x1b0 kernel/sched/core.c:6534
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6593
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747
linkwatch_event+0xb/0x60 net/core/link_watch.c:263
process_one_work+0x996/0x1610 kernel/workqueue.c:2289
worker_thread+0x665/0x1080 kernel/workqueue.c:2436
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
INFO: task kworker/0:6:31579 blocked for more than 144 seconds.
Not tainted 5.19.0-syzkaller-01583-g7d0d3fa7339e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:6 state:D stack:24808 pid:31579 ppid: 2 flags:0x00004000
Workqueue: ipv6_addrconf addrconf_dad_work
Call Trace:
context_switch kernel/sched/core.c:5146 [inline]
__schedule+0xa00/0x4b50 kernel/sched/core.c:6458
schedule+0xda/0x1b0 kernel/sched/core.c:6534
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6593
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747
addrconf_dad_work+0xa3/0x12d0 net/ipv6/addrconf.c:4079
process_one_work+0x996/0x1610 kernel/workqueue.c:2289
worker_thread+0x665/0x1080 kernel/workqueue.c:2436
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
INFO: task syz-executor.1:5618 blocked for more than 144 seconds.
Not tainted 5.19.0-syzkaller-01583-g7d0d3fa7339e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:24696 pid: 5618 ppid: 1 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5146 [inline]
__schedule+0xa00/0x4b50 kernel/sched/core.c:6458
schedule+0xda/0x1b0 kernel/sched/core.c:6534
rwsem_down_read_slowpath+0x5c1/0xb00 kernel/locking/rwsem.c:1087
__down_read_common kernel/locking/rwsem.c:1252 [inline]
__down_read kernel/locking/rwsem.c:1261 [inline]
down_read+0xe2/0x450 kernel/locking/rwsem.c:1501
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/0x2930 fs/namei.c:3649
do_filp_open+0x1aa/0x400 fs/namei.c:3680
do_sys_openat2+0x16d/0x4c0 fs/open.c:1308
do_sys_open fs/open.c:1324 [inline]
__do_sys_openat fs/open.c:1340 [inline]
__se_sys_openat fs/open.c:1335 [inline]
__x64_sys_openat+0x13f/0x1f0 fs/open.c:1335
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+0x63/0xcd
RIP: 0033:0x7f445fc88d48
RSP: 002b:00007ffdabfb1940 EFLAGS: 00000287 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000809 RCX: 00007f445fc88d48
RDX: 0000000000090800 RSI: 00007f445fce234a RDI: 00000000ffffff9c
RBP: 00007ffdabfb1a0c R08: 0000000000090800 R09: 00007f445fce234a
R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000
R13: 0000000000258e76 R14: 0000000000000009 R15: 00007ffdabfb1a70
INFO: task syz-executor.4:6299 blocked for more than 145 seconds.
Not tainted 5.19.0-syzkaller-01583-g7d0d3fa7339e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:24696 pid: 6299 ppid: 1 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5146 [inline]
__schedule+0xa00/0x4b50 kernel/sched/core.c:6458
schedule+0xda/0x1b0 kernel/sched/core.c:6534
rwsem_down_read_slowpath+0x5c1/0xb00 kernel/locking/rwsem.c:1087
__down_read_common kernel/locking/rwsem.c:1252 [inline]
__down_read kernel/locking/rwsem.c:1261 [inline]
down_read+0xe2/0x450 kernel/locking/rwsem.c:1501
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/0x2930 fs/namei.c:3649
do_filp_open+0x1aa/0x400 fs/namei.c:3680
do_sys_openat2+0x16d/0x4c0 fs/open.c:1308
do_sys_open fs/open.c:1324 [inline]
__do_sys_openat fs/open.c:1340 [inline]
__se_sys_openat fs/open.c:1335 [inline]
__x64_sys_openat+0x13f/0x1f0 fs/open.c:1335
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+0x63/0xcd
RIP: 0033:0x7f9809a88d48
RSP: 002b:00007ffe08cac180 EFLAGS: 00000287 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00000000000011ae RCX: 00007f9809a88d48
RDX: 0000000000090800 RSI: 00007f9809ae234a RDI: 00000000ffffff9c
RBP: 00007ffe08cac24c R08: 0000000000090800 R09: 00007f9809ae234a
R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000
R13: 0000000000258d7c R14: 0000000000000014 R15: 00007ffe08cac2b0
INFO: task syz-executor.3:6677 blocked for more than 145 seconds.
Not tainted 5.19.0-syzkaller-01583-g7d0d3fa7339e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:24960 pid: 6677 ppid: 1 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5146 [inline]
__schedule+0xa00/0x4b50 kernel/sched/core.c:6458
schedule+0xda/0x1b0 kernel/sched/core.c:6534
rwsem_down_read_slowpath+0x5c1/0xb00 kernel/locking/rwsem.c:1087
__down_read_common kernel/locking/rwsem.c:1252 [inline]
__down_read kernel/locking/rwsem.c:1261 [inline]
down_read+0xe2/0x450 kernel/locking/rwsem.c:1501
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/0x2930 fs/namei.c:3649
do_filp_open+0x1aa/0x400 fs/namei.c:3680
do_sys_openat2+0x16d/0x4c0 fs/open.c:1308
do_sys_open fs/open.c:1324 [inline]
__do_sys_openat fs/open.c:1340 [inline]
__se_sys_openat fs/open.c:1335 [inline]
__x64_sys_openat+0x13f/0x1f0 fs/open.c:1335
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+0x63/0xcd
RIP: 0033:0x7f35f5488d48
RSP: 002b:00007ffc8ec202d0 EFLAGS: 00000287 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000b48 RCX: 00007f35f5488d48
RDX: 0000000000090800 RSI: 00007f35f54e234a RDI: 00000000ffffff9c
RBP: 00007ffc8ec2039c R08: 0000000000090800 R09: 00007f35f54e234a
R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000
R13: 0000000000258d52 R14: 000000000000000a R15: 00007ffc8ec20400
INFO: task syz-executor.2:6886 blocked for more than 146 seconds.
Not tainted 5.19.0-syzkaller-01583-g7d0d3fa7339e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:24528 pid: 6886 ppid: 1 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5146 [inline]
__schedule+0xa00/0x4b50 kernel/sched/core.c:6458
schedule+0xda/0x1b0 kernel/sched/core.c:6534
rwsem_down_read_slowpath+0x5c1/0xb00 kernel/locking/rwsem.c:1087
__down_read_common kernel/locking/rwsem.c:1252 [inline]
__down_read kernel/locking/rwsem.c:1261 [inline]
down_read+0xe2/0x450 kernel/locking/rwsem.c:1501
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/0x2930 fs/namei.c:3649
do_filp_open+0x1aa/0x400 fs/namei.c:3680
do_sys_openat2+0x16d/0x4c0 fs/open.c:1308
do_sys_open fs/open.c:1324 [inline]
__do_sys_openat fs/open.c:1340 [inline]
__se_sys_openat fs/open.c:1335 [inline]
__x64_sys_openat+0x13f/0x1f0 fs/open.c:1335
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+0x63/0xcd
RIP: 0033:0x7fd9cde88d48
RSP: 002b:00007ffebda30260 EFLAGS: 00000287 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000e8b RCX: 00007fd9cde88d48
RDX: 0000000000090800 RSI: 00007fd9cdee234a RDI: 00000000ffffff9c
RBP: 00007ffebda3032c R08: 0000000000090800 R09: 00007fd9cdee234a
R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000
R13: 0000000000258e75 R14: 0000000000000014 R15: 00007ffebda30390
INFO: task syz-executor.0:26622 blocked for more than 146 seconds.
Not tainted 5.19.0-syzkaller-01583-g7d0d3fa7339e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:24880 pid:26622 ppid: 3636 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5146 [inline]
__schedule+0xa00/0x4b50 kernel/sched/core.c:6458
schedule+0xda/0x1b0 kernel/sched/core.c:6534
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6593
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747
netdev_wait_allrefs_any net/core/dev.c:10227 [inline]
netdev_run_todo+0xb87/0x10f0 net/core/dev.c:10345
rtnl_unlock net/core/rtnetlink.c:147 [inline]
rtnetlink_rcv_msg+0x447/0xc90 net/core/rtnetlink.c:6090
netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2501
netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]
netlink_unicast+0x543/0x7f0 net/netlink/af_netlink.c:1345
netlink_sendmsg+0x917/0xe10 net/netlink/af_netlink.c:1921
sock_sendmsg_nosec net/socket.c:714 [inline]
sock_sendmsg+0xcf/0x120 net/socket.c:734
____sys_sendmsg+0x6eb/0x810 net/socket.c:2488
___sys_sendmsg+0xf3/0x170 net/socket.c:2542
__sys_sendmsg net/socket.c:2571 [inline]
__do_sys_sendmsg net/socket.c:2580 [inline]
__se_sys_sendmsg net/socket.c:2578 [inline]
__x64_sys_sendmsg+0x132/0x220 net/socket.c:2578
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+0x63/0xcd
RIP: 0033:0x7f2297689209
RSP: 002b:00007f2298807168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f229779bf60 RCX: 00007f2297689209
RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000004
RBP: 00007f22976e3161 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcd1d2441f R14: 00007f2298807300 R15: 0000000000022000
INFO: task syz-executor.3:26624 blocked for more than 147 seconds.
Not tainted 5.19.0-syzkaller-01583-g7d0d3fa7339e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:26160 pid:26624 ppid: 6677 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5146 [inline]
__schedule+0xa00/0x4b50 kernel/sched/core.c:6458
schedule+0xda/0x1b0 kernel/sched/core.c:6534
rwsem_down_write_slowpath+0x697/0x11e0 kernel/locking/rwsem.c:1182
__down_write_common kernel/locking/rwsem.c:1297 [inline]
__down_write_common kernel/locking/rwsem.c:1294 [inline]
__down_write kernel/locking/rwsem.c:1306 [inline]
down_write+0x135/0x150 kernel/locking/rwsem.c:1553
kernfs_activate+0x87/0x240 fs/kernfs/dir.c:1325
kernfs_add_one+0x3c6/0x550 fs/kernfs/dir.c:775
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:3363
netdev_register_kobject+0x181/0x400 net/core/net-sysfs.c:2015
register_netdevice+0xe01/0x1680 net/core/dev.c:10051
macvlan_common_newlink+0xe96/0x1760 drivers/net/macvlan.c:1512
macvtap_newlink drivers/net/macvtap.c:109 [inline]
macvtap_newlink+0x190/0x260 drivers/net/macvtap.c:81
rtnl_newlink_create net/core/rtnetlink.c:3363 [inline]
__rtnl_newlink+0x1087/0x17e0 net/core/rtnetlink.c:3580
rtnl_newlink+0x64/0xa0 net/core/rtnetlink.c:3593
rtnetlink_rcv_msg+0x43a/0xc90 net/core/rtnetlink.c:6089
netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2501
netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]
netlink_unicast+0x543/0x7f0 net/netlink/af_netlink.c:1345
netlink_sendmsg+0x917/0xe10 net/netlink/af_netlink.c:1921
sock_sendmsg_nosec net/socket.c:714 [inline]
sock_sendmsg+0xcf/0x120 net/socket.c:734
____sys_sendmsg+0x6eb/0x810 net/socket.c:2488
___sys_sendmsg+0xf3/0x170 net/socket.c:2542
__sys_sendmsg net/socket.c:2571 [inline]
__do_sys_sendmsg net/socket.c:2580 [inline]
__se_sys_sendmsg net/socket.c:2578 [inline]
__x64_sys_sendmsg+0x132/0x220 net/socket.c:2578
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+0x63/0xcd
RIP: 0033:0x7f35f5489209
RSP: 002b:00007f35f6660168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f35f559bf60 RCX: 00007f35f5489209
RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000004
RBP: 00007f35f54e3161 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc8ec200df R14: 00007f35f6660300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/28:
#0: ffffffff8bd87820 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6492
1 lock held by udevd/2974:
#0: ffff888011867548 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_iop_permission+0xc1/0x130 fs/kernfs/inode.c:290
2 locks held by getty/3285:
#0: ffff888026399098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc90002d232e8 (&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/3636:
#0: ffff888011867548 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_iop_permission+0xc1/0x130 fs/kernfs/inode.c:290
3 locks held by kworker/1:8/8389:
#0: ffff888025736138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888025736138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888025736138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888025736138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff888025736138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff888025736138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
#1: ffffc9000a68fda8 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
#2: ffffffff8d592e28 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0xe/0x20 net/ipv6/addrconf.c:4616
3 locks held by kworker/0:5/31578:
#0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff888011864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
#1: ffffc900157bfda8 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
#2: ffffffff8d592e28 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xb/0x60 net/core/link_watch.c:263
3 locks held by kworker/0:6/31579:
#0: ffff888025736138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888025736138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888025736138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888025736138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff888025736138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff888025736138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
#1: ffffc900157cfda8 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
#2: ffffffff8d592e28 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xa3/0x12d0 net/ipv6/addrconf.c:4079
1 lock held by syz-executor.1/5618:
#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/6299:
#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/6677:
#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/6886:
#0: ffff888011867548 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_iop_permission+0xc1/0x130 fs/kernfs/inode.c:290
1 lock held by syz-executor.0/26622:
#0: ffffffff8d592e28 (rtnl_mutex){+.+.}-{3:3}, at: netdev_wait_allrefs_any net/core/dev.c:10227 [inline]
#0: ffffffff8d592e28 (rtnl_mutex){+.+.}-{3:3}, at: netdev_run_todo+0xb87/0x10f0 net/core/dev.c:10345
2 locks held by syz-executor.3/26624:
#0: ffffffff8d592e28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline]
#0: ffffffff8d592e28 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e5/0xc90 net/core/rtnetlink.c:6086
#1: ffff888011867548 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_activate+0x87/0x240 fs/kernfs/dir.c:1325
1 lock held by syz-executor.5/26626:
#0: ffffffff8d592e28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline]
#0: ffffffff8d592e28 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e5/0xc90 net/core/rtnetlink.c:6086
4 locks held by syz-executor.4/26629:
#0: ffff88807c0d11c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_lock+0xbd/0x120 drivers/tty/tty_mutex.c:20
#1: ffff88807c0d1098 (&tty->ldisc_sem){++++}-{0:0}, at: __tty_ldisc_lock drivers/tty/tty_ldisc.c:290 [inline]
#1: ffff88807c0d1098 (&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_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: ffff888011867508 (&sem->wait_lock){....}-{2:2}, at: rwsem_down_write_slowpath+0x6ee/0x11e0 kernel/locking/rwsem.c:1186
1 lock held by syz-executor.1/26635:
#0: ffffffff8d592e28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline]
#0: ffffffff8d592e28 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e5/0xc90 net/core/rtnetlink.c:6086
3 locks held by syz-executor.2/26634:
1 lock held by syz-executor.2/26636:
#0: ffff88807c6271c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_lock+0xbd/0x120 drivers/tty/tty_mutex.c:20
3 locks held by syz-executor.2/26637:
#0: ffff88803042c1c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_lock+0xbd/0x120 drivers/tty/tty_mutex.c:20
#1: ffff88803042c098 (&tty->ldisc_sem){++++}-{0:0}, at: __tty_ldisc_lock drivers/tty/tty_ldisc.c:290 [inline]
#1: ffff88803042c098 (&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
1 lock held by syz-executor.2/26638:
#0: ffff88803042c1c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_lock+0xbd/0x120 drivers/tty/tty_mutex.c:20
3 locks held by syz-executor.2/26639:
#0: ffff8880200501c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_lock+0xbd/0x120 drivers/tty/tty_mutex.c:20
#1: ffff888020050098 (&tty->ldisc_sem){++++}-{0:0}, at: __tty_ldisc_lock drivers/tty/tty_ldisc.c:290 [inline]
#1: ffff888020050098 (&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
1 lock held by syz-executor.2/26640:
#0: ffff8880200501c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_lock+0xbd/0x120 drivers/tty/tty_mutex.c:20
1 lock held by syz-executor.5/26653:
#0: ffff888011867548 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_iop_permission+0xc1/0x130 fs/kernfs/inode.c:290
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 5.19.0-syzkaller-01583-g7d0d3fa7339e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/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:212 [inline]
watchdog+0xc1d/0xf50 kernel/hung_task.c:369
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 26629 Comm: syz-executor.4 Not tainted 5.19.0-syzkaller-01583-g7d0d3fa7339e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
RIP: 0010:__lock_is_held kernel/locking/lockdep.c:5407 [inline]
RIP: 0010:lock_is_held_type+0xa2/0x140 kernel/locking/lockdep.c:5709
Code: 8a 76 85 c0 7f 12 e9 8a 00 00 00 83 c3 01 41 3b 9c 24 58 0a 00 00 7d 7d 48 63 c3 48 89 ee 48 8d 04 80 4d 8d 7c c5 00 4c 89 ff 99 fe ff ff 85 c0 74 d8 41 83 fe ff 41 bd 01 00 00 00 74 14 31
RSP: 0018:ffffc900050c75b0 EFLAGS: 00000093
RAX: 0000000000000005 RBX: 0000000000000001 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffffffff8bd87760 RDI: ffff88802f49a808
RBP: ffffffff8bd87760 R08: 0000000000000000 R09: ffffffff8dbbc8d7
R10: fffffbfff1b7791a R11: 0000000000000001 R12: ffff88802f499d80
R13: ffff88802f49a7e0 R14: 00000000ffffffff R15: ffff88802f49a808
FS: 00007f980abad700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd93f040c8 CR3: 000000002c124000 CR4: 0000000000350ee0
Call Trace:
lock_is_held include/linux/lockdep.h:283 [inline]
rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125
trace_lock_acquire include/trace/events/lock.h:24 [inline]
lock_acquire+0x480/0x570 kernel/locking/lockdep.c:5637
__raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline]
_raw_spin_lock_irq+0x32/0x50 kernel/locking/spinlock.c:170
rwsem_down_write_slowpath+0x6ee/0x11e0 kernel/locking/rwsem.c:1186
__down_write_common kernel/locking/rwsem.c:1297 [inline]
__down_write_common kernel/locking/rwsem.c:1294 [inline]
__down_write kernel/locking/rwsem.c:1306 [inline]
down_write+0x135/0x150 kernel/locking/rwsem.c:1553
kernfs_drain fs/kernfs/dir.c:494 [inline]
__kernfs_remove+0x5fc/0xb20 fs/kernfs/dir.c:1383
kernfs_remove+0x77/0xa0 fs/kernfs/dir.c:1424
sysfs_remove_group+0xb5/0x170 fs/sysfs/group.c:290
dpm_sysfs_remove+0x97/0xb0 drivers/base/power/sysfs.c:837
device_del+0x20b/0xc80 drivers/base/core.c:3592
device_unregister+0x1f/0xc0 drivers/base/core.c:3647
device_destroy+0x96/0xd0 drivers/base/core.c:4193
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_hangup+0x30b/0x680 drivers/tty/tty_ldisc.c:724
__tty_hangup.part.0+0x40a/0x830 drivers/tty/tty_io.c:637
__tty_hangup drivers/tty/tty_io.c:592 [inline]
tty_vhangup drivers/tty/tty_io.c:707 [inline]
tty_ioctl+0xccd/0x15e0 drivers/tty/tty_io.c:2718
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+0x63/0xcd
RIP: 0033:0x7f9809a89209
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:00007f980abad168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f9809b9bf60 RCX: 00007f9809a89209
RDX: 000000000000ff00 RSI: 0000000000005437 RDI: 0000000000000003
RBP: 00007f9809ae3161 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe08cabf8f R14: 00007f980abad300 R15: 0000000000022000