INFO: task systemd-udevd:29309 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:systemd-udevd state:D stack:27928 pid:29309 ppid: 2970 flags:0x00004000 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 dev_ioctl+0x470/0xee0 net/core/dev_ioctl.c:521 sock_do_ioctl+0x15a/0x230 net/socket.c:1132 sock_ioctl+0x2f1/0x640 net/socket.c:1235 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860 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:0x7fae55b4b017 RSP: 002b:00007ffd4c2aaa28 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ffd4c2aaa70 RCX: 00007fae55b4b017 RDX: 00007ffd4c2aaa40 RSI: 0000000000008946 RDI: 0000000000000007 RBP: 00007ffd4c2aabe0 R08: 0000000000000000 R09: 0000000000000030 R10: 0000000000000001 R11: 0000000000000246 R12: 000055c5124bccf0 R13: 00007ffd4c2aaa40 R14: 0000000000000001 R15: 0000000000000000 INFO: task syz-executor.2:30933 can't die for more than 143 seconds. task:syz-executor.2 state:D stack:26552 pid:30933 ppid: 6573 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:0x7fa18bf6ba39 RSP: 002b:00007fa1894e1188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fa18c06ef60 RCX: 00007fa18bf6ba39 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000005 RBP: 00007fa18bfc5c5f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffff0de858f R14: 00007fa1894e1300 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/6260: #0: ffff88802294f4f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 2 locks held by agetty/18121: #0: ffff88803c851098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc90002abc2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 1 lock held by systemd-udevd/29309: #0: ffffffff8d2fcb68 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x470/0xee0 net/core/dev_ioctl.c:521 5 locks held by kworker/u4:16/30073: 3 locks held by kworker/1:9/30922: #0: ffff888022481538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888022481538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888022481538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff888022481538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline] #0: ffff888022481538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline] #0: ffff888022481538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2268 #1: ffffc90018787db0 ((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.2/30933: #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 1 CPU: 1 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 8832 Comm: kworker/u4:10 Not tainted 5.15.0-rc6-next-20211020-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:trace_hardirqs_on+0x61/0x1c0 kernel/trace/trace_preemptirq.c:51 Code: ff 85 db 74 2d e8 5f b9 f9 ff 65 c7 05 44 79 85 7e 00 00 00 00 e8 4f b9 f9 ff 48 8b 7c 24 18 e8 45 75 de ff 48 8b 7c 24 18 5b <5d> 41 5c e9 17 3e d0 07 e8 32 b9 f9 ff 48 8b 6c 24 18 66 90 e8 26 RSP: 0018:ffffc900047ef9e8 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 0000000000000007 RCX: 1ffffffff1fe9b66 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffffffff812ab5d1 RBP: ffffffff812ab5d1 R08: 0000000000000000 R09: ffffffff8ff46a17 R10: 0000000000000001 R11: 000000000000003f R12: ffffffff81bda39d R13: 0000000000000004 R14: 00000000000003a1 R15: ffffffff8bcaeaa0 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6a183b8020 CR3: 000000000b88e000 CR4: 00000000003506f0 Call Trace: __text_poke+0x6e1/0x8c0 arch/x86/kernel/alternative.c:875 text_poke_bp_batch+0x2eb/0x560 arch/x86/kernel/alternative.c:1127 text_poke_flush arch/x86/kernel/alternative.c:1268 [inline] text_poke_flush arch/x86/kernel/alternative.c:1265 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1275 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 jump_label_update+0x1d5/0x430 kernel/jump_label.c:830 static_key_disable_cpuslocked+0x152/0x1b0 kernel/jump_label.c:207 static_key_disable+0x16/0x20 kernel/jump_label.c:215 toggle_allocation_gate mm/kfence/core.c:745 [inline] toggle_allocation_gate+0x183/0x390 mm/kfence/core.c:723 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 ---------------- Code disassembly (best guess): 0: ff 85 db 74 2d e8 incl -0x17d28b25(%rbp) 6: 5f pop %rdi 7: b9 f9 ff 65 c7 mov $0xc765fff9,%ecx c: 05 44 79 85 7e add $0x7e857944,%eax 11: 00 00 add %al,(%rax) 13: 00 00 add %al,(%rax) 15: e8 4f b9 f9 ff callq 0xfff9b969 1a: 48 8b 7c 24 18 mov 0x18(%rsp),%rdi 1f: e8 45 75 de ff callq 0xffde7569 24: 48 8b 7c 24 18 mov 0x18(%rsp),%rdi 29: 5b pop %rbx * 2a: 5d pop %rbp <-- trapping instruction 2b: 41 5c pop %r12 2d: e9 17 3e d0 07 jmpq 0x7d03e49 32: e8 32 b9 f9 ff callq 0xfff9b969 37: 48 8b 6c 24 18 mov 0x18(%rsp),%rbp 3c: 66 90 xchg %ax,%ax 3e: e8 .byte 0xe8 3f: 26 es