INFO: task syz-executor.2:22827 blocked for more than 143 seconds.
Not tainted 6.3.0-syzkaller-10197-g91ec4b0d11fe #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:27000 pid:22827 ppid:5015 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5307 [inline]
__schedule+0x173b/0x4630 kernel/sched/core.c:6625
schedule+0xc3/0x180 kernel/sched/core.c:6701
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6760
rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178
__down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306
inode_lock include/linux/fs.h:761 [inline]
process_measurement+0x435/0x1ce0 security/integrity/ima/ima_main.c:243
ima_file_check+0xf1/0x170 security/integrity/ima/ima_main.c:539
do_open fs/namei.c:3562 [inline]
path_openat+0x280a/0x3170 fs/namei.c:3715
do_filp_open+0x234/0x490 fs/namei.c:3742
do_sys_openat2+0x13f/0x500 fs/open.c:1356
do_sys_open fs/open.c:1372 [inline]
__do_sys_creat fs/open.c:1448 [inline]
__se_sys_creat fs/open.c:1442 [inline]
__x64_sys_creat+0x123/0x160 fs/open.c:1442
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f442a88c169
RSP: 002b:00007f442b620168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f442a9ac120 RCX: 00007f442a88c169
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000140
RBP: 00007f442a8e7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe2db1c87f R14: 00007f442b620300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8cf25370 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8cf25730 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518
1 lock held by khungtaskd/28:
#0: ffffffff8cf251a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by kworker/u4:4/75:
#0: ffff8880b993bed8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:539
#1: ffffc90001587d20 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365
4 locks held by kworker/u4:6/3426:
#0: ffff888017745138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2363
#1: ffffc9000db6fd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2365
#2: ffff888030d640e0 (&type->s_umount_key#57){++++}-{3:3}, at: trylock_super+0x1f/0xf0 fs/super.c:414
#3: ffff8880773212a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2112 [inline]
#3: ffff8880773212a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x51a/0x6f0 fs/f2fs/segment.c:435
2 locks held by getty/4732:
#0: ffff88814a5e1098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2176
7 locks held by syz-executor.2/22768:
2 locks held by syz-executor.2/22827:
#0: ffff888030d64460 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394
#1: ffff888033bd6298 (&sb->s_type->i_mutex_key#24){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:761 [inline]
#1: ffff888033bd6298 (&sb->s_type->i_mutex_key#24){+.+.}-{3:3}, at: process_measurement+0x435/0x1ce0 security/integrity/ima/ima_main.c:243
2 locks held by syz-executor.1/23431:
#0: ffff888030d640e0 (&type->s_umount_key#57){++++}-{3:3}, at: iterate_supers+0xb0/0x1e0 fs/super.c:743
#1: ffff88801e41c7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline]
#1: ffff88801e41c7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x278/0xab0 fs/fs-writeback.c:2728
2 locks held by syz-executor.1/23582:
#0: ffff888030d640e0 (&type->s_umount_key#57){++++}-{3:3}, at: iterate_supers+0xb0/0x1e0 fs/super.c:743
#1: ffff88801e41c7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline]
#1: ffff88801e41c7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x278/0xab0 fs/fs-writeback.c:2728
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.3.0-syzkaller-10197-g91ec4b0d11fe #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x187/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xec2/0xf00 kernel/hung_task.c:379
kthread+0x2b2/0x350 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 5959 Comm: kworker/u4:9 Not tainted 6.3.0-syzkaller-10197-g91ec4b0d11fe #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
Workqueue: bat_events batadv_nc_worker
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:203
Code: 00 00 00 00 00 0f 1f 44 00 00 f3 0f 1e fa 53 48 89 fb e8 13 00 00 00 48 8b 3d c4 45 c9 0c 48 89 de 5b e9 d3 fc 55 00 0f 1f 00 0f 1e fa 48 8b 04 24 65 48 8b 0d 90 9d 78 7e 65 8b 15 91 9d 78
RSP: 0018:ffffc900156c7b80 EFLAGS: 00000293
RAX: ffffffff8a794945 RBX: ffff888041966ba8 RCX: ffff88802eff1dc0
RDX: 0000000000000000 RSI: ffffffff8aea8ac0 RDI: ffffffff8b380740
RBP: 0000000000000001 R08: dffffc0000000000 R09: fffffbfff1ca8b56
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880417b9798
R13: ffff8880417b8c80 R14: ffff888146922ed0 R15: ffffffff8a794510
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555557536848 CR3: 000000000cd30000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
rcu_lock_acquire+0xe/0x40 include/linux/rcupdate.h:327
rcu_read_lock include/linux/rcupdate.h:773 [inline]
batadv_nc_process_nc_paths+0xb8/0x350 net/batman-adv/network-coding.c:687
batadv_nc_worker+0x4d3/0x5c0 net/batman-adv/network-coding.c:735
process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2390
worker_thread+0xa63/0x1210 kernel/workqueue.c:2537
kthread+0x2b2/0x350 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308