INFO: task syz-executor.3:21795 blocked for more than 143 seconds.
Not tainted 6.3.0-syzkaller-12378-gc8c655c34e33 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:22688 pid:21795 ppid:5030 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0x187b/0x4900 kernel/sched/core.c:6669
schedule+0xc3/0x180 kernel/sched/core.c:6745
io_schedule+0x8c/0x100 kernel/sched/core.c:8979
bit_wait_io+0x12/0xc0 kernel/sched/wait_bit.c:209
__wait_on_bit_lock+0xbd/0x1a0 kernel/sched/wait_bit.c:90
out_of_line_wait_on_bit_lock+0x1d4/0x250 kernel/sched/wait_bit.c:117
wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline]
__lock_buffer fs/buffer.c:70 [inline]
lock_buffer include/linux/buffer_head.h:406 [inline]
__sync_dirty_buffer+0x120/0x380 fs/buffer.c:2807
__ext4_handle_dirty_metadata+0x2a6/0x820 fs/ext4/ext4_jbd2.c:387
ext4_convert_inline_data_nolock+0xaba/0xd80 fs/ext4/inline.c:1252
ext4_convert_inline_data+0x4da/0x620 fs/ext4/inline.c:2063
ext4_page_mkwrite+0x288/0x1290 fs/ext4/inode.c:6044
do_page_mkwrite+0x1a4/0x600 mm/memory.c:2931
wp_page_shared mm/memory.c:3280 [inline]
do_wp_page+0x501/0x3690 mm/memory.c:3362
handle_pte_fault mm/memory.c:4964 [inline]
__handle_mm_fault mm/memory.c:5089 [inline]
handle_mm_fault+0x2371/0x5860 mm/memory.c:5243
do_user_addr_fault arch/x86/mm/fault.c:1440 [inline]
handle_page_fault arch/x86/mm/fault.c:1534 [inline]
exc_page_fault+0x7d2/0x910 arch/x86/mm/fault.c:1590
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0033:0x7fd37ae86cc5
RSP: 002b:00007ffce6a190e8 EFLAGS: 00010202
RAX: 0000000020000180 RBX: 0000000000000000 RCX: 0000000000736f64
RDX: 0000000000000006 RSI: 000000006f64736d RDI: 0000000020000180
RBP: 00007ffce6a191a8 R08: 00007fd37ae00000 R09: 00007fd37aa00000
R10: 00007fd37aa08960 R11: 0000000000000246 R12: 00000000000bd01b
R13: 00007ffce6a191d0 R14: 00007fd37afabf80 R15: 0000000000000032
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8cf277b0 (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: ffffffff8cf27b70 (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: ffffffff8cf275e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by kworker/u4:4/75:
2 locks held by getty/4743:
#0: ffff888028a5d098 (&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
3 locks held by kworker/u4:9/9197:
#0: ffff88801425f138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378
#1: ffffc900035cfd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380
#2: ffff8880142760e0 (&type->s_umount_key#41){.+.+}-{3:3}, at: trylock_super+0x1f/0xf0 fs/super.c:414
4 locks held by syz-executor.3/21795:
#0: ffff888076c52e68 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:161 [inline]
#0: ffff888076c52e68 (&mm->mmap_lock){++++}-{3:3}, at: do_user_addr_fault arch/x86/mm/fault.c:1381 [inline]
#0: ffff888076c52e68 (&mm->mmap_lock){++++}-{3:3}, at: handle_page_fault arch/x86/mm/fault.c:1534 [inline]
#0: ffff888076c52e68 (&mm->mmap_lock){++++}-{3:3}, at: exc_page_fault+0x1b9/0x910 arch/x86/mm/fault.c:1590
#1: ffff888038b28558 (sb_pagefaults#3){.+.+}-{0:0}, at: __sb_start_write include/linux/fs.h:1494 [inline]
#1: ffff888038b28558 (sb_pagefaults#3){.+.+}-{0:0}, at: sb_start_pagefault include/linux/fs.h:1598 [inline]
#1: ffff888038b28558 (sb_pagefaults#3){.+.+}-{0:0}, at: ext4_page_mkwrite+0x244/0x1290 fs/ext4/inode.c:6039
#2: ffff88807432e9a0 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:830 [inline]
#2: ffff88807432e9a0 (mapping.invalidate_lock){++++}-{3:3}, at: ext4_page_mkwrite+0x27b/0x1290 fs/ext4/inode.c:6042
#3: ffff88807432e4c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline]
#3: ffff88807432e4c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_convert_inline_data+0x3b6/0x620 fs/ext4/inline.c:2061
1 lock held by syz-executor.3/21935:
#0: ffff88801ee9f4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x145/0xa30 block/bdev.c:736
1 lock held by syz-executor.0/24099:
#0: ffff88801ee9f4c8 (&disk->open_mutex){+.+.}-{3:3}, at: sync_bdevs+0x1a9/0x320 block/bdev.c:975
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-syzkaller-12378-gc8c655c34e33 #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+0x2b8/0x350 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 75 Comm: kworker/u4:4 Not tainted 6.3.0-syzkaller-12378-gc8c655c34e33 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
Workqueue: bat_events batadv_nc_worker
RIP: 0010:lock_acquire+0x0/0x520 kernel/locking/lockdep.c:5659
Code: e6 37 78 00 e9 a2 fd ff ff 90 f3 0f 1e fa 65 8b 05 2d 95 98 7e a9 00 ff ff 00 0f 95 c0 c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1e fa 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48
RSP: 0018:ffffc90001577be0 EFLAGS: 00000246
RAX: ffffffff8a7f687e RBX: ffff888032fe0540 RCX: 0000000000000002
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8cf275e0
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000000000a8
R13: dffffc0000000000 R14: ffff888032eecc80 R15: ffff88802ae07540
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000560bf0738608 CR3: 000000002b110000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
rcu_lock_acquire+0x2e/0x40 include/linux/rcupdate.h:327
rcu_read_lock include/linux/rcupdate.h:773 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline]
batadv_nc_worker+0xc5/0x5c0 net/batman-adv/network-coding.c:719
process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405
worker_thread+0xa63/0x1210 kernel/workqueue.c:2552
kthread+0x2b8/0x350 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308