rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 0-.... } 2677 jiffies s: 22901 root: 0x1/. rcu: blocking rcu_node structures (internal RCU debug): Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 7858 Comm: syz-executor Not tainted 6.10.0-rc6-next-20240703-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:io_serial_in+0x76/0xb0 drivers/tty/serial/8250/8250_port.c:406 Code: 10 ce 53 fc 89 e9 41 d3 e6 48 83 c3 40 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 01 99 ba fc 44 03 33 44 89 f2 ec <0f> b6 c0 5b 41 5e 41 5f 5d c3 cc cc cc cc 89 e9 80 e1 07 38 c1 7c RSP: 0018:ffffc90008e56578 EFLAGS: 00000002 RAX: 1ffffffff2964160 RBX: ffffffff94b20900 RCX: 0000000000000000 RDX: 00000000000003fd RSI: 0000000000000000 RDI: 0000000000000020 RBP: 0000000000000000 R08: ffffffff853fb5c6 R09: 1ffff11003fd3046 R10: dffffc0000000000 R11: ffffffff853fb580 R12: dffffc0000000000 R13: ffffffff94834ba0 R14: 00000000000003fd R15: dffffc0000000000 FS: 0000555573046500(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdd291e7a44 CR3: 00000000210e4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: serial_in drivers/tty/serial/8250/8250.h:137 [inline] serial_lsr_in drivers/tty/serial/8250/8250.h:159 [inline] wait_for_lsr drivers/tty/serial/8250/8250_port.c:2068 [inline] serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3315 [inline] serial8250_console_write+0x12ab/0x1ed0 drivers/tty/serial/8250/8250_port.c:3393 console_emit_next_record kernel/printk/printk.c:2960 [inline] console_flush_all+0x880/0xf50 kernel/printk/printk.c:3032 console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3103 vprintk_emit+0x7a1/0x900 kernel/printk/printk.c:2423 _printk+0xd5/0x120 kernel/printk/printk.c:2450 f2fs_printk+0x3e1/0x470 f2fs_write_end_io+0x62c/0x880 fs/f2fs/data.c:353 __submit_merged_bio+0x28c/0x700 fs/f2fs/data.c:541 __f2fs_submit_merged_write fs/f2fs/data.c:637 [inline] __submit_merged_write_cond fs/f2fs/data.c:659 [inline] f2fs_submit_merged_write_cond+0x28a/0x360 fs/f2fs/data.c:676 f2fs_write_cache_pages fs/f2fs/data.c:3232 [inline] __f2fs_write_data_pages fs/f2fs/data.c:3317 [inline] f2fs_write_data_pages+0x304d/0x3a90 fs/f2fs/data.c:3344 do_writepages+0x35d/0x870 mm/page-writeback.c:2683 filemap_fdatawrite_wbc+0x125/0x180 mm/filemap.c:397 __filemap_fdatawrite_range mm/filemap.c:430 [inline] __filemap_fdatawrite mm/filemap.c:436 [inline] filemap_fdatawrite+0xfb/0x160 mm/filemap.c:441 f2fs_sync_dirty_inodes+0x348/0x870 fs/f2fs/checkpoint.c:1123 block_operations fs/f2fs/checkpoint.c:1256 [inline] f2fs_write_checkpoint+0x84c/0x1bf0 fs/f2fs/checkpoint.c:1665 kill_f2fs_super+0x27d/0x690 fs/f2fs/super.c:4902 deactivate_locked_super+0xc4/0x130 fs/super.c:473 cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1372 task_work_run+0x24f/0x310 kernel/task_work.c:204 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8cb6976f07 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffe1048c078 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f8cb6976f07 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe1048c130 RBP: 00007ffe1048c130 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe1048d1f0 R13: 00007f8cb69e3515 R14: 0000000000073e2e R15: 0000000000073281 DEBUG: waiting rtnl_mutex for 3080 jiffies. task:kworker/u8:2 state:D stack:19856 pid:35 tgid:35 ppid:2 flags:0x00004000 Workqueue: ipv6_addrconf addrconf_verify_work Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4733 process_one_work kernel/workqueue.c:3224 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3305 worker_thread+0x86d/0xd40 kernel/workqueue.c:3383 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 DEBUG: holding rtnl_mutex for 3212 jiffies. task:kworker/u8:4 state:D stack:20456 pid:63 tgid:63 ppid:2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 synchronize_rcu_expedited+0x684/0x830 kernel/rcu/tree_exp.h:995 synchronize_rcu+0x11b/0x360 kernel/rcu/tree.c:3989 lockdep_unregister_key+0x556/0x610 kernel/locking/lockdep.c:6557 __qdisc_destroy+0x165/0x410 net/sched/sch_generic.c:1079 netdev_for_each_tx_queue include/linux/netdevice.h:2512 [inline] dev_shutdown+0x9b/0x440 net/sched/sch_generic.c:1490 unregister_netdevice_many_notify+0x9c7/0x1d20 net/core/dev.c:11346 unregister_netdevice_many net/core/dev.c:11418 [inline] default_device_exit_batch+0xa0f/0xa90 net/core/dev.c:11901 ops_exit_list net/core/net_namespace.c:178 [inline] cleanup_net+0x89d/0xcc0 net/core/net_namespace.c:640 process_one_work kernel/workqueue.c:3224 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3305 worker_thread+0x86d/0xd40 kernel/workqueue.c:3383 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 DEBUG: waiting rtnl_mutex for 3212 jiffies. task:syz.3.1694 state:D stack:25744 pid:10533 tgid:10525 ppid:8620 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16449 genl_family_rcv_msg_doit net/netlink/genetlink.c:1110 [inline] genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0xaaa/0xec0 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f0/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2597 ___sys_sendmsg net/socket.c:2651 [inline] __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2680 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9407d75bd9 RSP: 002b:00007f94077de048 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f9407f04038 RCX: 00007f9407d75bd9 RDX: 0000000000000000 RSI: 0000000020000400 RDI: 0000000000000006 RBP: 00007f9407de4e60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f9407f04038 R15: 00007ffe50b253e8 DEBUG: waiting rtnl_mutex for 3210 jiffies. task:syz-executor state:D stack:21024 pid:10440 tgid:10440 ppid:10416 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnl_lock net/core/rtnetlink.c:149 [inline] rtnetlink_rcv_msg+0x847/0x1180 net/core/rtnetlink.c:6725 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f0/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 __sys_sendto+0x3a4/0x4f0 net/socket.c:2204 __do_sys_sendto net/socket.c:2216 [inline] __se_sys_sendto net/socket.c:2212 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2212 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3fb4d7796c RSP: 002b:00007ffc7166f7a0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f3fb5a34620 RCX: 00007f3fb4d7796c RDX: 000000000000003c RSI: 00007f3fb5a34670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffc7166f7f4 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f3fb5a34670 R15: 0000000000000000 DEBUG: waiting rtnl_mutex for 3207 jiffies. task:kworker/0:5 state:D stack:21008 pid:5151 tgid:5151 ppid:2 flags:0x00004000 Workqueue: events linkwatch_event Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749 __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:276 process_one_work kernel/workqueue.c:3224 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3305 worker_thread+0x86d/0xd40 kernel/workqueue.c:3383 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 DEBUG: waiting rtnl_mutex for 3202 jiffies. task:syz.3.1694 state:D stack:25632 pid:10527 tgid:10525 ppid:8620 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16449 genl_family_rcv_msg_doit net/netlink/genetlink.c:1110 [inline] genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0xaaa/0xec0 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f0/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2597 ___sys_sendmsg net/socket.c:2651 [inline] __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2680 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9407d75bd9 RSP: 002b:00007f94077ff048 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f9407f03f60 RCX: 00007f9407d75bd9 RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000008 RBP: 00007f9407de4e60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9407f03f60 R15: 00007ffe50b253e8 DEBUG: waiting rtnl_mutex for 3172 jiffies. task:syz.1.1698 state:D stack:23800 pid:10541 tgid:10540 ppid:9058 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 bpf_xdp_link_attach+0x112/0x700 net/core/dev.c:9726 link_create+0x47c/0x8b0 kernel/bpf/syscall.c:5295 __sys_bpf+0x4bc/0x810 kernel/bpf/syscall.c:5780 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f165e575bd9 RSP: 002b:00007f165dfff048 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f165e703f60 RCX: 00007f165e575bd9 RDX: 0000000000000040 RSI: 0000000020000240 RDI: 000000000000001c RBP: 00007f165e5e4e60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f165e703f60 R15: 00007ffd454cebc8 Showing all locks held in the system: 3 locks held by kworker/u8:2/35: #0: ffff88802a14d148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff88802a14d148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc90000ab7d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc90000ab7d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4733 3 locks held by kworker/u8:3/53: 5 locks held by kworker/u8:4/63: #0: ffff888015edd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff888015edd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc900015e7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc900015e7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5f2c10 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594 #3: ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0xe9/0xa90 net/core/dev.c:11887 #4: ffffffff8e33ac38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #4: ffffffff8e33ac38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:980 5 locks held by kworker/u8:5/995: #0: ffff8880182fb948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff8880182fb948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc90004167d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc90004167d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffff888050e500e0 (&type->s_umount_key#60){++++}-{3:3}, at: super_trylock_shared+0x22/0xf0 fs/super.c:562 #3: ffff8880653f0100 (&ni->ni_lock#2){+.+.}-{3:3}, at: ni_trylock fs/ntfs3/ntfs_fs.h:1130 [inline] #3: ffff8880653f0100 (&ni->ni_lock#2){+.+.}-{3:3}, at: ni_write_inode+0x1bc/0x1010 fs/ntfs3/frecord.c:3333 #4: ffff8880653f51c8 (&ni->ni_lock#2){+.+.}-{3:3}, at: ni_trylock fs/ntfs3/ntfs_fs.h:1130 [inline] #4: ffff8880653f51c8 (&ni->ni_lock#2){+.+.}-{3:3}, at: ni_update_parent+0x9d2/0xdd0 fs/ntfs3/frecord.c:3298 3 locks held by kworker/u8:6/1105: 3 locks held by kworker/u8:7/1109: 3 locks held by kworker/u8:8/2838: 3 locks held by kworker/u8:9/3938: 2 locks held by getty/4850: #0: ffff88802acf90a0 (&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:2211 2 locks held by kworker/1:3/5099: 2 locks held by kworker/1:4/5146: 3 locks held by kworker/0:5/5151: #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc90004027d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc90004027d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 2 locks held by kworker/1:5/5154: 3 locks held by kworker/u8:10/5294: 3 locks held by kworker/u8:11/5295: 3 locks held by kworker/u8:12/5296: 1 lock held by syz.0.294/6124: 1 lock held by syz.4.492/6731: 7 locks held by syz-executor/7858: #0: ffff88802d90a0e0 (&type->s_umount_key#123){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88802d90a0e0 (&type->s_umount_key#123){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88802d90a0e0 (&type->s_umount_key#123){+.+.}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffff88806ce80310 (&sbi->cp_global_sem){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2171 [inline] #1: ffff88806ce80310 (&sbi->cp_global_sem){+.+.}-{3:3}, at: f2fs_write_checkpoint+0x22b/0x1bf0 fs/f2fs/checkpoint.c:1652 #2: ffff88805dcdd168 (&io->io_rwsem){++++}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2171 [inline] #2: ffff88805dcdd168 (&io->io_rwsem){++++}-{3:3}, at: __f2fs_submit_merged_write fs/f2fs/data.c:625 [inline] #2: ffff88805dcdd168 (&io->io_rwsem){++++}-{3:3}, at: __submit_merged_write_cond fs/f2fs/data.c:659 [inline] #2: ffff88805dcdd168 (&io->io_rwsem){++++}-{3:3}, at: f2fs_submit_merged_write_cond+0x131/0x360 fs/f2fs/data.c:676 #3: ffffffff8e2110a0 (console_lock){+.+.}-{0:0}, at: console_trylock_spinning kernel/printk/printk.c:2021 [inline] #3: ffffffff8e2110a0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x4ed/0x900 kernel/printk/printk.c:2422 #4: ffffffff8e210cb0 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:338 [inline] #4: ffffffff8e210cb0 (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:267 [inline] #4: ffffffff8e210cb0 (console_srcu){....}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:287 [inline] #4: ffffffff8e210cb0 (console_srcu){....}-{0:0}, at: console_flush_all+0x147/0xf50 kernel/printk/printk.c:3018 #5: ffffc90000007c00 (net/core/rtnetlink.c:83){+.-.}-{0:0}, at: call_timer_fn+0xc0/0x650 kernel/time/timer.c:1789 #6: ffffffff8e335860 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline] #6: ffffffff8e335860 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline] #6: ffffffff8e335860 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6704 1 lock held by syz-executor/10440: #0: ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:149 [inline] #0: ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x847/0x1180 net/core/rtnetlink.c:6725 2 locks held by syz.3.1694/10527: #0: ffffffff8f668fb0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16449 2 locks held by syz.3.1694/10533: #0: ffffffff8f668fb0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16449 1 lock held by syz.1.1698/10541: #0: ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}, at: bpf_xdp_link_attach+0x112/0x700 net/core/dev.c:9726 3 locks held by kworker/u8:0/10564: 3 locks held by syz-executor/10566: ============================================= DEBUG: waiting rtnl_mutex for 3184 jiffies. task:kworker/u8:2 state:D stack:19856 pid:35 tgid:35 ppid:2 flags:0x00004000 Workqueue: ipv6_addrconf addrconf_verify_work Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4733 process_one_work kernel/workqueue.c:3224 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3305 worker_thread+0x86d/0xd40 kernel/workqueue.c:3383 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 DEBUG: holding rtnl_mutex for 3316 jiffies. task:kworker/u8:4 state:D stack:20456 pid:63 tgid:63 ppid:2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 synchronize_rcu_expedited+0x684/0x830 kernel/rcu/tree_exp.h:995 synchronize_rcu+0x11b/0x360 kernel/rcu/tree.c:3989 lockdep_unregister_key+0x556/0x610 kernel/locking/lockdep.c:6557 __qdisc_destroy+0x165/0x410 net/sched/sch_generic.c:1079 netdev_for_each_tx_queue include/linux/netdevice.h:2512 [inline] dev_shutdown+0x9b/0x440 net/sched/sch_generic.c:1490 unregister_netdevice_many_notify+0x9c7/0x1d20 net/core/dev.c:11346 unregister_netdevice_many net/core/dev.c:11418 [inline] default_device_exit_batch+0xa0f/0xa90 net/core/dev.c:11901 ops_exit_list net/core/net_namespace.c:178 [inline] cleanup_net+0x89d/0xcc0 net/core/net_namespace.c:640 process_one_work kernel/workqueue.c:3224 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3305 worker_thread+0x86d/0xd40 kernel/workqueue.c:3383 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 DEBUG: waiting rtnl_mutex for 3316 jiffies. task:syz.3.1694 state:D stack:25744 pid:10533 tgid:10525 ppid:8620 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16449 genl_family_rcv_msg_doit net/netlink/genetlink.c:1110 [inline] genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0xaaa/0xec0 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f0/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2597 ___sys_sendmsg net/socket.c:2651 [inline] __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2680 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9407d75bd9 RSP: 002b:00007f94077de048 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f9407f04038 RCX: 00007f9407d75bd9 RDX: 0000000000000000 RSI: 0000000020000400 RDI: 0000000000000006 RBP: 00007f9407de4e60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f9407f04038 R15: 00007ffe50b253e8 DEBUG: waiting rtnl_mutex for 3314 jiffies. task:syz-executor state:D stack:21024 pid:10440 tgid:10440 ppid:10416 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnl_lock net/core/rtnetlink.c:149 [inline] rtnetlink_rcv_msg+0x847/0x1180 net/core/rtnetlink.c:6725 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f0/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 __sys_sendto+0x3a4/0x4f0 net/socket.c:2204 __do_sys_sendto net/socket.c:2216 [inline] __se_sys_sendto net/socket.c:2212 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2212 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3fb4d7796c RSP: 002b:00007ffc7166f7a0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f3fb5a34620 RCX: 00007f3fb4d7796c RDX: 000000000000003c RSI: 00007f3fb5a34670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffc7166f7f4 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f3fb5a34670 R15: 0000000000000000 DEBUG: waiting rtnl_mutex for 3311 jiffies. task:kworker/0:5 state:D stack:21008 pid:5151 tgid:5151 ppid:2 flags:0x00004000 Workqueue: events linkwatch_event Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749 __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:276 process_one_work kernel/workqueue.c:3224 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3305 worker_thread+0x86d/0xd40 kernel/workqueue.c:3383 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 DEBUG: waiting rtnl_mutex for 3306 jiffies. task:syz.3.1694 state:D stack:25632 pid:10527 tgid:10525 ppid:8620 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16449 genl_family_rcv_msg_doit net/netlink/genetlink.c:1110 [inline] genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0xaaa/0xec0 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f0/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2597 ___sys_sendmsg net/socket.c:2651 [inline] __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2680 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9407d75bd9 RSP: 002b:00007f94077ff048 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f9407f03f60 RCX: 00007f9407d75bd9 RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000008 RBP: 00007f9407de4e60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9407f03f60 R15: 00007ffe50b253e8 DEBUG: waiting rtnl_mutex for 3275 jiffies. task:syz.1.1698 state:D stack:23800 pid:10541 tgid:10540 ppid:9058 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 bpf_xdp_link_attach+0x112/0x700 net/core/dev.c:9726 link_create+0x47c/0x8b0 kernel/bpf/syscall.c:5295 __sys_bpf+0x4bc/0x810 kernel/bpf/syscall.c:5780 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f165e575bd9 RSP: 002b:00007f165dfff048 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f165e703f60 RCX: 00007f165e575bd9 RDX: 0000000000000040 RSI: 0000000020000240 RDI: 000000000000001c RBP: 00007f165e5e4e60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f165e703f60 R15: 00007ffd454cebc8 Showing all locks held in the system: 3 locks held by kworker/u8:2/35: #0: ffff88802a14d148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff88802a14d148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc90000ab7d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc90000ab7d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4733 3 locks held by kworker/u8:3/53: 5 locks held by kworker/u8:4/63: #0: ffff888015edd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff888015edd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc900015e7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc900015e7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5f2c10 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594 #3: ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0xe9/0xa90 net/core/dev.c:11887 #4: ffffffff8e33ac38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #4: ffffffff8e33ac38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:980 5 locks held by kworker/u8:5/995: #0: ffff8880182fb948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff8880182fb948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc90004167d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc90004167d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffff888050e500e0 (&type->s_umount_key#60){++++}-{3:3}, at: super_trylock_shared+0x22/0xf0 fs/super.c:562 #3: ffff8880653f0100 (&ni->ni_lock#2){+.+.}-{3:3}, at: ni_trylock fs/ntfs3/ntfs_fs.h:1130 [inline] #3: ffff8880653f0100 (&ni->ni_lock#2){+.+.}-{3:3}, at: ni_write_inode+0x1bc/0x1010 fs/ntfs3/frecord.c:3333 #4: ffff8880653f51c8 (&ni->ni_lock#2){+.+.}-{3:3}, at: ni_trylock fs/ntfs3/ntfs_fs.h:1130 [inline] #4: ffff8880653f51c8 (&ni->ni_lock#2){+.+.}-{3:3}, at: ni_update_parent+0x9d2/0xdd0 fs/ntfs3/frecord.c:3298 3 locks held by kworker/u8:6/1105: 3 locks held by kworker/u8:7/1109: 3 locks held by kworker/u8:8/2838: 3 locks held by kworker/u8:9/3938: 2 locks held by getty/4850: #0: ffff88802acf90a0 (&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:2211 2 locks held by kworker/1:3/5099: 2 locks held by kworker/1:4/5146: 3 locks held by kworker/0:5/5151: #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc90004027d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc90004027d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 2 locks held by kworker/1:5/5154: 3 locks held by kworker/u8:10/5294: 3 locks held by kworker/u8:11/5295: 3 locks held by kworker/u8:12/5296: 1 lock held by syz.0.294/6124: 1 lock held by syz.4.492/6731: 7 locks held by syz-executor/7858: #0: ffff88802d90a0e0 (&type->s_umount_key#123){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88802d90a0e0 (&type->s_umount_key#123){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88802d90a0e0 (&type->s_umount_key#123){+.+.}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffff88806ce80310 (&sbi->cp_global_sem){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2171 [inline] #1: ffff88806ce80310 (&sbi->cp_global_sem){+.+.}-{3:3}, at: f2fs_write_checkpoint+0x22b/0x1bf0 fs/f2fs/checkpoint.c:1652 #2: ffff88805dcdd168 (&io->io_rwsem){++++}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2171 [inline] #2: ffff88805dcdd168 (&io->io_rwsem){++++}-{3:3}, at: __f2fs_submit_merged_write fs/f2fs/data.c:625 [inline] #2: ffff88805dcdd168 (&io->io_rwsem){++++}-{3:3}, at: __submit_merged_write_cond fs/f2fs/data.c:659 [inline] #2: ffff88805dcdd168 (&io->io_rwsem){++++}-{3:3}, at: f2fs_submit_merged_write_cond+0x131/0x360 fs/f2fs/data.c:676 #3: ffffffff8e2110a0 (console_lock){+.+.}-{0:0}, at: console_trylock_spinning kernel/printk/printk.c:2021 [inline] #3: ffffffff8e2110a0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x4ed/0x900 kernel/printk/printk.c:2422 #4: ffffffff8e210cb0 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:338 [inline] #4: ffffffff8e210cb0 (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:267 [inline] #4: ffffffff8e210cb0 (console_srcu){....}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:287 [inline] #4: ffffffff8e210cb0 (console_srcu){....}-{0:0}, at: console_flush_all+0x147/0xf50 kernel/printk/printk.c:3018 #5: ffffc90000007c00 (net/core/rtnetlink.c:83){+.-.}-{0:0}, at: call_timer_fn+0xc0/0x650 kernel/time/timer.c:1789 #6: ffffffff8e335860 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline] #6: ffffffff8e335860 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline] #6: ffffffff8e335860 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6704 1 lock held by syz-executor/10440: #0: ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:149 [inline] #0: ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x847/0x1180 net/core/rtnetlink.c:6725 2 locks held by syz.3.1694/10527: #0: ffffffff8f668fb0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16449 2 locks held by syz.3.1694/10533: #0: ffffffff8f668fb0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16449 1 lock held by syz.1.1698/10541: #0: ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}, at: bpf_xdp_link_attach+0x112/0x700 net/core/dev.c:9726 3 locks held by kworker/u8:0/10564: 3 locks held by syz-executor/10566: ============================================= DEBUG: waiting rtnl_mutex for 3288 jiffies. task:kworker/u8:2 state:D rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 0-.... } 2628 jiffies s: 22909 root: 0x1/. rcu: blocking rcu_node structures (internal RCU debug): Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 6124 Comm: syz.0.294 Not tainted 6.10.0-rc6-next-20240703-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:delay_tsc+0x5c/0xe0 arch/x86/lib/delay.c:79 Code: 90 48 89 d5 48 c1 e5 20 48 09 c5 48 29 dd 4c 39 f5 73 67 bf 01 00 00 00 e8 f1 52 d5 f5 65 8b 05 02 93 76 74 85 c0 74 2f f3 90 01 00 00 00 e8 3a 51 d5 f5 e8 05 f7 03 00 41 39 c7 75 20 0f 01 RSP: 0018:ffffc90000007378 EFLAGS: 00000006 RAX: 0000000000000103 RBX: 000001123f3d4846 RCX: 0000000000000104 RDX: 0000000000000112 RSI: ffffffff8c207f00 RDI: 0000000000000001 RBP: 0000000000000641 R08: ffffffff853f8724 R09: 1ffff11003fd3046 R10: dffffc0000000000 R11: ffffffff8b8d43f0 R12: dffffc0000000000 R13: ffffffff94834bf0 R14: 0000000000000899 R15: 0000000000000000 FS: 00007fac0bd726c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdd2cdbeff8 CR3: 000000002b6d6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: wait_for_lsr drivers/tty/serial/8250/8250_port.c:2074 [inline] serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3315 [inline] serial8250_console_write+0x1328/0x1ed0 drivers/tty/serial/8250/8250_port.c:3393 console_emit_next_record kernel/printk/printk.c:2960 [inline] console_flush_all+0x880/0xf50 kernel/printk/printk.c:3032 console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3103 vprintk_emit+0x7a1/0x900 kernel/printk/printk.c:2423 _printk+0xd5/0x120 kernel/printk/printk.c:2450 sched_show_task+0x268/0x6d0 kernel/sched/core.c:7490 report_rtnl_holders+0x320/0x3f0 net/core/rtnetlink.c:110 call_timer_fn+0x18e/0x650 kernel/time/timer.c:1792 expire_timers kernel/time/timer.c:1843 [inline] __run_timers kernel/time/timer.c:2417 [inline] __run_timer_base+0x66a/0x8e0 kernel/time/timer.c:2428 run_timer_base kernel/time/timer.c:2437 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2447 handle_softirqs+0x2c4/0x970 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5820 Code: 2b 00 74 08 4c 89 f7 e8 aa e6 8a 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc9000310f9a0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000621f40 RCX: 0882a4b8e3ca3300 RDX: dffffc0000000000 RSI: ffffffff8bcada80 RDI: ffffffff8c207f20 RBP: ffffc9000310fb00 R08: ffffffff9301088f R09: 1ffffffff2602111 R10: dffffc0000000000 R11: fffffbfff2602112 R12: 1ffff92000621f3c R13: dffffc0000000000 R14: ffffc9000310fa00 R15: 0000000000000246 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] io_eventfd_flush_signal+0x2f/0x120 io_uring/eventfd.c:88 io_commit_cqring_flush io_uring/io_uring.h:361 [inline] io_cq_unlock_post io_uring/io_uring.c:596 [inline] __io_cqring_overflow_flush+0x590/0x690 io_uring/io_uring.c:633 io_cqring_do_overflow_flush io_uring/io_uring.c:645 [inline] io_cqring_wait io_uring/io_uring.c:2484 [inline] __do_sys_io_uring_enter io_uring/io_uring.c:3250 [inline] __se_sys_io_uring_enter+0x1b76/0x2670 io_uring/io_uring.c:3142 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fac0af75bd9 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fac0bd72048 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007fac0b103f60 RCX: 00007fac0af75bd9 RDX: 0000000000400000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fac0afe4e60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fac0b103f60 R15: 00007ffd1918de18 stack:19856 pid:35 tgid:35 ppid:2 flags:0x00004000 Workqueue: ipv6_addrconf addrconf_verify_work Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4733 process_one_work kernel/workqueue.c:3224 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3305 worker_thread+0x86d/0xd40 kernel/workqueue.c:3383 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 DEBUG: waiting rtnl_mutex for 2894 jiffies. task:kworker/0:1 state:D stack:21784 pid:9 tgid:9 ppid:2 flags:0x00004000 Workqueue: events_power_efficient reg_check_chans_work Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 reg_check_chans_work+0x99/0xfd0 net/wireless/reg.c:2480 process_one_work kernel/workqueue.c:3224 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3305 worker_thread+0x86d/0xd40 kernel/workqueue.c:3383 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 DEBUG: holding rtnl_mutex for 6254 jiffies. task:kworker/u8:4 state:D stack:20456 pid:63 tgid:63 ppid:2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 synchronize_rcu_expedited+0x684/0x830 kernel/rcu/tree_exp.h:995 synchronize_rcu+0x11b/0x360 kernel/rcu/tree.c:3989 lockdep_unregister_key+0x556/0x610 kernel/locking/lockdep.c:6557 __qdisc_destroy+0x165/0x410 net/sched/sch_generic.c:1079 netdev_for_each_tx_queue include/linux/netdevice.h:2512 [inline] dev_shutdown+0x9b/0x440 net/sched/sch_generic.c:1490 unregister_netdevice_many_notify+0x9c7/0x1d20 net/core/dev.c:11346 unregister_netdevice_many net/core/dev.c:11418 [inline] default_device_exit_batch+0xa0f/0xa90 net/core/dev.c:11901 ops_exit_list net/core/net_namespace.c:178 [inline] cleanup_net+0x89d/0xcc0 net/core/net_namespace.c:640 process_one_work kernel/workqueue.c:3224 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3305 worker_thread+0x86d/0xd40 kernel/workqueue.c:3383 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 DEBUG: waiting rtnl_mutex for 6282 jiffies. task:syz.3.1694 state:D stack:25744 pid:10533 tgid:10525 ppid:8620 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16449 genl_family_rcv_msg_doit net/netlink/genetlink.c:1110 [inline] genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0xaaa/0xec0 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f0/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2597 ___sys_sendmsg net/socket.c:2651 [inline] __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2680 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9407d75bd9 RSP: 002b:00007f94077de048 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f9407f04038 RCX: 00007f9407d75bd9 RDX: 0000000000000000 RSI: 0000000020000400 RDI: 0000000000000006 RBP: 00007f9407de4e60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f9407f04038 R15: 00007ffe50b253e8 DEBUG: waiting rtnl_mutex for 6313 jiffies. task:syz-executor state:D stack:21024 pid:10440 tgid:10440 ppid:10416 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnl_lock net/core/rtnetlink.c:149 [inline] rtnetlink_rcv_msg+0x847/0x1180 net/core/rtnetlink.c:6725 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f0/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 __sys_sendto+0x3a4/0x4f0 net/socket.c:2204 __do_sys_sendto net/socket.c:2216 [inline] __se_sys_sendto net/socket.c:2212 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2212 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3fb4d7796c RSP: 002b:00007ffc7166f7a0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f3fb5a34620 RCX: 00007f3fb4d7796c RDX: 000000000000003c RSI: 00007f3fb5a34670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffc7166f7f4 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f3fb5a34670 R15: 0000000000000000 DEBUG: waiting rtnl_mutex for 6343 jiffies. task:kworker/0:5 state:D stack:21008 pid:5151 tgid:5151 ppid:2 flags:0x00004000 Workqueue: events linkwatch_event Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749 __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:276 process_one_work kernel/workqueue.c:3224 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3305 worker_thread+0x86d/0xd40 kernel/workqueue.c:3383 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 DEBUG: waiting rtnl_mutex for 6356 jiffies. task:syz.3.1694 state:D stack:25632 pid:10527 tgid:10525 ppid:8620 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16449 genl_family_rcv_msg_doit net/netlink/genetlink.c:1110 [inline] genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0xaaa/0xec0 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f0/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2597 ___sys_sendmsg net/socket.c:2651 [inline] __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2680 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9407d75bd9 RSP: 002b:00007f94077ff048 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f9407f03f60 RCX: 00007f9407d75bd9 RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000008 RBP: 00007f9407de4e60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9407f03f60 R15: 00007ffe50b253e8 DEBUG: waiting rtnl_mutex for 6359 jiffies. task:syz.1.1698 state:D stack:23800 pid:10541 tgid:10540 ppid:9058 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 bpf_xdp_link_attach+0x112/0x700 net/core/dev.c:9726 link_create+0x47c/0x8b0 kernel/bpf/syscall.c:5295 __sys_bpf+0x4bc/0x810 kernel/bpf/syscall.c:5780 __do_sys_bpf kernel/bpf/syscall.c:5817 [inline] __se_sys_bpf kernel/bpf/syscall.c:5815 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5815 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f165e575bd9 RSP: 002b:00007f165dfff048 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f165e703f60 RCX: 00007f165e575bd9 RDX: 0000000000000040 RSI: 0000000020000240 RDI: 000000000000001c RBP: 00007f165e5e4e60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f165e703f60 R15: 00007ffd454cebc8 Showing all locks held in the system: 3 locks held by kworker/0:1/9: #0: ffff888015081948 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff888015081948 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc900000e7d00 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc900000e7d00 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x99/0xfd0 net/wireless/reg.c:2480 3 locks held by kworker/u8:2/35: #0: ffff88802a14d148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff88802a14d148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc90000ab7d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc90000ab7d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4733 5 locks held by kworker/u8:4/63: #0: ffff888015edd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff888015edd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc900015e7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc900015e7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5f2c10 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594 #3: ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0xe9/0xa90 net/core/dev.c:11887 #4: ffffffff8e33ac38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #4: ffffffff8e33ac38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:980 2 locks held by getty/4850: #0: ffff88802acf90a0 (&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:2211 3 locks held by kworker/u9:7/5113: #0: ffff88807f9c9948 ((wq_completion)hci1){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff88807f9c9948 ((wq_completion)hci1){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc9000399fd00 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc9000399fd00 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffff88806a164d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:322 3 locks held by kworker/0:5/5151: #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc90004027d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc90004027d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 4 locks held by syz.0.294/6124: #0: ffff88802e32e0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_cqring_do_overflow_flush io_uring/io_uring.c:644 [inline] #0: ffff88802e32e0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_cqring_wait io_uring/io_uring.c:2484 [inline] #0: ffff88802e32e0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: __do_sys_io_uring_enter io_uring/io_uring.c:3250 [inline] #0: ffff88802e32e0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: __se_sys_io_uring_enter+0x1b6a/0x2670 io_uring/io_uring.c:3142 #1: ffff88802e32e3d8 (&ctx->completion_lock){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline] #1: ffff88802e32e3d8 (&ctx->completion_lock){+.+.}-{2:2}, at: io_eventfd_flush_signal+0x2f/0x120 io_uring/eventfd.c:88 #2: ffffc90000007c00 (net/core/rtnetlink.c:83){+.-.}-{0:0}, at: call_timer_fn+0xc0/0x650 kernel/time/timer.c:1789 #3: ffffffff8e335860 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline] #3: ffffffff8e335860 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline] #3: ffffffff8e335860 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6704 2 locks held by syz-executor/7858: 1 lock held by syz-executor/10440: #0: ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:149 [inline] #0: ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x847/0x1180 net/core/rtnetlink.c:6725 2 locks held by syz.3.1694/10527: #0: ffffffff8f668fb0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16449 2 locks held by syz.3.1694/10533: #0: ffffffff8f668fb0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16449 1 lock held by syz.1.1698/10541: #0: ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}, at: bpf_xdp_link_attach+0x112/0x700 net/core/dev.c:9726 1 lock held by syz-executor/10569: ============================================= DEBUG: waiting rtnl_mutex for 6464 jiffies. task:kworker/u8:2 state:D stack:19856 pid:35 tgid:35 ppid:2 flags:0x00004000 Workqueue: ipv6_addrconf addrconf_verify_work Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600