INFO: task kworker/0:6:8403 blocked for more than 143 seconds. Not tainted 5.15.0-rc6-next-20211020-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:6 state:D stack:25080 pid: 8403 ppid: 2 flags:0x00004000 Workqueue: events_power_efficient reg_check_chans_work Call Trace: context_switch kernel/sched/core.c:4965 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6246 schedule+0xd2/0x260 kernel/sched/core.c:6319 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6378 __mutex_lock_common kernel/locking/mutex.c:672 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:732 reg_check_chans_work+0x83/0xe10 net/wireless/reg.c:2423 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2297 worker_thread+0x658/0x11f0 kernel/workqueue.c:2444 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 INFO: task syz-executor.0:9958 can't die for more than 143 seconds. task:syz-executor.0 state:D stack:26120 pid: 9958 ppid: 6536 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4965 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6246 schedule+0xd2/0x260 kernel/sched/core.c:6319 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881 dev_deactivate_many+0x710/0xc60 net/sched/sch_generic.c:1302 dev_deactivate+0xe9/0x1b0 net/sched/sch_generic.c:1312 qdisc_graft+0xdac/0x1260 net/sched/sch_api.c:1061 tc_modify_qdisc+0xb92/0x1980 net/sched/sch_api.c:1671 rtnetlink_rcv_msg+0x413/0xb80 net/core/rtnetlink.c:5572 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2491 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x86d/0xda0 net/netlink/af_netlink.c:1916 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:724 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2409 ___sys_sendmsg+0xf3/0x170 net/socket.c:2463 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2492 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f371b21ba39 RSP: 002b:00007f3718791188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f371b31ef60 RCX: 00007f371b21ba39 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000004 RBP: 00007f371b275c5f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffec9e37a8f R14: 00007f3718791300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb835a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by in:imklog/6232: 3 locks held by rs:main Q:Reg/6233: #0: ffff888010e2ed70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 #1: ffff88814b010460 (sb_writers#5){.+.+}-{0:0}, at: ksys_write+0x12d/0x250 fs/read_write.c:647 #2: ffffc9000be0f920 (&x->wait#24){..-.}-{2:2}, at: do_wait_for_common kernel/sched/completion.c:86 [inline] #2: ffffc9000be0f920 (&x->wait#24){..-.}-{2:2}, at: __wait_for_common kernel/sched/completion.c:106 [inline] #2: ffffc9000be0f920 (&x->wait#24){..-.}-{2:2}, at: wait_for_common_io kernel/sched/completion.c:123 [inline] #2: ffffc9000be0f920 (&x->wait#24){..-.}-{2:2}, at: wait_for_completion_io_timeout+0x17a/0x280 kernel/sched/completion.c:191 3 locks held by kworker/0:6/8403: #0: ffff888010c65d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010c65d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888010c65d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff888010c65d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline] #0: ffff888010c65d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline] #0: ffff888010c65d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2268 #1: ffffc9001645fdb0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2272 #2: ffffffff8d2fcb68 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x83/0xe10 net/wireless/reg.c:2423 3 locks held by kworker/1:7/8595: #0: ffff888022640938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888022640938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888022640938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff888022640938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline] #0: ffff888022640938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline] #0: ffff888022640938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2268 #1: ffffc90016aafdb0 ((addr_chk_work).work){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2272 #2: ffffffff8d2fcb68 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4590 1 lock held by syz-executor.0/9958: #0: ffffffff8d2fcb68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d2fcb68 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3be/0xb80 net/core/rtnetlink.c:5569 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.0-rc6-next-20211020-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1ae/0x220 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:254 [inline] watchdog+0xcb7/0xed0 kernel/hung_task.c:339 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 2967 Comm: systemd-journal Not tainted 5.15.0-rc6-next-20211020-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__secure_computing+0xcb/0x360 kernel/seccomp.c:1306 Code: 48 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e 78 02 00 00 44 8b 65 00 e8 75 39 ff ff <49> 63 fd 48 c7 c6 60 8b b0 89 e8 26 35 ff ff 41 83 fd 01 74 2e 41 RSP: 0018:ffffc90001abfee8 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffffc90001abff58 RCX: 0000000000000000 RDX: ffff88807af98000 RSI: ffffffff81783bfb RDI: ffffc90001abffd0 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff81783bb6 R11: 0000000000000000 R12: 0000000000000027 R13: 0000000000000002 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f461158d8c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f460e9b1018 CR3: 000000007ab19000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: syscall_trace_enter.constprop.0+0x94/0x270 kernel/entry/common.c:68 do_syscall_64+0x16/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f4610825f17 Code: ff ff ff 48 8b 4d a0 0f b7 51 fe 48 8b 4d a8 66 89 54 08 fe e9 1a ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 b8 27 00 00 00 0f 05 0f 1f 84 00 00 00 00 00 b8 6e 00 00 00 0f 05 c3 0f 1f 84 00 00 RSP: 002b:00007ffca5827338 EFLAGS: 00000202 ORIG_RAX: 0000000000000027 RAX: ffffffffffffffda RBX: 0000564293e0c1e0 RCX: 00007f4610825f17 RDX: 00000000ffffffff RSI: 00007ffca58273c0 RDI: 0000564293e0c1e0 RBP: 0000000000000b97 R08: 000000006170d251 R09: 00007ffca5968080 R10: 00007ffca5968080 R11: 0000000000000202 R12: 00007ffca58273c0 R13: 00007ffca58273b8 R14: 0000564292bfe958 R15: 0005ced3c52d3564 ---------------- Code disassembly (best guess): 0: 48 89 ea mov %rbp,%rdx 3: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax a: fc ff df d: 48 c1 ea 03 shr $0x3,%rdx 11: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax 15: 84 c0 test %al,%al 17: 74 08 je 0x21 19: 3c 03 cmp $0x3,%al 1b: 0f 8e 78 02 00 00 jle 0x299 21: 44 8b 65 00 mov 0x0(%rbp),%r12d 25: e8 75 39 ff ff callq 0xffff399f * 2a: 49 63 fd movslq %r13d,%rdi <-- trapping instruction 2d: 48 c7 c6 60 8b b0 89 mov $0xffffffff89b08b60,%rsi 34: e8 26 35 ff ff callq 0xffff355f 39: 41 83 fd 01 cmp $0x1,%r13d 3d: 74 2e je 0x6d 3f: 41 rex.B