INFO: task kworker/u4:19:12676 blocked for more than 143 seconds.
Not tainted 6.2.0-rc2-syzkaller-00256-ga689b938df39 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:19 state:D stack:22904 pid:12676 ppid:2 flags:0x00004000
Workqueue: writeback wb_workfn (flush-7:2)
Call Trace:
context_switch kernel/sched/core.c:5244 [inline]
__schedule+0x9d1/0xe40 kernel/sched/core.c:6555
schedule+0xcb/0x190 kernel/sched/core.c:6631
io_schedule+0x83/0x100 kernel/sched/core.c:8811
folio_wait_bit_common+0x8ca/0x1390 mm/filemap.c:1297
write_cache_pages+0x48a/0x1350 mm/page-writeback.c:2439
generic_writepages mm/page-writeback.c:2563 [inline]
do_writepages+0x438/0x690 mm/page-writeback.c:2583
__writeback_single_inode+0xd1/0x670 fs/fs-writeback.c:1598
writeback_sb_inodes+0x831/0x1010 fs/fs-writeback.c:1889
__writeback_inodes_wb+0x11d/0x260 fs/fs-writeback.c:1960
wb_writeback+0x450/0x7a0 fs/fs-writeback.c:2065
wb_check_background_flush fs/fs-writeback.c:2131 [inline]
wb_do_writeback fs/fs-writeback.c:2219 [inline]
wb_workfn+0xb5f/0xf10 fs/fs-writeback.c:2246
process_one_work+0x81c/0xd10 kernel/workqueue.c:2289
worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
INFO: task syz-executor.2:30471 blocked for more than 143 seconds.
Not tainted 6.2.0-rc2-syzkaller-00256-ga689b938df39 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:23608 pid:30471 ppid:21287 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5244 [inline]
__schedule+0x9d1/0xe40 kernel/sched/core.c:6555
schedule+0xcb/0x190 kernel/sched/core.c:6631
__wait_on_freeing_inode fs/inode.c:2196 [inline]
find_inode_fast+0x332/0x480 fs/inode.c:950
iget_locked+0xb1/0x830 fs/inode.c:1273
__ext4_iget+0x242/0x3f40 fs/ext4/inode.c:4861
ext4_xattr_inode_cache_find fs/ext4/xattr.c:1491 [inline]
ext4_xattr_inode_lookup_create fs/ext4/xattr.c:1527 [inline]
ext4_xattr_set_entry+0x2181/0x3a70 fs/ext4/xattr.c:1669
ext4_xattr_block_set+0x8c3/0x3760 fs/ext4/xattr.c:1975
ext4_xattr_set_handle+0xe1c/0x1680 fs/ext4/xattr.c:2390
ext4_xattr_set+0x245/0x3d0 fs/ext4/xattr.c:2492
__vfs_setxattr+0x485/0x4c0 fs/xattr.c:202
__vfs_setxattr_noperm+0x128/0x5d0 fs/xattr.c:236
vfs_setxattr+0x228/0x450 fs/xattr.c:323
do_setxattr fs/xattr.c:608 [inline]
setxattr fs/xattr.c:631 [inline]
path_setxattr+0x393/0x4c0 fs/xattr.c:650
__do_sys_setxattr fs/xattr.c:666 [inline]
__se_sys_setxattr fs/xattr.c:662 [inline]
__x64_sys_setxattr+0xb7/0xd0 fs/xattr.c:662
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f4511c8c0c9
RSP: 002b:00007f4512a85168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007f4511dac050 RCX: 00007f4511c8c0c9
RDX: 00000000200005c0 RSI: 0000000020000180 RDI: 00000000200000c0
RBP: 00007f4511ce7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000002000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffec3b5088f R14: 00007f4512a85300 R15: 0000000000022000
INFO: task syz-executor.2:30474 blocked for more than 144 seconds.
Not tainted 6.2.0-rc2-syzkaller-00256-ga689b938df39 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:25528 pid:30474 ppid:21287 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5244 [inline]
__schedule+0x9d1/0xe40 kernel/sched/core.c:6555
schedule+0xcb/0x190 kernel/sched/core.c:6631
io_schedule+0x83/0x100 kernel/sched/core.c:8811
bit_wait_io+0xe/0xc0 kernel/sched/wait_bit.c:209
__wait_on_bit_lock+0xbb/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:69 [inline]
lock_buffer include/linux/buffer_head.h:397 [inline]
__block_write_full_page+0x61e/0x1710 fs/buffer.c:1770
__writepage+0x60/0x120 mm/page-writeback.c:2537
write_cache_pages+0x7dd/0x1350 mm/page-writeback.c:2472
generic_writepages mm/page-writeback.c:2563 [inline]
do_writepages+0x438/0x690 mm/page-writeback.c:2583
filemap_fdatawrite_wbc+0x11e/0x170 mm/filemap.c:388
__filemap_fdatawrite_range mm/filemap.c:421 [inline]
__filemap_fdatawrite mm/filemap.c:427 [inline]
filemap_fdatawrite+0x15d/0x1e0 mm/filemap.c:432
sync_bdevs+0x242/0x320 block/bdev.c:1064
ksys_sync+0xdc/0x1c0 fs/sync.c:105
__do_sys_sync+0xa/0x10 fs/sync.c:113
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f4511c8c0c9
RSP: 002b:00007f4512a64168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2
RAX: ffffffffffffffda RBX: 00007f4511dac120 RCX: 00007f4511c8c0c9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007f4511ce7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffec3b5088f R14: 00007f4512a64300 R15: 0000000000022000
INFO: task syz-executor.2:30477 blocked for more than 144 seconds.
Not tainted 6.2.0-rc2-syzkaller-00256-ga689b938df39 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:23736 pid:30477 ppid:21287 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5244 [inline]
__schedule+0x9d1/0xe40 kernel/sched/core.c:6555
schedule+0xcb/0x190 kernel/sched/core.c:6631
mb_cache_entry_wait_unused+0x165/0x240 fs/mbcache.c:148
ext4_evict_ea_inode+0x148/0x300 fs/ext4/xattr.c:449
ext4_evict_inode+0x112/0x10b0 fs/ext4/inode.c:181
evict+0x2a4/0x620 fs/inode.c:664
ext4_xattr_set_entry+0x1c00/0x3a70 fs/ext4/xattr.c:1806
ext4_xattr_block_set+0xf78/0x3760 fs/ext4/xattr.c:1906
ext4_xattr_set_handle+0xe1c/0x1680 fs/ext4/xattr.c:2390
ext4_xattr_set+0x245/0x3d0 fs/ext4/xattr.c:2492
__vfs_setxattr+0x485/0x4c0 fs/xattr.c:202
__vfs_setxattr_noperm+0x128/0x5d0 fs/xattr.c:236
vfs_setxattr+0x228/0x450 fs/xattr.c:323
do_setxattr fs/xattr.c:608 [inline]
setxattr fs/xattr.c:631 [inline]
path_setxattr+0x393/0x4c0 fs/xattr.c:650
__do_sys_setxattr fs/xattr.c:666 [inline]
__se_sys_setxattr fs/xattr.c:662 [inline]
__x64_sys_setxattr+0xb7/0xd0 fs/xattr.c:662
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f4511c8c0c9
RSP: 002b:00007f4512a43168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007f4511dac1f0 RCX: 00007f4511c8c0c9
RDX: 0000000000000000 RSI: 0000000020000200 RDI: 00000000200001c0
RBP: 00007f4511ce7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffec3b5088f R14: 00007f4512a43300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8d5239d0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8d5241d0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507
1 lock held by khungtaskd/28:
#0: ffffffff8d523800 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/4735:
#0: ffff88802c5eb098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900015802f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2177
3 locks held by kworker/u4:19/12676:
#0: ffff8880177f5138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262
#1: ffffc90015b27d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264
#2: ffff8881401480e0 (&type->s_umount_key#41){++++}-{3:3}, at: trylock_super+0x1b/0xf0 fs/super.c:415
5 locks held by kworker/u4:23/12704:
#0: ffff8880b993a1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:537
#1: ffff8880b9927748 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x682/0xa30 kernel/sched/psi.c:976
#2: ffff8880b9928558 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x12a/0x270 kernel/time/timer.c:999
#3: ffffffff92454ff8 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x96/0x6e0 lib/debugobjects.c:665
#4: ffffffff8d3d5bc8 (text_mutex){+.+.}-{3:3}, at: arch_jump_label_transform_apply+0xe/0x20 arch/x86/kernel/jump_label.c:145
3 locks held by syz-executor.2/30471:
#0: ffff8880409ea460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:508
#1: ffff88802e56ca38 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88802e56ca38 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: vfs_setxattr+0x1e8/0x450 fs/xattr.c:322
#2: ffff88802e56c700 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline]
#2: ffff88802e56c700 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0x26b/0x1680 fs/ext4/xattr.c:2305
1 lock held by syz-executor.2/30474:
#0: ffff888146c884c8 (&disk->open_mutex){+.+.}-{3:3}, at: sync_bdevs+0x1b0/0x320 block/bdev.c:1052
3 locks held by syz-executor.2/30477:
#0: ffff8880409ea460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:508
#1: ffff888035e54a38 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888035e54a38 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_setxattr+0x1e8/0x450 fs/xattr.c:322
#2: ffff888035e54700 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline]
#2: ffff888035e54700 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0x26b/0x1680 fs/ext4/xattr.c:2305
2 locks held by syz-executor.5/30511:
#0: ffff8880409ea0e0 (&type->s_umount_key#31){++++}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722
#1: ffff888146c7e7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline]
#1: ffff888146c7e7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x279/0xaa0 fs/fs-writeback.c:2723
2 locks held by syz-executor.1/30512:
#0: ffff8880409ea0e0 (&type->s_umount_key#31){++++}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722
#1: ffff888146c7e7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline]
#1: ffff888146c7e7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x279/0xaa0 fs/fs-writeback.c:2723
2 locks held by syz-executor.4/30515:
#0: ffff8880409ea0e0 (&type->s_umount_key#31){++++}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722
#1: ffff888146c7e7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline]
#1: ffff888146c7e7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x279/0xaa0 fs/fs-writeback.c:2723
1 lock held by syz-executor.2/30542:
#0: ffff888146c884c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfe/0xa60 block/bdev.c:813
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc2-syzkaller-00256-ga689b938df39 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x4e3/0x560 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x19b/0x3e0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
watchdog+0xcd5/0xd20 kernel/hung_task.c:377
kthread+0x266/0x300 kernel/kthread.c:376
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: 12704 Comm: kworker/u4:23 Not tainted 6.2.0-rc2-syzkaller-00256-ga689b938df39 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Workqueue: bat_events batadv_nc_worker
RIP: 0010:__kasan_check_read+0x6/0x10 mm/kasan/shadow.c:31
Code: 0c 31 db 48 c7 c7 9d 5e df 8c 4c 89 fe 31 c0 e8 00 86 df 08 eb d3 cc cc cc cc cc cc cc cc cc cc cc cc cc cc 89 f6 48 8b 0c 24 <31> d2 e9 73 ec ff ff 0f 1f 00 89 f6 48 8b 0c 24 ba 01 00 00 00 e9
RSP: 0018:ffffc900158479b0 EFLAGS: 00000246
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffffff816c94ae
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8eb022a8
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: fffffbfff1d60456 R11: 1ffffffff1d60455 R12: dffffc0000000000
R13: 1ffff92002b08f48 R14: ffffffff8d523800 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0080f7000 CR3: 000000002b4aa000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
instrument_atomic_read include/linux/instrumented.h:72 [inline]
_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
cpumask_test_cpu include/linux/cpumask.h:444 [inline]
cpu_online include/linux/cpumask.h:1030 [inline]
trace_lock_acquire+0x5e/0x260 include/trace/events/lock.h:24
lock_acquire+0xa5/0x400 kernel/locking/lockdep.c:5639
rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:325
rcu_read_lock include/linux/rcupdate.h:764 [inline]
batadv_nc_process_nc_paths+0xc1/0x370 net/batman-adv/network-coding.c:687
batadv_nc_worker+0x3de/0x5b0 net/batman-adv/network-coding.c:728
process_one_work+0x81c/0xd10 kernel/workqueue.c:2289
worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308