INFO: task syz-executor.3:10880 can't die for more than 143 seconds.
task:syz-executor.3 state:D stack:27632 pid:10880 ppid: 3627 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5043 [inline]
__schedule+0xa94/0x4910 kernel/sched/core.c:6352
schedule+0xd2/0x1f0 kernel/sched/core.c:6424
schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common+0x2af/0x360 kernel/sched/completion.c:106
__flush_work+0x56c/0xb10 kernel/workqueue.c:3097
__cancel_work_timer+0x3f9/0x570 kernel/workqueue.c:3184
tls_sk_proto_close+0x4a7/0xaf0 net/tls/tls_main.c:307
inet_release+0x12e/0x280 net/ipv4/af_inet.c:428
inet6_release+0x4c/0x70 net/ipv6/af_inet6.c:481
__sock_release+0xcd/0x280 net/socket.c:650
sock_close+0x18/0x20 net/socket.c:1318
__fput+0x286/0x9f0 fs/file_table.c:317
task_work_run+0xdd/0x1a0 kernel/task_work.c:164
tracehook_notify_resume include/linux/tracehook.h:188 [inline]
exit_to_user_mode_loop kernel/entry/common.c:176 [inline]
exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:208
__syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline]
syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:301
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f56db63bc8b
RSP: 002b:00007fffe18a7510 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f56db63bc8b
RDX: 0000000000000000 RSI: 00007f56db600000 RDI: 0000000000000003
RBP: 00007f56db79d960 R08: 0000000000000000 R09: 00000000c96087bf
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000062c8f
R13: 00007fffe18a7610 R14: 00007fffe18a7630 R15: 0000000000000032
INFO: task syz-executor.3:10880 blocked for more than 143 seconds.
Not tainted 5.17.0-rc6-next-20220303-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:27632 pid:10880 ppid: 3627 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5043 [inline]
__schedule+0xa94/0x4910 kernel/sched/core.c:6352
schedule+0xd2/0x1f0 kernel/sched/core.c:6424
schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common+0x2af/0x360 kernel/sched/completion.c:106
__flush_work+0x56c/0xb10 kernel/workqueue.c:3097
__cancel_work_timer+0x3f9/0x570 kernel/workqueue.c:3184
tls_sk_proto_close+0x4a7/0xaf0 net/tls/tls_main.c:307
inet_release+0x12e/0x280 net/ipv4/af_inet.c:428
inet6_release+0x4c/0x70 net/ipv6/af_inet6.c:481
__sock_release+0xcd/0x280 net/socket.c:650
sock_close+0x18/0x20 net/socket.c:1318
__fput+0x286/0x9f0 fs/file_table.c:317
task_work_run+0xdd/0x1a0 kernel/task_work.c:164
tracehook_notify_resume include/linux/tracehook.h:188 [inline]
exit_to_user_mode_loop kernel/entry/common.c:176 [inline]
exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:208
__syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline]
syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:301
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f56db63bc8b
RSP: 002b:00007fffe18a7510 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f56db63bc8b
RDX: 0000000000000000 RSI: 00007f56db600000 RDI: 0000000000000003
RBP: 00007f56db79d960 R08: 0000000000000000 R09: 00000000c96087bf
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000062c8f
R13: 00007fffe18a7610 R14: 00007fffe18a7630 R15: 0000000000000032
Showing all locks held in the system:
1 lock held by khungtaskd/28:
#0: ffffffff8bd858e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6498
2 locks held by getty/3269:
#0: ffff88801dcdb098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc90002e662e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2075
3 locks held by kworker/0:17/10139:
#0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
#1: ffffc9000acf7da8 ((work_completion)(&(&sw_ctx_tx->tx_work.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
#2: ffff88807285acd8 (&ctx->tx_lock){+.+.}-{3:3}, at: tx_work_handler+0x127/0x190 net/tls/tls_sw.c:2300
1 lock held by syz-executor.3/10880:
#0: ffff88802eca8e10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:778 [inline]
#0: ffff88802eca8e10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x280 net/socket.c:649
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 5.17.0-rc6-next-20220303-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:111
nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:256 [inline]
watchdog+0xcb7/0xed0 kernel/hung_task.c:413
kthread+0x2e9/0x3a0 kernel/kthread.c:376
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: 942 Comm: kworker/u4:4 Not tainted 5.17.0-rc6-next-20220303-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bat_events batadv_nc_worker
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4734 [inline]
RIP: 0010:__lock_acquire+0x4f3/0x56c0 kernel/locking/lockdep.c:5010
Code: d0 7f 08 84 c0 0f 85 01 3a 00 00 41 0f b6 54 24 21 84 d2 0f 88 cf 0b 00 00 48 8d bd b9 00 00 00 48 b8 00 00 00 00 00 fc ff df <48> 89 f9 48 c1 e9 03 0f b6 04 01 48 89 f9 83 e1 07 38 c8 7f 08 84
RSP: 0018:ffffc9000482f9b8 EFLAGS: 00000002
RAX: dffffc0000000000 RBX: ffff88802b9558d8 RCX: ffffffff815d5bb1
RDX: 0000000000000007 RSI: 0000000000000008 RDI: ffffffff9006b599
RBP: ffffffff9006b4e0 R08: 0000000000000000 R09: ffffffff90015a67
R10: fffffbfff2002b4c R11: 0000000000000001 R12: ffff88801c6dc538
R13: ffff88801c6dba80 R14: 0000000000040000 R15: 0000000000000002
FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005652d32d4008 CR3: 000000007f6ae000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire kernel/locking/lockdep.c:5672 [inline]
lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5637
__raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline]
_raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:178
spin_lock_bh include/linux/spinlock.h:359 [inline]
batadv_nc_purge_paths+0xdf/0x3a0 net/batman-adv/network-coding.c:442
batadv_nc_worker+0x8f9/0xfa0 net/batman-adv/network-coding.c:720
process_one_work+0x996/0x1610 kernel/workqueue.c:2289
worker_thread+0x665/0x1080 kernel/workqueue.c:2436
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
----------------
Code disassembly (best guess):
0: d0 7f 08 sarb 0x8(%rdi)
3: 84 c0 test %al,%al
5: 0f 85 01 3a 00 00 jne 0x3a0c
b: 41 0f b6 54 24 21 movzbl 0x21(%r12),%edx
11: 84 d2 test %dl,%dl
13: 0f 88 cf 0b 00 00 js 0xbe8
19: 48 8d bd b9 00 00 00 lea 0xb9(%rbp),%rdi
20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
27: fc ff df
* 2a: 48 89 f9 mov %rdi,%rcx <-- trapping instruction
2d: 48 c1 e9 03 shr $0x3,%rcx
31: 0f b6 04 01 movzbl (%rcx,%rax,1),%eax
35: 48 89 f9 mov %rdi,%rcx
38: 83 e1 07 and $0x7,%ecx
3b: 38 c8 cmp %cl,%al
3d: 7f 08 jg 0x47
3f: 84 .byte 0x84