INFO: task kworker/u4:1:10 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/u4:1 state:D stack:25424 pid: 10 ppid: 2 flags:0x00004000 Workqueue: netns cleanup_net 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 wg_netns_pre_exit+0x15/0x190 drivers/net/wireguard/device.c:402 ops_pre_exit_list net/core/net_namespace.c:158 [inline] cleanup_net+0x451/0xb00 net/core/net_namespace.c:581 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:10701 can't die for more than 143 seconds. task:syz-executor.0 state:D stack:26576 pid:10701 ppid: 6543 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:0x7f510f310a39 RSP: 002b:00007f510c844188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f510f4140e0 RCX: 00007f510f310a39 RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000000000007 RBP: 00007f510f36ac5f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc20d022bf R14: 00007f510c844300 R15: 0000000000022000 INFO: task syz-executor.0:10727 can't die for more than 143 seconds. task:syz-executor.0 state:D stack:27472 pid:10727 ppid: 6543 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_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 wg_netns_pre_exit+0x15/0x190 drivers/net/wireguard/device.c:402 ops_pre_exit_list net/core/net_namespace.c:158 [inline] setup_net+0x587/0xa30 net/core/net_namespace.c:343 copy_net_ns+0x318/0x760 net/core/net_namespace.c:470 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:226 ksys_unshare+0x445/0x920 kernel/fork.c:3125 __do_sys_unshare kernel/fork.c:3196 [inline] __se_sys_unshare kernel/fork.c:3194 [inline] __x64_sys_unshare+0x2d/0x40 kernel/fork.c:3194 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:0x7f510f310a39 RSP: 002b:00007f510c823188 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007f510f4141a0 RCX: 00007f510f310a39 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000 RBP: 00007f510f36ac5f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc20d022bf R14: 00007f510c823300 R15: 0000000000022000 INFO: task syz-executor.0:10727 blocked for more than 144 seconds. Not tainted 5.15.0-rc6-next-20211020-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27472 pid:10727 ppid: 6543 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_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 wg_netns_pre_exit+0x15/0x190 drivers/net/wireguard/device.c:402 ops_pre_exit_list net/core/net_namespace.c:158 [inline] setup_net+0x587/0xa30 net/core/net_namespace.c:343 copy_net_ns+0x318/0x760 net/core/net_namespace.c:470 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:226 ksys_unshare+0x445/0x920 kernel/fork.c:3125 __do_sys_unshare kernel/fork.c:3196 [inline] __se_sys_unshare kernel/fork.c:3194 [inline] __x64_sys_unshare+0x2d/0x40 kernel/fork.c:3194 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:0x7f510f310a39 RSP: 002b:00007f510c823188 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007f510f4141a0 RCX: 00007f510f310a39 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000 RBP: 00007f510f36ac5f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc20d022bf R14: 00007f510c823300 R15: 0000000000022000 Showing all locks held in the system: 4 locks held by kworker/u4:1/10: #0: ffff8880157b2938 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880157b2938 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff8880157b2938 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff8880157b2938 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline] #0: ffff8880157b2938 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline] #0: ffff8880157b2938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2268 #1: ffffc90000cf7db0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2272 #2: ffffffff8d2e9390 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9b/0xb00 net/core/net_namespace.c:555 #3: ffffffff8d2fcb68 (rtnl_mutex){+.+.}-{3:3}, at: wg_netns_pre_exit+0x15/0x190 drivers/net/wireguard/device.c:402 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 3 locks held by kworker/0:10/8642: #0: ffff888022421138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888022421138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888022421138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff888022421138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline] #0: ffff888022421138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline] #0: ffff888022421138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2268 #1: ffffc90017cbfdb0 ((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/10701: #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 2 locks held by syz-executor.0/10727: #0: ffffffff8d2e9390 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2f5/0x760 net/core/net_namespace.c:466 #1: ffffffff8d2fcb68 (rtnl_mutex){+.+.}-{3:3}, at: wg_netns_pre_exit+0x15/0x190 drivers/net/wireguard/device.c:402 ============================================= 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: 2960 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:__free_slab+0x34/0x340 mm/slub.c:1977 Code: 89 f5 53 48 83 ec 08 48 8b 06 48 83 f8 ff 0f 84 51 02 00 00 48 8b 06 49 89 ff a9 00 00 01 00 0f 84 09 02 00 00 44 0f b6 6e 51 <41> bc 01 00 00 00 44 89 e9 44 89 6c 24 04 41 d3 e4 41 83 fd 1f 0f RSP: 0018:ffffc90001abfc90 EFLAGS: 00000206 RAX: 00fff00000010200 RBX: ffffea000236b400 RCX: 1ffffffff1b1f809 RDX: ffff888010c409c0 RSI: ffffea000236b600 RDI: ffff888010c42140 RBP: ffffea000236b600 R08: ffffea000236b600 R09: 0000000000000001 R10: ffffffff817dbc08 R11: 0000000000000000 R12: ffffea000236b820 R13: 0000000000000003 R14: ffff888010c409c0 R15: ffff888010c42140 FS: 00007fab77b488c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fab74f82018 CR3: 000000007bf72000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __unfreeze_partials+0x343/0x360 mm/slub.c:2502 qlink_free mm/kasan/quarantine.c:146 [inline] qlist_free_all+0x5a/0xc0 mm/kasan/quarantine.c:165 kasan_quarantine_reduce+0x180/0x200 mm/kasan/quarantine.c:272 __kasan_slab_alloc+0xa2/0xc0 mm/kasan/common.c:444 kasan_slab_alloc include/linux/kasan.h:259 [inline] slab_post_alloc_hook mm/slab.h:519 [inline] slab_alloc_node mm/slub.c:3212 [inline] slab_alloc mm/slub.c:3220 [inline] kmem_cache_alloc+0x209/0x390 mm/slub.c:3225 prepare_creds+0x3f/0x7b0 kernel/cred.c:262 access_override_creds fs/open.c:351 [inline] do_faccessat+0x3f4/0x850 fs/open.c:415 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:0x7fab76e039c7 Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffd02c44048 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 00007ffd02c47070 RCX: 00007fab76e039c7 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000560f09cc99a3 RBP: 00007ffd02c44190 R08: 0000560f09cbf3e5 R09: 0000000000000018 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000560f0a22b8a0 R15: 00007ffd02c44680 ---------------- Code disassembly (best guess): 0: 89 f5 mov %esi,%ebp 2: 53 push %rbx 3: 48 83 ec 08 sub $0x8,%rsp 7: 48 8b 06 mov (%rsi),%rax a: 48 83 f8 ff cmp $0xffffffffffffffff,%rax e: 0f 84 51 02 00 00 je 0x265 14: 48 8b 06 mov (%rsi),%rax 17: 49 89 ff mov %rdi,%r15 1a: a9 00 00 01 00 test $0x10000,%eax 1f: 0f 84 09 02 00 00 je 0x22e 25: 44 0f b6 6e 51 movzbl 0x51(%rsi),%r13d * 2a: 41 bc 01 00 00 00 mov $0x1,%r12d <-- trapping instruction 30: 44 89 e9 mov %r13d,%ecx 33: 44 89 6c 24 04 mov %r13d,0x4(%rsp) 38: 41 d3 e4 shl %cl,%r12d 3b: 41 83 fd 1f cmp $0x1f,%r13d 3f: 0f .byte 0xf