INFO: task dhcpcd:4735 blocked for more than 143 seconds. Not tainted 6.8.0-rc2-next-20240202-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:dhcpcd state:D stack:23664 pid:4735 tgid:4735 ppid:1 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x17df/0x4a40 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6804 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6819 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6876 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 vlan_ioctl_handler+0x112/0x9d0 net/8021q/vlan.c:553 sock_ioctl+0x683/0x8e0 net/socket.c:1305 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:857 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f29d816cd49 RSP: 002b:00007fff56955018 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000056508a5ffd40 RCX: 00007f29d816cd49 RDX: 00007fff56955020 RSI: 0000000000008982 RDI: 0000000000000011 RBP: 0000000000000002 R08: 0000000000000008 R09: 0000000000000000 R10: 00007fff569656a0 R11: 0000000000000246 R12: 00007fff56955020 R13: 00007fff569550e0 R14: 000056508a5ffd40 R15: 000056508a60e220 INFO: task kworker/1:1:28510 blocked for more than 143 seconds. Not tainted 6.8.0-rc2-next-20240202-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:1 state:D stack:23600 pid:28510 tgid:28510 ppid:2 flags:0x00004000 Workqueue: events switchdev_deferred_process_work Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x17df/0x4a40 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6804 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6819 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6876 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:75 process_one_work kernel/workqueue.c:3049 [inline] process_scheduled_works+0x913/0x14f0 kernel/workqueue.c:3125 worker_thread+0xa60/0x1000 kernel/workqueue.c:3206 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:242 INFO: task kworker/0:1:9431 blocked for more than 144 seconds. Not tainted 6.8.0-rc2-next-20240202-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:1 state:D stack:23440 pid:9431 tgid:9431 ppid:2 flags:0x00004000 Workqueue: events linkwatch_event Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x17df/0x4a40 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6804 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6819 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6876 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 linkwatch_event+0xe/0x60 net/core/link_watch.c:281 process_one_work kernel/workqueue.c:3049 [inline] process_scheduled_works+0x913/0x14f0 kernel/workqueue.c:3125 worker_thread+0xa60/0x1000 kernel/workqueue.c:3206 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:242 INFO: task syz-executor.3:23050 blocked for more than 144 seconds. Not tainted 6.8.0-rc2-next-20240202-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:23408 pid:23050 tgid:23049 ppid:16308 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x17df/0x4a40 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6804 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6819 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6876 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 cangw_pernet_exit_batch+0x20/0x90 net/can/gw.c:1257 ops_exit_list net/core/net_namespace.c:175 [inline] setup_net+0x966/0xbc0 net/core/net_namespace.c:362 copy_net_ns+0x4e4/0x7b0 net/core/net_namespace.c:495 create_new_namespaces+0x425/0x7b0 kernel/nsproxy.c:110 copy_namespaces+0x41a/0x490 kernel/nsproxy.c:179 copy_process+0x1928/0x3db0 kernel/fork.c:2522 kernel_clone+0x21e/0x8d0 kernel/fork.c:2924 __do_sys_clone3 kernel/fork.c:3225 [inline] __se_sys_clone3+0x2cb/0x350 kernel/fork.c:3209 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7fcaf6a7dda9 RSP: 002b:00007fcaf7864f98 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 0000000000000058 RCX: 00007fcaf6a7dda9 RDX: 00007fcaf7864fb0 RSI: 0000000000000058 RDI: 00007fcaf7864fb0 RBP: 00007fcaf6aca47a R08: 0000000000000000 R09: 0000000000000058 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fcaf6babf80 R15: 00007fff6aff1a38 INFO: task syz-executor.2:23149 blocked for more than 145 seconds. Not tainted 6.8.0-rc2-next-20240202-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:24792 pid:23149 tgid:23149 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x17df/0x4a40 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6804 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6819 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6876 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnl_lock net/core/rtnetlink.c:79 [inline] rtnetlink_rcv_msg+0x82c/0x1040 net/core/rtnetlink.c:6612 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2543 netlink_unicast_kernel net/netlink/af_netlink.c:1341 [inline] netlink_unicast+0x7ea/0x980 net/netlink/af_netlink.c:1367 netlink_sendmsg+0xa3c/0xd70 net/netlink/af_netlink.c:1908 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 __sys_sendto+0x3a4/0x4f0 net/socket.c:2191 __do_sys_sendto net/socket.c:2203 [inline] __se_sys_sendto net/socket.c:2199 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2199 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f6e0ae7fa9c RSP: 002b:00007ffd3c5d3730 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f6e0bad4620 RCX: 00007f6e0ae7fa9c RDX: 0000000000000028 RSI: 00007f6e0bad4670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffd3c5d3784 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f6e0bad4670 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e130d60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8e130d60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8e130d60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 5 locks held by kworker/u4:6/1093: #0: ffff888015acd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3024 [inline] #0: ffff888015acd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x14f0 kernel/workqueue.c:3125 #1: ffffc90004f47d20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3024 [inline] #1: ffffc90004f47d20 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x14f0 kernel/workqueue.c:3125 #2: ffffffff8f36da50 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf5/0xb90 net/core/net_namespace.c:580 #3: ffffffff8f379fc8 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0xe9/0x9f0 net/core/dev.c:11610 #4: ffffffff8e1360f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #4: ffffffff8e1360f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x39a/0x820 kernel/rcu/tree_exp.h:939 1 lock held by udevd/4521: #0: ffff8880239e1680 (&type->i_mutex_dir_key#5){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff8880239e1680 (&type->i_mutex_dir_key#5){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1709 2 locks held by dhcpcd/4735: #0: ffffffff8f35f4c8 (vlan_ioctl_mutex){+.+.}-{3:3}, at: sock_ioctl+0x664/0x8e0 net/socket.c:1303 #1: ffffffff8f379fc8 (rtnl_mutex){+.+.}-{3:3}, at: vlan_ioctl_handler+0x112/0x9d0 net/8021q/vlan.c:553 2 locks held by getty/4827: #0: ffff88802ee210a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 2 locks held by syz-fuzzer/5097: 3 locks held by kworker/1:2/29962: #0: ffff888029fa4548 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3024 [inline] #0: ffff888029fa4548 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x14f0 kernel/workqueue.c:3125 #1: ffffc9001437fd20 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3024 [inline] #1: ffffc9001437fd20 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x14f0 kernel/workqueue.c:3125 #2: ffffffff8f379fc8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4671 3 locks held by kworker/0:6/19063: #0: ffff888029fa4548 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3024 [inline] #0: ffff888029fa4548 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x14f0 kernel/workqueue.c:3125 #1: ffffc9000551fd20 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3024 [inline] #1: ffffc9000551fd20 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x14f0 kernel/workqueue.c:3125 #2: ffffffff8f379fc8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4671 3 locks held by kworker/1:1/28510: #0: ffff888014c7cd48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3024 [inline] #0: ffff888014c7cd48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x14f0 kernel/workqueue.c:3125 #1: ffffc90012887d20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3024 [inline] #1: ffffc90012887d20 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x14f0 kernel/workqueue.c:3125 #2: ffffffff8f379fc8 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:75 3 locks held by kworker/0:1/9431: #0: ffff888014c7cd48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3024 [inline] #0: ffff888014c7cd48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x14f0 kernel/workqueue.c:3125 #1: ffffc90012db7d20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3024 [inline] #1: ffffc90012db7d20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x14f0 kernel/workqueue.c:3125 #2: ffffffff8f379fc8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:281 2 locks held by syz-executor.3/23050: #0: ffffffff8f36da50 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4c8/0x7b0 net/core/net_namespace.c:491 #1: ffffffff8f379fc8 (rtnl_mutex){+.+.}-{3:3}, at: cangw_pernet_exit_batch+0x20/0x90 net/can/gw.c:1257 1 lock held by syz-executor.2/23149: #0: ffffffff8f379fc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f379fc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x82c/0x1040 net/core/rtnetlink.c:6612 1 lock held by syz-executor.3/23236: #0: ffffffff8f379fc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f379fc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x82c/0x1040 net/core/rtnetlink.c:6612 1 lock held by syz-executor.2/24227: #0: ffffffff8f379fc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f379fc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x82c/0x1040 net/core/rtnetlink.c:6612 1 lock held by syz-executor.3/24731: #0: ffffffff8f379fc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f379fc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x82c/0x1040 net/core/rtnetlink.c:6612 1 lock held by syz-executor.2/25636: #0: ffffffff8f379fc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f379fc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x82c/0x1040 net/core/rtnetlink.c:6612 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc2-next-20240202-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2e0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfb0/0xff0 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5114 Comm: syz-executor.1 Not tainted 6.8.0-rc2-next-20240202-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:check_wait_context kernel/locking/lockdep.c:4787 [inline] RIP: 0010:__lock_acquire+0x6ee/0x1fd0 kernel/locking/lockdep.c:5087 Code: 0f 85 a0 11 00 00 41 f6 47 01 80 0f 85 21 04 00 00 84 db 40 0f b6 c5 0f b6 cb 0f 44 c8 89 4c 24 5c 48 8b 44 24 40 0f b6 04 10 <84> c0 0f 85 1f 13 00 00 48 8b 04 24 8b 28 41 89 ec ff cd 0f 88 a5 RSP: 0018:ffffc900035ef050 EFLAGS: 00000002 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffff88807b15c6d8 RDI: ffffffff92ca3420 RBP: 0000000000000002 R08: ffffffff92ca3427 R09: 1ffffffff2594684 R10: dffffc0000000000 R11: fffffbfff2594685 R12: 0000000000000000 R13: ffff88807b15bc00 R14: 1ffff1100f62b902 R15: ffff88807b15c810 FS: 0000555555579480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2c0d2d56c6 CR3: 0000000015f0c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1e4/0x530 kernel/locking/lockdep.c:5754 rcu_lock_acquire include/linux/rcupdate.h:298 [inline] rcu_read_lock_sched include/linux/rcupdate.h:842 [inline] pfn_valid+0x113/0x440 include/linux/mmzone.h:2016 page_table_check_set+0x25/0x700 mm/page_table_check.c:105 __page_table_check_ptes_set+0x220/0x280 mm/page_table_check.c:196 page_table_check_ptes_set include/linux/page_table_check.h:74 [inline] set_ptes include/linux/pgtable.h:241 [inline] copy_present_pte mm/memory.c:993 [inline] copy_pte_range mm/memory.c:1102 [inline] copy_pmd_range mm/memory.c:1187 [inline] copy_pud_range mm/memory.c:1224 [inline] copy_p4d_range mm/memory.c:1248 [inline] copy_page_range+0x2d6e/0x4470 mm/memory.c:1346 dup_mmap kernel/fork.c:746 [inline] dup_mm kernel/fork.c:1686 [inline] copy_mm+0x12f5/0x21b0 kernel/fork.c:1735 copy_process+0x1844/0x3db0 kernel/fork.c:2519 kernel_clone+0x21e/0x8d0 kernel/fork.c:2924 __do_sys_clone kernel/fork.c:3067 [inline] __se_sys_clone kernel/fork.c:3051 [inline] __x64_sys_clone+0x258/0x2a0 kernel/fork.c:3051 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f2c0c67add3 Code: 1f 84 00 00 00 00 00 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 89 c2 85 c0 75 2c 64 48 8b 04 25 10 00 00 RSP: 002b:00007fff8135cde8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f2c0c67add3 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000555555579750 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001