INFO: task syz-executor.1:21978 blocked for more than 143 seconds.
Not tainted 5.16.0-rc4-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:26960 pid:21978 ppid: 6544 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xb72/0x1460 kernel/sched/core.c:6253
schedule+0x12b/0x1f0 kernel/sched/core.c:6326
rwsem_down_write_slowpath+0xdb7/0x1480 kernel/locking/rwsem.c:1151
__down_write_common kernel/locking/rwsem.c:1268 [inline]
__down_write kernel/locking/rwsem.c:1277 [inline]
down_write+0x163/0x170 kernel/locking/rwsem.c:1524
inode_lock include/linux/fs.h:783 [inline]
open_last_lookups fs/namei.c:3347 [inline]
path_openat+0x853/0x3660 fs/namei.c:3556
do_filp_open+0x277/0x4f0 fs/namei.c:3586
do_sys_openat2+0x13b/0x500 fs/open.c:1212
do_sys_open fs/open.c:1228 [inline]
__do_sys_creat fs/open.c:1304 [inline]
__se_sys_creat fs/open.c:1298 [inline]
__x64_sys_creat+0x11f/0x160 fs/open.c:1298
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f13f5c43af9
RSP: 002b:00007f13f4b98188 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f13f5d57028 RCX: 00007f13f5c43af9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000200
RBP: 00007f13f5c9dff7 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe262b2a2f R14: 00007f13f4b98300 R15: 0000000000022000
INFO: task syz-executor.1:21988 blocked for more than 143 seconds.
Not tainted 5.16.0-rc4-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:27632 pid:21988 ppid: 6544 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xb72/0x1460 kernel/sched/core.c:6253
schedule+0x12b/0x1f0 kernel/sched/core.c:6326
rwsem_down_write_slowpath+0xdb7/0x1480 kernel/locking/rwsem.c:1151
__down_write_common kernel/locking/rwsem.c:1268 [inline]
__down_write kernel/locking/rwsem.c:1277 [inline]
down_write+0x163/0x170 kernel/locking/rwsem.c:1524
inode_lock include/linux/fs.h:783 [inline]
open_last_lookups fs/namei.c:3347 [inline]
path_openat+0x853/0x3660 fs/namei.c:3556
do_filp_open+0x277/0x4f0 fs/namei.c:3586
do_sys_openat2+0x13b/0x500 fs/open.c:1212
do_sys_open fs/open.c:1228 [inline]
__do_sys_creat fs/open.c:1304 [inline]
__se_sys_creat fs/open.c:1298 [inline]
__x64_sys_creat+0x11f/0x160 fs/open.c:1298
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f13f5c43af9
RSP: 002b:00007f13f4b77188 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f13f5d570f0 RCX: 00007f13f5c43af9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000140
RBP: 00007f13f5c9dff7 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe262b2a2f R14: 00007f13f4b77300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8cb1dd00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
3 locks held by kworker/u4:3/54:
1 lock held by in:imklog/6221:
#0: ffff88801bac4370 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:994
1 lock held by syz-executor.1/21967:
2 locks held by syz-executor.1/21978:
#0: ffff888023dce460 (sb_writers#19){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:376
#1: ffff888033af2c10 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline]
#1: ffff888033af2c10 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3347 [inline]
#1: ffff888033af2c10 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x853/0x3660 fs/namei.c:3556
2 locks held by syz-executor.1/21988:
#0: ffff888023dce460 (sb_writers#19){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:376
#1: ffff888033af2c10 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline]
#1: ffff888033af2c10 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3347 [inline]
#1: ffff888033af2c10 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x853/0x3660 fs/namei.c:3556
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc4-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+0x1dc/0x2d8 lib/dump_stack.c:106
nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
watchdog+0xc82/0xcd0 kernel/hung_task.c:295
kthread+0x468/0x490 kernel/kthread.c:327
ret_from_fork+0x1f/0x30
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 54 Comm: kworker/u4:3 Not tainted 5.16.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bat_events batadv_nc_worker
RIP: 0010:kasan_check_range+0x6/0x2f0 mm/kasan/generic.c:188
Code: 40 73 42 08 31 c0 c3 0f 0b b8 ea ff ff ff c3 0f 0b b8 ea ff ff ff c3 cc cc cc cc cc cc cc cc cc cc cc cc cc 41 57 41 56 41 55 <41> 54 53 b0 01 48 85 f6 0f 84 0d 02 00 00 48 89 fb 48 01 f3 0f 82
RSP: 0018:ffffc90001a2f840 EFLAGS: 00000046
RAX: 000000000000001b RBX: 00000000000006c7 RCX: ffffffff81660c22
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8ff9afb8
RBP: ffffc90001a2f9b0 R08: dffffc0000000000 R09: fffffbfff1ff35f8
R10: fffffbfff1ff35f8 R11: 0000000000000000 R12: 000000000000000a
R13: ffff888017ea8ab0 R14: ffff888017ea8000 R15: ffff888017ea8ad0
FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f18c9cb6000 CR3: 000000006ff68000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
instrument_atomic_read include/linux/instrumented.h:71 [inline]
test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline]
__lock_acquire+0xd92/0x2b00 kernel/locking/lockdep.c:4997
lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5637
__raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline]
_raw_spin_lock_bh+0x31/0x40 kernel/locking/spinlock.c:178
spin_lock_bh include/linux/spinlock.h:354 [inline]
batadv_nc_purge_paths+0xe0/0x3f0 net/batman-adv/network-coding.c:446
batadv_nc_worker+0x31e/0x5b0 net/batman-adv/network-coding.c:726
process_one_work+0x853/0x1140 kernel/workqueue.c:2298
worker_thread+0xac1/0x1320 kernel/workqueue.c:2445
kthread+0x468/0x490 kernel/kthread.c:327
ret_from_fork+0x1f/0x30
----------------
Code disassembly (best guess):
0: 40 73 42 rex jae 0x45
3: 08 31 or %dh,(%rcx)
5: c0 c3 0f rol $0xf,%bl
8: 0b b8 ea ff ff ff or -0x16(%rax),%edi
e: c3 retq
f: 0f 0b ud2
11: b8 ea ff ff ff mov $0xffffffea,%eax
16: c3 retq
17: cc int3
18: cc int3
19: cc int3
1a: cc int3
1b: cc int3
1c: cc int3
1d: cc int3
1e: cc int3
1f: cc int3
20: cc int3
21: cc int3
22: cc int3
23: cc int3
24: 41 57 push %r15
26: 41 56 push %r14
28: 41 55 push %r13
* 2a: 41 54 push %r12 <-- trapping instruction
2c: 53 push %rbx
2d: b0 01 mov $0x1,%al
2f: 48 85 f6 test %rsi,%rsi
32: 0f 84 0d 02 00 00 je 0x245
38: 48 89 fb mov %rdi,%rbx
3b: 48 01 f3 add %rsi,%rbx
3e: 0f .byte 0xf
3f: 82 .byte 0x82