INFO: task syz-executor.3:769 blocked for more than 143 seconds.
Not tainted 5.15.158-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:25016 pid: 769 ppid: 30281 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5030 [inline]
__schedule+0x12c4/0x45b0 kernel/sched/core.c:6376
schedule+0x11b/0x1f0 kernel/sched/core.c:6459
io_schedule+0x88/0x100 kernel/sched/core.c:8484
__lock_metapage+0x1ec/0x3c0 fs/jfs/jfs_metapage.c:49
lock_metapage fs/jfs/jfs_metapage.c:63 [inline]
__get_metapage+0x495/0x1070 fs/jfs/jfs_metapage.c:640
diIAGRead+0xcb/0x130 fs/jfs/jfs_imap.c:2669
diNewExt+0x26e6/0x37e0 fs/jfs/jfs_imap.c:2237
diAllocExt fs/jfs/jfs_imap.c:1949 [inline]
diAllocAG+0xbe4/0x1e50 fs/jfs/jfs_imap.c:1666
diAlloc+0x1cf/0x1750 fs/jfs/jfs_imap.c:1587
ialloc+0x8b/0x970 fs/jfs/jfs_inode.c:56
jfs_mkdir+0x1c1/0xbb0 fs/jfs/namei.c:225
vfs_mkdir+0x3b6/0x590 fs/namei.c:4065
do_mkdirat+0x260/0x520 fs/namei.c:4090
__do_sys_mkdir fs/namei.c:4110 [inline]
__se_sys_mkdir fs/namei.c:4108 [inline]
__x64_sys_mkdir+0x6a/0x80 fs/namei.c:4108
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f22b2b6fca9
RSP: 002b:00007f22b10e20c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007f22b2c9df80 RCX: 00007f22b2b6fca9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000300
RBP: 00007f22b2bbb47e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f22b2c9df80 R15: 00007ffffd28f8d8
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3265:
#0: ffff888023558098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc90002bab2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158
4 locks held by syz-executor.3/769:
#0: ffff88805a984460 (sb_writers#15){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377
#1: ffff88804eee58c0 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline]
#1: ffff88804eee58c0 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: filename_create+0x25c/0x530 fs/namei.c:3835
#2: ffff88801e8d0920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diAlloc+0x1b3/0x1750
#3: ffff88804eee38b8 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diAllocExt fs/jfs/jfs_imap.c:1914 [inline]
#3: ffff88804eee38b8 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diAllocAG+0x2b9/0x1e50 fs/jfs/jfs_imap.c:1666
1 lock held by syz-executor.1/3214:
#0: ffff888147601468 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0xa9/0xbe0 drivers/block/loop.c:1365
2 locks held by syz-executor.0/4223:
#0: ffff88801b5ed918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfb/0x790 block/bdev.c:912
#1: ffff8881475ee468 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_release+0x4d/0x1f0 drivers/block/loop.c:2070
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.158-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
watchdog+0xe72/0xeb0 kernel/hung_task.c:295
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 1202 Comm: kworker/u4:4 Not tainted 5.15.158-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: bat_events batadv_nc_worker
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:22 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline]
RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:132 [inline]
RIP: 0010:lock_release+0x5de/0x9a0 kernel/locking/lockdep.c:5646
Code: 00 48 c7 c7 20 3c 8b 8a e8 ff 0a bb 08 b8 ff ff ff ff 65 0f c1 05 72 a1 9f 7e 83 f8 01 0f 85 94 00 00 00 4c 89 f3 48 c1 eb 03 <42> 80 3c 3b 00 74 08 4c 89 f7 e8 b3 5d 67 00 48 c7 84 24 90 00 00
RSP: 0018:ffffc90005087a00 EFLAGS: 00000802
RAX: 0000000000000001 RBX: 1ffff92000a10f52 RCX: ffffc90005087a03
RDX: 0000000000000002 RSI: ffffffff8a8b3c20 RDI: ffffffff8ad8f600
RBP: ffffc90005087b38 R08: dffffc0000000000 R09: fffffbfff1bc8c56
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000a10f4c
R13: 0000000000000246 R14: ffffc90005087a90 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32823000 CR3: 0000000049eba000 CR4: 00000000003506f0
DR0: 0000000000002800 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__raw_spin_unlock_bh include/linux/spinlock_api_smp.h:174 [inline]
_raw_spin_unlock_bh+0x17/0x30 kernel/locking/spinlock.c:210
spin_unlock_bh include/linux/spinlock.h:408 [inline]
batadv_nc_purge_paths+0x30e/0x3b0 net/batman-adv/network-coding.c:475
batadv_nc_worker+0x2cf/0x5b0 net/batman-adv/network-coding.c:724
process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310
worker_thread+0xaca/0x1280 kernel/workqueue.c:2457
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300