INFO: task dhcpcd:3209 blocked for more than 143 seconds. Not tainted 6.1.23-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:dhcpcd state:D stack:20776 pid:3209 ppid:3208 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x132c/0x4330 kernel/sched/core.c:6554 schedule+0xbf/0x180 kernel/sched/core.c:6630 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6689 __mutex_lock_common+0xe2b/0x2520 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 devinet_ioctl+0x2a5/0x1b20 net/ipv4/devinet.c:1070 inet_ioctl+0x32d/0x400 net/ipv4/af_inet.c:980 sock_do_ioctl+0x152/0x450 net/socket.c:1174 sock_ioctl+0x47f/0x770 net/socket.c:1291 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ff3e7c8c0e7 RSP: 002b:00007ffcff3e3788 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ff3e7b9e6c8 RCX: 00007ff3e7c8c0e7 RDX: 00007ffcff3f3978 RSI: 0000000000008914 RDI: 000000000000000c RBP: 00007ffcff403b28 R08: 00007ffcff3f3938 R09: 00007ffcff3f38e8 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcff3f3978 R14: 0000000000000028 R15: 0000000000008914 INFO: task kworker/1:7:16162 blocked for more than 143 seconds. Not tainted 6.1.23-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:7 state:D stack:19800 pid:16162 ppid:2 flags:0x00004000 Workqueue: events linkwatch_event Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x132c/0x4330 kernel/sched/core.c:6554 schedule+0xbf/0x180 kernel/sched/core.c:6630 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6689 __mutex_lock_common+0xe2b/0x2520 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 linkwatch_event+0xa/0x50 net/core/link_watch.c:263 process_one_work+0x8aa/0x11f0 kernel/workqueue.c:2289 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2436 kthread+0x268/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 INFO: task kworker/1:3:2538 blocked for more than 143 seconds. Not tainted 6.1.23-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:3 state:D stack:19800 pid:2538 ppid:2 flags:0x00004000 Workqueue: events switchdev_deferred_process_work Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x132c/0x4330 kernel/sched/core.c:6554 schedule+0xbf/0x180 kernel/sched/core.c:6630 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6689 __mutex_lock_common+0xe2b/0x2520 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:75 process_one_work+0x8aa/0x11f0 kernel/workqueue.c:2289 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2436 kthread+0x268/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 INFO: task syz-executor.2:13651 blocked for more than 144 seconds. Not tainted 6.1.23-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:21768 pid:13651 ppid:1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x132c/0x4330 kernel/sched/core.c:6554 schedule+0xbf/0x180 kernel/sched/core.c:6630 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6689 __mutex_lock_common+0xe2b/0x2520 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 rtnl_lock net/core/rtnetlink.c:74 [inline] rtnetlink_rcv_msg+0x720/0xf00 net/core/rtnetlink.c:6088 netlink_rcv_skb+0x1cd/0x410 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1328 [inline] netlink_unicast+0x7bf/0x990 net/netlink/af_netlink.c:1354 netlink_sendmsg+0xa26/0xd60 net/netlink/af_netlink.c:1931 sock_sendmsg_nosec net/socket.c:716 [inline] sock_sendmsg net/socket.c:736 [inline] __sys_sendto+0x471/0x5f0 net/socket.c:2117 __do_sys_sendto net/socket.c:2129 [inline] __se_sys_sendto net/socket.c:2125 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2125 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fbe9c23e19c RSP: 002b:00007ffd627279a0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fbe9ced4620 RCX: 00007fbe9c23e19c RDX: 0000000000000028 RSI: 00007fbe9ced4670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffd627279f4 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007fbe9ced4670 R14: 0000000000000003 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cf26830 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510 1 lock held by rcu_tasks_trace/13: #0: ffffffff8cf27030 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510 1 lock held by khungtaskd/28: #0: ffffffff8cf26660 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by dhcpcd/3209: #0: ffffffff8e089f88 (rtnl_mutex){+.+.}-{3:3}, at: devinet_ioctl+0x2a5/0x1b20 net/ipv4/devinet.c:1070 2 locks held by getty/3308: #0: ffff88823bcca098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2177 5 locks held by kworker/u4:14/4421: #0: ffff888012606938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x77a/0x11f0 #1: ffffc9000ab1fd20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7bd/0x11f0 kernel/workqueue.c:2264 #2: ffffffff8e07dbd0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf1/0xb60 net/core/net_namespace.c:563 #3: ffffffff8e089f88 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0xd7/0x630 net/core/dev.c:11321 #4: ffffffff8cf2bb00 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x5f0 kernel/rcu/tree.c:3953 3 locks held by kworker/1:7/16162: #0: ffff888012464d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77a/0x11f0 #1: ffffc9000354fd20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7bd/0x11f0 kernel/workqueue.c:2264 #2: ffffffff8e089f88 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:263 3 locks held by kworker/1:3/2538: #0: ffff888012464d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77a/0x11f0 #1: ffffc900055bfd20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x7bd/0x11f0 kernel/workqueue.c:2264 #2: ffffffff8e089f88 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:75 3 locks held by kworker/0:5/3287: #0: ffff88814a8e8d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x77a/0x11f0 #1: ffffc90017b77d20 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7bd/0x11f0 kernel/workqueue.c:2264 #2: ffffffff8e089f88 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x15/0x30 net/ipv6/addrconf.c:4629 3 locks held by kworker/1:0/10972: #0: ffff88814a8e8d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x77a/0x11f0 #1: ffffc90004d2fd20 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7bd/0x11f0 kernel/workqueue.c:2264 #2: ffffffff8e089f88 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x15/0x30 net/ipv6/addrconf.c:4629 3 locks held by kworker/u4:2/12204: 1 lock held by syz-executor.2/13651: #0: ffffffff8e089f88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffffffff8e089f88 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x720/0xf00 net/core/rtnetlink.c:6088 1 lock held by syz-executor.2/13705: #0: ffffffff8e089f88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffffffff8e089f88 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x720/0xf00 net/core/rtnetlink.c:6088 1 lock held by syz-executor.2/13710: #0: ffffffff8e089f88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffffffff8e089f88 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x720/0xf00 net/core/rtnetlink.c:6088 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.23-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b0/0x3f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xf18/0xf60 kernel/hung_task.c:377 kthread+0x268/0x300 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: 2978 Comm: syslogd Not tainted 6.1.23-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 RIP: 0010:__unwind_start+0xa/0x720 arch/x86/kernel/unwind_orc.c:644 Code: 8c 56 ff ff ff 4c 89 f7 e8 83 44 a3 00 48 ba 00 00 00 00 00 fc ff df e9 3f ff ff ff 0f 1f 40 00 55 41 57 41 56 41 55 41 54 53 <48> 83 ec 28 48 89 4c 24 10 49 89 d4 48 89 f3 49 89 fe 48 bd 00 00 RSP: 0018:ffffc9000c22f0a8 EFLAGS: 00000246 RAX: ffff88807dff0000 RBX: ffffc9000c22f1d0 RCX: ffffc9000c22f170 RDX: 0000000000000000 RSI: ffff88807dff0000 RDI: ffffc9000c22f0e0 RBP: ffffc9000c22f170 R08: dffffc0000000000 R09: ffffc9000c22f270 R10: 0000000000000006 R11: dffffc0000000001 R12: ffff88807dff0000 R13: ffffffff81779790 R14: ffffc9000c22f1c0 R15: 0000000000000000 FS: 00007f315259b800(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560a955f35b0 CR3: 0000000028e2b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0xdb/0x140 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:52 ____kasan_kmalloc mm/kasan/common.c:374 [inline] __kasan_kmalloc+0x97/0xb0 mm/kasan/common.c:383 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slab_common.c:955 [inline] __kmalloc+0xb2/0x230 mm/slab_common.c:968 kmalloc include/linux/slab.h:558 [inline] kzalloc include/linux/slab.h:689 [inline] tomoyo_encode2 security/tomoyo/realpath.c:45 [inline] tomoyo_encode+0x26b/0x530 security/tomoyo/realpath.c:80 tomoyo_realpath_from_path+0x594/0x5d0 security/tomoyo/realpath.c:283 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_check_open_permission+0x22c/0x490 security/tomoyo/file.c:771 security_file_open+0x5f/0xa0 security/security.c:1649 do_dentry_open+0x308/0x10f0 fs/open.c:869 do_open fs/namei.c:3557 [inline] path_openat+0x2644/0x2e60 fs/namei.c:3714 do_filp_open+0x230/0x480 fs/namei.c:3741 do_sys_openat2+0x13b/0x500 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_openat fs/open.c:1342 [inline] __se_sys_openat fs/open.c:1337 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f3152727697 Code: 25 00 00 41 00 3d 00 00 41 00 74 37 64 8b 04 25 18 00 00 00 85 c0 75 5b 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 85 00 00 00 48 83 c4 68 5d 41 5c c3 0f 1f RSP: 002b:00007ffecbaff9a0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000055b01c60e910 RCX: 00007f3152727697 RDX: 0000000000000d41 RSI: 00007f31528b599a RDI: 00000000ffffff9c RBP: 00007f31528b599a R08: 0000000000000000 R09: 00007ffecbaff787 R10: 00000000000001b6 R11: 0000000000000246 R12: 0000000000000d41 R13: 00007ffecbaff9e0 R14: 00007ffecbaffa00 R15: 0000000000000000