INFO: task syz-executor.4:12445 blocked for more than 143 seconds.
Not tainted 5.19.0-rc5-syzkaller-00105-g9f09069cde34 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:29368 pid:12445 ppid: 3643 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5146 [inline]
__schedule+0xa00/0x4b50 kernel/sched/core.c:6458
schedule+0xd2/0x1f0 kernel/sched/core.c:6530
rwsem_down_write_slowpath+0x68a/0x11a0 kernel/locking/rwsem.c:1172
__down_write_common kernel/locking/rwsem.c:1287 [inline]
__down_write_common kernel/locking/rwsem.c:1284 [inline]
__down_write kernel/locking/rwsem.c:1296 [inline]
down_write+0x135/0x150 kernel/locking/rwsem.c:1543
filemap_invalidate_lock include/linux/fs.h:786 [inline]
blkdev_fallocate+0x1e2/0x410 block/fops.c:637
vfs_fallocate+0x487/0xe00 fs/open.c:323
madvise_remove mm/madvise.c:976 [inline]
madvise_vma_behavior+0x9b9/0x1d50 mm/madvise.c:1000
madvise_walk_vmas+0x1d5/0x2d0 mm/madvise.c:1232
do_madvise mm/madvise.c:1410 [inline]
do_madvise+0x2d4/0x3c0 mm/madvise.c:1368
__do_sys_madvise mm/madvise.c:1423 [inline]
__se_sys_madvise mm/madvise.c:1421 [inline]
__x64_sys_madvise+0xa6/0x110 mm/madvise.c:1421
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+0x46/0xb0
RIP: 0033:0x7f3228889109
RSP: 002b:00007f32299a3168 EFLAGS: 00000246 ORIG_RAX: 000000000000001c
RAX: ffffffffffffffda RBX: 00007f322899c030 RCX: 00007f3228889109
RDX: 0000000000000009 RSI: 0000000000600004 RDI: 0000000020000000
RBP: 00007f32288e305d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff914cc4ff R14: 00007f32299a3300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/28:
#0: ffffffff8bd86660 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491
2 locks held by getty/3291:
#0: ffff888025a5e098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc90002d162e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xe50/0x13c0 drivers/tty/n_tty.c:2124
3 locks held by kworker/u4:6/24436:
#0: ffff8880b9a39ed8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:552 [inline]
#0: ffff8880b9a39ed8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x8c/0x120 kernel/sched/core.c:537
#1: ffffc9000eb87da8 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
#2: ffff8880b9a28398 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5a/0x1f0 kernel/time/timer.c:999
1 lock held by syz-executor.4/12439:
1 lock held by syz-executor.4/12445:
#0: ffff888140ca6bc0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:786 [inline]
#0: ffff888140ca6bc0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e2/0x410 block/fops.c:637
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 5.19.0-rc5-syzkaller-00105-g9f09069cde34 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
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:212 [inline]
watchdog+0xc1d/0xf50 kernel/hung_task.c:369
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4165 Comm: kworker/u4:8 Not tainted 5.19.0-rc5-syzkaller-00105-g9f09069cde34 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
Workqueue: bat_events batadv_nc_worker
RIP: 0010:kasan_check_range+0x15/0x180 mm/kasan/generic.c:188
Code: e4 ff ff 89 43 08 5b 5d 41 5c c3 66 2e 0f 1f 84 00 00 00 00 00 48 85 f6 0f 84 3c 01 00 00 49 89 f9 41 54 44 0f b6 c2 49 01 f1 <55> 53 0f 82 18 01 00 00 48 b8 ff ff ff ff ff 7f ff ff 48 39 c7 0f
RSP: 0018:ffffc90005da7b30 EFLAGS: 00000282
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff815e5211
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8dbb9c90
RBP: 1ffff92000bb4f6a R08: 0000000000000000 R09: ffffffff8dbb9c98
R10: fffff52000bb4f75 R11: 0000000000000000 R12: ffff88807b63d418
R13: ffff88807e108c80 R14: dffffc0000000000 R15: ffffffff89110740
FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c013bd4000 CR3: 000000000ba8e000 CR4: 0000000000350ef0
Call Trace:
instrument_atomic_read include/linux/instrumented.h:71 [inline]
test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline]
cpumask_test_cpu include/linux/cpumask.h:379 [inline]
cpu_online include/linux/cpumask.h:921 [inline]
trace_lock_release include/trace/events/lock.h:69 [inline]
lock_release+0xa1/0x780 kernel/locking/lockdep.c:5676
__raw_spin_unlock_bh include/linux/spinlock_api_smp.h:165 [inline]
_raw_spin_unlock_bh+0x12/0x30 kernel/locking/spinlock.c:210
spin_unlock_bh include/linux/spinlock.h:394 [inline]
batadv_nc_purge_paths+0x2a5/0x3a0 net/batman-adv/network-coding.c:471
batadv_nc_worker+0x930/0xfa0 net/batman-adv/network-coding.c:722
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:302
----------------
Code disassembly (best guess):
0: e4 ff in $0xff,%al
2: ff 89 43 08 5b 5d decl 0x5d5b0843(%rcx)
8: 41 5c pop %r12
a: c3 retq
b: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1)
12: 00 00 00
15: 48 85 f6 test %rsi,%rsi
18: 0f 84 3c 01 00 00 je 0x15a
1e: 49 89 f9 mov %rdi,%r9
21: 41 54 push %r12
23: 44 0f b6 c2 movzbl %dl,%r8d
27: 49 01 f1 add %rsi,%r9
* 2a: 55 push %rbp <-- trapping instruction
2b: 53 push %rbx
2c: 0f 82 18 01 00 00 jb 0x14a
32: 48 b8 ff ff ff ff ff movabs $0xffff7fffffffffff,%rax
39: 7f ff ff
3c: 48 39 c7 cmp %rax,%rdi
3f: 0f .byte 0xf