rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 0-.... } 2643 jiffies s: 255157 root: 0x1/. rcu: blocking rcu_node structures (internal RCU debug): Sending NMI from CPU 1 to CPUs 0: Workqueue: events linkwatch_event NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 16116 Comm: syz-executor.1 Not tainted 6.10.0-rc4-next-20240621-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:pointer+0xfd5/0x1210 lib/vsprintf.c:2507 Code: 00 00 00 00 00 fc ff df 89 de 48 8b 54 24 20 48 8b 4c 24 28 e8 2c 77 00 00 48 c7 44 24 40 0e 36 e0 45 4b c7 04 3c 00 00 00 00 <43> c7 44 3c 08 00 00 00 00 65 48 8b 0c 25 28 00 00 00 48 3b 8c 24 RSP: 0018:ffffc90000007220 EFLAGS: 00000046 RAX: ffffffff947eca83 RBX: ffffffff8bc9f452 RCX: 365baa8d236f8900 RDX: 0000000000000101 RSI: 000000000000000f RDI: 00000000ffffffff RBP: ffffc90000007310 R08: ffffffff8b8753fd R09: ffffc90000006ea0 R10: 0000000000000003 R11: ffff888028ba8000 R12: dffffc0000000000 R13: ffffffff89663c60 R14: 0000000000000073 R15: 1ffff92000000e4c FS: 00007f8d381df6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8d2e5bd000 CR3: 0000000063be2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vsnprintf+0xdb0/0x1da0 lib/vsprintf.c:2828 vscnprintf+0x42/0x90 lib/vsprintf.c:2930 printk_sprint+0x31/0x4b0 kernel/printk/printk.c:2186 vprintk_store+0x984/0x1160 kernel/printk/printk.c:2300 vprintk_emit+0x1de/0x900 kernel/printk/printk.c:2368 _printk+0xd5/0x120 kernel/printk/printk.c:2447 print_worker_info+0x383/0x430 kernel/workqueue.c:6083 sched_show_task+0x558/0x740 kernel/sched/core.c:7500 report_rtnl_holders+0x1ba/0x2d0 net/core/rtnetlink.c:104 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:console_flush_all+0x9f7/0xf50 kernel/printk/printk.c:3048 Code: 20 00 90 0f 0b 90 e9 f3 f9 ff ff e8 33 27 20 00 e8 be 15 1a 0a 4d 85 f6 74 c0 e8 24 27 20 00 fb 49 bd 00 00 00 00 00 fc ff df <43> 80 3c 2f 00 48 8b 5c 24 30 74 08 48 89 df e8 25 8e 86 00 4c 8b RSP: 0018:ffffc900049fece0 EFLAGS: 00000246 RAX: ffffffff817353ac RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000e4a9000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc900049fee70 R08: ffffffff81735353 R09: 1ffffffff25fc8e8 R10: dffffc0000000000 R11: fffffbfff25fc8e9 R12: ffffffff8eb2c0a0 R13: dffffc0000000000 R14: 0000000000000200 R15: 1ffffffff1d6581f console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3118 vprintk_emit+0x7a1/0x900 kernel/printk/printk.c:2420 _printk+0xd5/0x120 kernel/printk/printk.c:2447 set_capacity_and_notify+0x1ae/0x240 block/genhd.c:86 loop_set_size+0x44/0xb0 drivers/block/loop.c:235 loop_configure+0xa9c/0xfa0 drivers/block/loop.c:1113 lo_ioctl+0x8f9/0x2090 blkdev_ioctl+0x580/0x6b0 block/ioctl.c:676 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893 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:0x7f8d3747ce0b Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00 RSP: 002b:00007f8d381dee50 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f8d3747ce0b RDX: 0000000000000003 RSI: 0000000000004c00 RDI: 0000000000000004 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000005535 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 00007f8d381def80 R14: 00007f8d381def40 R15: 00007f8d2d200000 Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __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/0xd50 kernel/workqueue.c:3385 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 DEBUG: waiting rtnl_mutex for 3339 jiffies. task:syz-executor.4 state:D stack:25952 pid:16070 tgid:16063 ppid:13904 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 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_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:0x7f1e7ae7d0a9 RSP: 002b:00007f1e7bc190c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f1e7afb4120 RCX: 00007f1e7ae7d0a9 RDX: 0000000024000800 RSI: 0000000020000200 RDI: 0000000000000005 RBP: 00007f1e7aeec074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f1e7afb4120 R15: 00007fffe35676d8 DEBUG: waiting rtnl_mutex for 2631 jiffies. task:syz-executor.2 state:D stack:27520 pid:16118 tgid:16117 ppid:15249 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 prb_calc_retire_blk_tmo net/packet/af_packet.c:578 [inline] init_prb_bdqc net/packet/af_packet.c:636 [inline] packet_set_ring+0xb7d/0x2450 net/packet/af_packet.c:4464 packet_setsockopt+0x1140/0x1970 net/packet/af_packet.c:3823 do_sock_setsockopt+0x3af/0x720 net/socket.c:2324 __sys_setsockopt+0x1ae/0x250 net/socket.c:2347 __do_sys_setsockopt net/socket.c:2356 [inline] __se_sys_setsockopt net/socket.c:2353 [inline] __x64_sys_setsockopt+0xb5/0xd0 net/socket.c:2353 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:0x7f181447d0a9 RSP: 002b:00007f18152830c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f18145b3f80 RCX: 00007f181447d0a9 RDX: 0000000000000005 RSI: 0000000000000107 RDI: 0000000000000003 RBP: 00007f18144ec074 R08: 000000000000001c R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f18145b3f80 R15: 00007ffd23f47f08 DEBUG: waiting rtnl_mutex for 2625 jiffies. task:kworker/u8:7 state:D stack:21264 pid:2425 tgid:2425 ppid:2 flags:0x00004000 Workqueue: ipv6_addrconf addrconf_verify_work Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __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/0xd50 kernel/workqueue.c:3385 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Showing all locks held in the system: 1 lock held by khugepaged/37: #0: ffffffff8e3ef508 (lock#3){+.+.}-{3:3}, at: __lru_add_drain_all+0x66/0x560 mm/swap.c:856 1 lock held by hwrng/756: #0: ffffffff8eb3dae8 (reading_mutex){+.+.}-{3:3}, at: hwrng_fillfn+0xf0/0x3c0 drivers/char/hw_random/core.c:495 2 locks held by kworker/1:2/927: 3 locks held by kworker/u8:7/2425: #0: ffff88802a1ec148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff88802a1ec148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc90008f6fd00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc90008f6fd00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4733 5 locks held by kworker/u8:9/2458: #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: ffffc90008e9fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc90008e9fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5eb450 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594 #3: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0xe9/0xa90 net/core/dev.c:11796 #4: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #4: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:959 2 locks held by getty/4855: #0: ffff88802abc90a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000311b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211 4 locks held by syz-fuzzer/5205: #0: ffff88802fd20420 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff8880523d97e8 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:830 [inline] #1: ffff8880523d97e8 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: do_rmdir+0x263/0x580 fs/namei.c:4278 #2: ffff8880206335d0 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:795 [inline] #2: ffff8880206335d0 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_rmdir+0x101/0x510 fs/namei.c:4220 #3: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #3: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:959 3 locks held by kworker/1:5/5172: #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: ffffc900041bfd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc900041bfd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 3 locks held by kworker/1:7/6081: #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: ffffc900040cfd00 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc900040cfd00 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x99/0xfd0 net/wireless/reg.c:2480 2 locks held by kworker/u8:11/6337: #0: ffff88801a718948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff88801a718948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc900040ffd00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc900040ffd00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 1 lock held by syz-executor.3/15911: #0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 1 lock held by syz-executor.4/16070: #0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 1 lock held by syz-executor.0/16110: 6 locks held by syz-executor.1/16116: #0: ffff888020078b60 (&lo->lo_mutex){+.+.}-{3:3}, at: loop_global_lock_killable drivers/block/loop.c:120 [inline] #0: ffff888020078b60 (&lo->lo_mutex){+.+.}-{3:3}, at: loop_configure+0x1f9/0xfa0 drivers/block/loop.c:1049 #1: ffffffff8e210f80 (console_lock){+.+.}-{0:0}, at: console_trylock_spinning kernel/printk/printk.c:2018 [inline] #1: ffffffff8e210f80 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x4ed/0x900 kernel/printk/printk.c:2419 #2: ffffffff8e210b90 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:338 [inline] #2: ffffffff8e210b90 (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:267 [inline] #2: ffffffff8e210b90 (console_srcu){....}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:287 [inline] #2: ffffffff8e210b90 (console_srcu){....}-{0:0}, at: console_flush_all+0x147/0xf50 kernel/printk/printk.c:3033 #3: ffffc90000007c00 (net/core/rtnetlink.c:82){+.-.}-{0:0}, at: call_timer_fn+0xc0/0x650 kernel/time/timer.c:1789 #4: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline] #4: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline] #4: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: report_rtnl_holders+0x20/0x2d0 net/core/rtnetlink.c:95 #5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline] #5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline] #5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6688 2 locks held by syz-executor.2/16118: #0: ffff88806c66c258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1602 [inline] #0: ffff88806c66c258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_setsockopt+0x754/0x1970 net/packet/af_packet.c:3803 #1: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: prb_calc_retire_blk_tmo net/packet/af_packet.c:578 [inline] #1: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: init_prb_bdqc net/packet/af_packet.c:636 [inline] #1: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: packet_set_ring+0xb7d/0x2450 net/packet/af_packet.c:4464 ============================================= DEBUG: waiting rtnl_mutex for 3558 jiffies. task:syz-executor.3 state:D stack:19728 pid:15911 tgid:15911 ppid:15901 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 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:0x7f7c7227ed9c RSP: 002b:00007ffc5a26b550 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f7c72ee4620 RCX: 00007f7c7227ed9c RDX: 000000000000006c RSI: 00007f7c72ee4670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffc5a26b5a4 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f7c72ee4670 R15: 0000000000000000 DEBUG: holding rtnl_mutex for 3558 jiffies. task:kworker/u8:9 state:D stack:18608 pid:2458 tgid:2458 ppid:2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 synchronize_rcu_expedited+0x684/0x830 kernel/rcu/tree_exp.h:974 synchronize_rcu+0x11b/0x360 kernel/rcu/tree.c:3975 lockdep_unregister_key+0x4b7/0x540 kernel/locking/lockdep.c:6541 __qdisc_destroy+0x165/0x410 net/sched/sch_generic.c:1079 netdev_for_each_tx_queue include/linux/netdevice.h:2504 [inline] dev_shutdown+0x9b/0x440 net/sched/sch_generic.c:1490 unregister_netdevice_many_notify+0x977/0x16b0 net/core/dev.c:11259 unregister_netdevice_many net/core/dev.c:11327 [inline] default_device_exit_batch+0xa0f/0xa90 net/core/dev.c:11810 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/0xd50 kernel/workqueue.c:3385 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 DEBUG: waiting rtnl_mutex for 3544 jiffies. task:kworker/1:5 state:D stack:20920 pid:5172 tgid:5172 ppid:2 flags:0x00004000 Workqueue: events linkwatch_event Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __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/0xd50 kernel/workqueue.c:3385 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 DEBUG: waiting rtnl_mutex for 3442 jiffies. task:syz-executor.4 state:D stack:25952 pid:16070 tgid:16063 ppid:13904 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 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_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:0x7f1e7ae7d0a9 RSP: 002b:00007f1e7bc190c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f1e7afb4120 RCX: 00007f1e7ae7d0a9 RDX: 0000000024000800 RSI: 0000000020000200 RDI: 0000000000000005 RBP: 00007f1e7aeec074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f1e7afb4120 R15: 00007fffe35676d8 DEBUG: waiting rtnl_mutex for 2734 jiffies. task:syz-executor.2 state:D stack:27520 pid:16118 tgid:16117 ppid:15249 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 prb_calc_retire_blk_tmo net/packet/af_packet.c:578 [inline] init_prb_bdqc net/packet/af_packet.c:636 [inline] packet_set_ring+0xb7d/0x2450 net/packet/af_packet.c:4464 packet_setsockopt+0x1140/0x1970 net/packet/af_packet.c:3823 do_sock_setsockopt+0x3af/0x720 net/socket.c:2324 __sys_setsockopt+0x1ae/0x250 net/socket.c:2347 __do_sys_setsockopt net/socket.c:2356 [inline] __se_sys_setsockopt net/socket.c:2353 [inline] __x64_sys_setsockopt+0xb5/0xd0 net/socket.c:2353 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:0x7f181447d0a9 RSP: 002b:00007f18152830c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f18145b3f80 RCX: 00007f181447d0a9 RDX: 0000000000000005 RSI: 0000000000000107 RDI: 0000000000000003 RBP: 00007f18144ec074 R08: 000000000000001c R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f18145b3f80 R15: 00007ffd23f47f08 DEBUG: waiting rtnl_mutex for 2729 jiffies. task:kworker/u8:7 state:D stack:21264 pid:2425 tgid:2425 ppid:2 flags:0x00004000 Workqueue: ipv6_addrconf addrconf_verify_work Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __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/0xd50 kernel/workqueue.c:3385 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Showing all locks held in the system: 1 lock held by khugepaged/37: #0: ffffffff8e3ef508 (lock#3){+.+.}-{3:3}, at: __lru_add_drain_all+0x66/0x560 mm/swap.c:856 1 lock held by hwrng/756: #0: ffffffff8eb3dae8 (reading_mutex){+.+.}-{3:3}, at: hwrng_fillfn+0xf0/0x3c0 drivers/char/hw_random/core.c:495 2 locks held by kworker/1:2/927: 3 locks held by kworker/u8:7/2425: #0: ffff88802a1ec148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff88802a1ec148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc90008f6fd00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc90008f6fd00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4733 5 locks held by kworker/u8:9/2458: #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: ffffc90008e9fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc90008e9fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5eb450 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594 #3: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0xe9/0xa90 net/core/dev.c:11796 #4: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #4: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:959 2 locks held by getty/4855: #0: ffff88802abc90a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000311b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211 4 locks held by syz-fuzzer/5205: #0: ffff88802fd20420 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff8880523d97e8 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:830 [inline] #1: ffff8880523d97e8 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: do_rmdir+0x263/0x580 fs/namei.c:4278 #2: ffff8880206335d0 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:795 [inline] #2: ffff8880206335d0 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_rmdir+0x101/0x510 fs/namei.c:4220 #3: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #3: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:959 3 locks held by kworker/1:5/5172: #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: ffffc900041bfd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc900041bfd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 3 locks held by kworker/1:7/6081: #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: ffffc900040cfd00 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc900040cfd00 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x99/0xfd0 net/wireless/reg.c:2480 2 locks held by kworker/u8:11/6337: #0: ffff88801a718948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff88801a718948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc900040ffd00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc900040ffd00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 1 lock held by syz-executor.3/15911: #0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 1 lock held by syz-executor.4/16070: #0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 1 lock held by syz-executor.0/16110: 6 locks held by syz-executor.1/16116: #0: ffff888020078b60 (&lo->lo_mutex){+.+.}-{3:3}, at: loop_global_lock_killable drivers/block/loop.c:120 [inline] #0: ffff888020078b60 (&lo->lo_mutex){+.+.}-{3:3}, at: loop_configure+0x1f9/0xfa0 drivers/block/loop.c:1049 #1: ffffffff8e210f80 (console_lock){+.+.}-{0:0}, at: console_trylock_spinning kernel/printk/printk.c:2018 [inline] #1: ffffffff8e210f80 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x4ed/0x900 kernel/printk/printk.c:2419 #2: ffffffff8e210b90 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:338 [inline] #2: ffffffff8e210b90 (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:267 [inline] #2: ffffffff8e210b90 (console_srcu){....}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:287 [inline] #2: ffffffff8e210b90 (console_srcu){....}-{0:0}, at: console_flush_all+0x147/0xf50 kernel/printk/printk.c:3033 #3: ffffc90000007c00 (net/core/rtnetlink.c:82){+.-.}-{0:0}, at: call_timer_fn+0xc0/0x650 kernel/time/timer.c:1789 #4: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline] #4: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline] #4: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: report_rtnl_holders+0x20/0x2d0 net/core/rtnetlink.c:95 #5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline] #5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline] #5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6688 2 locks held by syz-executor.2/16118: #0: ffff88806c66c258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1602 [inline] #0: ffff88806c66c258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_setsockopt+0x754/0x1970 net/packet/af_packet.c:3803 #1: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: prb_calc_retire_blk_tmo net/packet/af_packet.c:578 [inline] #1: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: init_prb_bdqc net/packet/af_packet.c:636 [inline] #1: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: packet_set_ring+0xb7d/0x2450 net/packet/af_packet.c:4464 ============================================= DEBUG: waiting rtnl_mutex for 3663 jiffies. task:syz-executor.3 state:D stack:19728 pid:15911 tgid:15911 ppid:15901 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 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:0x7f7c7227ed9c RSP: 002b:00007ffc5a26b550 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f7c72ee4620 RCX: 00007f7c7227ed9c RDX: 000000000000006c RSI: 00007f7c72ee4670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffc5a26b5a4 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f7c72ee4670 R15: 0000000000000000 DEBUG: holding rtnl_mutex for 3663 jiffies. task:kworker/u8:9 state:D stack:18608 pid:2458 tgid:2458 ppid:2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 synchronize_rcu_expedited+0x684/0x830 kernel/rcu/tree_exp.h:974 synchronize_rcu+0x11b/0x360 kernel/rcu/tree.c:3975 lockdep_unregister_key+0x4b7/0x540 kernel/locking/lockdep.c:6541 __qdisc_destroy+0x165/0x410 net/sched/sch_generic.c:1079 netdev_for_each_tx_queue include/linux/netdevice.h:2504 [inline] dev_shutdown+0x9b/0x440 net/sched/sch_generic.c:1490 unregister_netdevice_many_notify+0x977/0x16b0 net/core/dev.c:11259 unregister_netdevice_many net/core/dev.c:11327 [inline] default_device_exit_batch+0xa0f/0xa90 net/core/dev.c:11810 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/0xd50 kernel/workqueue.c:3385 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 DEBUG: waiting rtnl_mutex for 3649 jiffies. task:kworker/1:5 state:D stack:20920 pid:5172 tgid:5172 ppid:2 flags:0x00004000 Workqueue: events linkwatch_event Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __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/0xd50 kernel/workqueue.c:3385 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 DEBUG: waiting rtnl_mutex for 3547 jiffies. task:syz-executor.4 state:D stack:25952 pid:16070 tgid:16063 ppid:13904 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 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_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:0x7f1e7ae7d0a9 RSP: 002b:00007f1e7bc190c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f1e7afb4120 RCX: 00007f1e7ae7d0a9 RDX: 0000000024000800 RSI: 0000000020000200 RDI: 0000000000000005 RBP: 00007f1e7aeec074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f1e7afb4120 R15: 00007fffe35676d8 DEBUG: waiting rtnl_mutex for 2839 jiffies. task:syz-executor.2 state:D stack:27520 pid:16118 tgid:16117 ppid:15249 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 prb_calc_retire_blk_tmo net/packet/af_packet.c:578 [inline] init_prb_bdqc net/packet/af_packet.c:636 [inline] packet_set_ring+0xb7d/0x2450 net/packet/af_packet.c:4464 packet_setsockopt+0x1140/0x1970 net/packet/af_packet.c:3823 do_sock_setsockopt+0x3af/0x720 net/socket.c:2324 __sys_setsockopt+0x1ae/0x250 net/socket.c:2347 __do_sys_setsockopt net/socket.c:2356 [inline] __se_sys_setsockopt net/socket.c:2353 [inline] __x64_sys_setsockopt+0xb5/0xd0 net/socket.c:2353 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:0x7f181447d0a9 RSP: 002b:00007f18152830c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f18145b3f80 RCX: 00007f181447d0a9 RDX: 0000000000000005 RSI: 0000000000000107 RDI: 0000000000000003 RBP: 00007f18144ec074 R08: 000000000000001c R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f18145b3f80 R15: 00007ffd23f47f08 DEBUG: waiting rtnl_mutex for 2833 jiffies. task:kworker/u8:7 state:D stack:21264 pid:2425 tgid:2425 ppid:2 flags:0x00004000 Workqueue: ipv6_addrconf addrconf_verify_work Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __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/0xd50 kernel/workqueue.c:3385 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Showing all locks held in the system: 1 lock held by khugepaged/37: #0: ffffffff8e3ef508 (lock#3){+.+.}-{3:3}, at: __lru_add_drain_all+0x66/0x560 mm/swap.c:856 1 lock held by hwrng/756: #0: ffffffff8eb3dae8 (reading_mutex){+.+.}-{3:3}, at: hwrng_fillfn+0xf0/0x3c0 drivers/char/hw_random/core.c:495 3 locks held by kworker/u8:7/2425: #0: ffff88802a1ec148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff88802a1ec148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc90008f6fd00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc90008f6fd00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4733 5 locks held by kworker/u8:9/2458: #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: ffffc90008e9fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc90008e9fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5eb450 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594 #3: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0xe9/0xa90 net/core/dev.c:11796 #4: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #4: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:959 2 locks held by getty/4855: #0: ffff88802abc90a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000311b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211 4 locks held by syz-fuzzer/5205: #0: ffff88802fd20420 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff8880523d97e8 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:830 [inline] #1: ffff8880523d97e8 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: do_rmdir+0x263/0x580 fs/namei.c:4278 #2: ffff8880206335d0 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:795 [inline] #2: ffff8880206335d0 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_rmdir+0x101/0x510 fs/namei.c:4220 #3: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #3: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:959 3 locks held by kworker/1:5/5172: #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: ffffc900041bfd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc900041bfd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 3 locks held by kworker/1:7/6081: #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: ffffc900040cfd00 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc900040cfd00 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x99/0xfd0 net/wireless/reg.c:2480 2 locks held by kworker/u8:11/6337: #0: ffff88801a718948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff88801a718948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc900040ffd00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc900040ffd00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 1 lock held by syz-executor.3/15911: #0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 1 lock held by syz-executor.4/16070: #0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 1 lock held by syz-executor.0/16110: 6 locks held by syz-executor.1/16116: #0: ffff888020078b60 (&lo->lo_mutex){+.+.}-{3:3}, at: loop_global_lock_killable drivers/block/loop.c:120 [inline] #0: ffff888020078b60 (&lo->lo_mutex){+.+.}-{3:3}, at: loop_configure+0x1f9/0xfa0 drivers/block/loop.c:1049 #1: ffffffff8e210f80 (console_lock){+.+.}-{0:0}, at: console_trylock_spinning kernel/printk/printk.c:2018 [inline] #1: ffffffff8e210f80 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x4ed/0x900 kernel/printk/printk.c:2419 #2: ffffffff8e210b90 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:338 [inline] #2: ffffffff8e210b90 (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:267 [inline] #2: ffffffff8e210b90 (console_srcu){....}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:287 [inline] #2: ffffffff8e210b90 (console_srcu){....}-{0:0}, at: console_flush_all+0x147/0xf50 kernel/printk/printk.c:3033 #3: ffffc90000007c00 (net/core/rtnetlink.c:82){+.-.}-{0:0}, at: call_timer_fn+0xc0/0x650 kernel/time/timer.c:1789 #4: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline] #4: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline] #4: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: report_rtnl_holders+0x20/0x2d0 net/core/rtnetlink.c:95 #5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline] #5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline] #5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6688 2 locks held by syz-executor.2/16118: #0: ffff88806c66c258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1602 [inline] #0: ffff88806c66c258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_setsockopt+0x754/0x1970 net/packet/af_packet.c:3803 #1: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: prb_calc_retire_blk_tmo net/packet/af_packet.c:578 [inline] #1: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: init_prb_bdqc net/packet/af_packet.c:636 [inline] #1: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: packet_set_ring+0xb7d/0x2450 net/packet/af_packet.c:4464 ============================================= DEBUG: waiting rtnl_mutex for 3766 jiffies. task:syz-executor.3 state:D stack:19728 pid:15911 tgid:15911 ppid:15901 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 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:0x7f7c7227ed9c RSP: 002b:00007ffc5a26b550 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f7c72ee4620 RCX: 00007f7c7227ed9c RDX: 000000000000006c RSI: 00007f7c72ee4670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffc5a26b5a4 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f7c72ee4670 R15: 0000000000000000 DEBUG: holding rtnl_mutex for 3766 jiffies. task:kworker/u8:9 state:D stack:18608 pid:2458 tgid:2458 ppid:2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 synchronize_rcu_expedited+0x684/0x830 kernel/rcu/tree_exp.h:974 synchronize_rcu+0x11b/0x360 kernel/rcu/tree.c:3975 lockdep_unregister_key+0x4b7/0x540 kernel/locking/lockdep.c:6541 __qdisc_destroy+0x165/0x410 net/sched/sch_generic.c:1079 netdev_for_each_tx_queue include/linux/netdevice.h:2504 [inline] dev_shutdown+0x9b/0x440 net/sched/sch_generic.c:1490 unregister_netdevice_many_notify+0x977/0x16b0 net/core/dev.c:11259 unregister_netdevice_many net/core/dev.c:11327 [inline] default_device_exit_batch+0xa0f/0xa90 net/core/dev.c:11810 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/0xd50 kernel/workqueue.c:3385 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 DEBUG: waiting rtnl_mutex for 3752 jiffies. task:kworker/1:5 state:D stack:20920 pid:5172 tgid:5172 ppid:2 flags:0x00004000 Workqueue: events linkwatch_event Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __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/0xd50 kernel/workqueue.c:3385 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 DEBUG: waiting rtnl_mutex for 3650 jiffies. task:syz-executor.4 state:D stack:25952 pid:16070 tgid:16063 ppid:13904 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 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_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:0x7f1e7ae7d0a9 RSP: 002b:00007f1e7bc190c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f1e7afb4120 RCX: 00007f1e7ae7d0a9 RDX: 0000000024000800 RSI: 0000000020000200 RDI: 0000000000000005 RBP: 00007f1e7aeec074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f1e7afb4120 R15: 00007fffe35676d8 DEBUG: waiting rtnl_mutex for 2942 jiffies. task:syz-executor.2 state:D stack:27520 pid:16118 tgid:16117 ppid:15249 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 prb_calc_retire_blk_tmo net/packet/af_packet.c:578 [inline] init_prb_bdqc net/packet/af_packet.c:636 [inline] packet_set_ring+0xb7d/0x2450 net/packet/af_packet.c:4464 packet_setsockopt+0x1140/0x1970 net/packet/af_packet.c:3823 do_sock_setsockopt+0x3af/0x720 net/socket.c:2324 __sys_setsockopt+0x1ae/0x250 net/socket.c:2347 __do_sys_setsockopt net/socket.c:2356 [inline] __se_sys_setsockopt net/socket.c:2353 [inline] __x64_sys_setsockopt+0xb5/0xd0 net/socket.c:2353 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:0x7f181447d0a9 RSP: 002b:00007f18152830c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f18145b3f80 RCX: 00007f181447d0a9 RDX: 0000000000000005 RSI: 0000000000000107 RDI: 0000000000000003 RBP: 00007f18144ec074 R08: 000000000000001c R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f18145b3f80 R15: 00007ffd23f47f08 DEBUG: waiting rtnl_mutex for 2937 jiffies. task:kworker/u8:7 state:D stack:21264 pid:2425 tgid:2425 ppid:2 flags:0x00004000 Workqueue: ipv6_addrconf addrconf_verify_work Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __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/0xd50 kernel/workqueue.c:3385 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Showing all locks held in the system: 1 lock held by khugepaged/37: #0: ffffffff8e3ef508 (lock#3){+.+.}-{3:3}, at: __lru_add_drain_all+0x66/0x560 mm/swap.c:856 1 lock held by hwrng/756: #0: ffffffff8eb3dae8 (reading_mutex){+.+.}-{3:3}, at: hwrng_fillfn+0xf0/0x3c0 drivers/char/hw_random/core.c:495 2 locks held by kworker/1:2/927: 3 locks held by kworker/u8:7/2425: #0: ffff88802a1ec148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff88802a1ec148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc90008f6fd00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc90008f6fd00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4733 5 locks held by kworker/u8:9/2458: #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: ffffc90008e9fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc90008e9fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5eb450 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594 #3: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0xe9/0xa90 net/core/dev.c:11796 #4: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #4: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:959 2 locks held by getty/4855: #0: ffff88802abc90a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000311b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211 4 locks held by syz-fuzzer/5205: #0: ffff88802fd20420 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff8880523d97e8 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:830 [inline] #1: ffff8880523d97e8 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: do_rmdir+0x263/0x580 fs/namei.c:4278 #2: ffff8880206335d0 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:795 [inline] #2: ffff8880206335d0 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_rmdir+0x101/0x510 fs/namei.c:4220 #3: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #3: ffffffff8e33ab78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:959 3 locks held by kworker/1:5/5172: #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: ffffc900041bfd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc900041bfd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 3 locks held by kworker/1:7/6081: #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: ffffc900040cfd00 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc900040cfd00 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x99/0xfd0 net/wireless/reg.c:2480 2 locks held by kworker/u8:11/6337: #0: ffff88801a718948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff88801a718948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc900040ffd00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc900040ffd00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 1 lock held by syz-executor.3/15911: #0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 1 lock held by syz-executor.4/16070: #0: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 1 lock held by syz-executor.0/16110: 6 locks held by syz-executor.1/16116: #0: ffff888020078b60 (&lo->lo_mutex){+.+.}-{3:3}, at: loop_global_lock_killable drivers/block/loop.c:120 [inline] #0: ffff888020078b60 (&lo->lo_mutex){+.+.}-{3:3}, at: loop_configure+0x1f9/0xfa0 drivers/block/loop.c:1049 #1: ffffffff8e210f80 (console_lock){+.+.}-{0:0}, at: console_trylock_spinning kernel/printk/printk.c:2018 [inline] #1: ffffffff8e210f80 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x4ed/0x900 kernel/printk/printk.c:2419 #2: ffffffff8e210b90 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:338 [inline] #2: ffffffff8e210b90 (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:267 [inline] #2: ffffffff8e210b90 (console_srcu){....}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:287 [inline] #2: ffffffff8e210b90 (console_srcu){....}-{0:0}, at: console_flush_all+0x147/0xf50 kernel/printk/printk.c:3033 #3: ffffc90000007c00 (net/core/rtnetlink.c:82){+.-.}-{0:0}, at: call_timer_fn+0xc0/0x650 kernel/time/timer.c:1789 #4: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline] #4: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline] #4: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: report_rtnl_holders+0x20/0x2d0 net/core/rtnetlink.c:95 #5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline] #5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline] #5: ffffffff8e3357a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6688 2 locks held by syz-executor.2/16118: #0: ffff88806c66c258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1602 [inline] #0: ffff88806c66c258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_setsockopt+0x754/0x1970 net/packet/af_packet.c:3803 #1: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: prb_calc_retire_blk_tmo net/packet/af_packet.c:578 [inline] #1: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: init_prb_bdqc net/packet/af_packet.c:636 [inline] #1: ffffffff8f5f7d08 (rtnl_mutex){+.+.}-{3:3}, at: packet_set_ring+0xb7d/0x2450 net/packet/af_packet.c:4464 ============================================= DEBUG: waiting rtnl_mutex for 3870 jiffies. task:syz-executor.3 state:D stack:19728 pid:15911 tgid:15911 ppid:15901 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 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:0x7f7c7227ed9c RSP: 002b:00007ffc5a26b550 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f7c72ee4620 RCX: 00007f7c7227ed9c RDX: 000000000000006c RSI: 00007f7c72ee4670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffc5a26b5a4 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f7c72ee4670 R15: 0000000000000000 DEBUG: holding rtnl_mutex for 3870 jiffies. task:kworker/u8:9 state:R running task stack:18608 pid:2458 tgid:2458 ppid:2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6916 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:synchronize_rcu+0x0/0x360 kernel/rcu/tree.c:3965 Code: e1 07 80 c1 03 38 c1 0f 8c 97 fe ff ff 4c 89 f7 e8 a5 15 80 00 e9 8a fe ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 RSP: 0018:ffffc90008e9f678 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff920011d3ed8 RCX: ffffffff947dc803 RDX: 0000000000000001 RSI: ffffffff8bcad580 RDI: ffffffff8c206c80 RBP: ffffc90008e9f758 R08: ffffffff947cb15f R09: 1ffffffff28f962b R10: dffffc0000000000 R11: fffffbfff28f962c R12: ffffffff947c7df8 R13: 1ffff920011d3ed4 R14: 0000000000000a02 R15: ffffc90008e9f6c0 lockdep_unregister_key+0x4b7/0x540 kernel/locking/lockdep.c:6541 __qdisc_destroy+0x165/0x410 net/sched/sch_generic.c:1079 netdev_for_each_tx_queue include/linux/netdevice.h:2504 [inline] dev_shutdown+0x9b/0x440 net/sched/sch_generic.c:1490 unregister_netdevice_many_notify+0x977/0x16b0 net/core/dev.c:11259 unregister_netdevice_many net/core/dev.c:11327 [inline] default_device_exit_batch+0xa0f/0xa90 net/core/dev.c:11810 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/0xd50 kernel/workqueue.c:3385 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 DEBUG: waiting rtnl_mutex for 3857 jiffies. task:kworker/1:5 state:D stack:20920 pid:5172 tgid:5172 ppid:2 flags:0x00004000 Workqueue: events linkwatch_event Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __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/0xd50 kernel/workqueue.c:3385 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 DEBUG: waiting rtnl_mutex for 3755 jiffies. task:syz-executor.4 state:D stack:25952 pid:16070 tgid:16063 ppid:13904 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 rtnetlink_rcv_msg+0x839/0x1170 net/core/rtnetlink.c:6723 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_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:0x7f1e7ae7d0a9 RSP: 002b:00007f1e7bc190c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f1e7afb4120 RCX: 00007f1e7ae7d0a9 RDX: 0000000024000800 RSI: 0000000020000200 RDI: 0000000000000005 RBP: 00007f1e7aeec074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f1e7afb4120 R15: 00007fffe35676d8 DEBUG: waiting rtnl_mutex for 3047 jiffies. task:syz-executor.2 state:D stack:27520 pid:16118 tgid:16117 ppid:15249 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5249 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6594 __schedule_loop kernel/sched/core.c:6671 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6686 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6743 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 prb_calc_retire_blk_tmo net/packet/af_packet.c:578 [inline] init_prb_bdqc net/packet/af_packet.c:636 [inline] packet_set_ring+0xb7d/0x2450 net/packet/af_packet.c:4464 packet_setsockopt+0x1140/0x1970 net/packet/af_packet.c:3823 do_sock_setsockopt+0x3af/0x720 net/socket.c:2324 __sys_setsockopt+0x1ae/0x250 net/socket.c:2347 __do_sys_setsockopt net/socket.c:2356 [inline] __se_sys_setsockopt net/socket.c:2353 [inline] __x64_sys_setsockopt+0xb5/0xd0 net/socket.c:2353 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:0x7f181447d0a9 RSP: 002b:00007f18152830c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036