INFO: task syz-executor.5:9405 blocked for more than 143 seconds.
Not tainted 6.3.0-rc4-syzkaller-00224-g00c7b5f4ddc5 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:26304 pid:9405 ppid:7498 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5307 [inline]
__schedule+0xc91/0x5770 kernel/sched/core.c:6625
schedule+0xde/0x1a0 kernel/sched/core.c:6701
io_schedule+0xbe/0x130 kernel/sched/core.c:8887
bit_wait_io+0x16/0xe0 kernel/sched/wait_bit.c:209
__wait_on_bit_lock+0x11f/0x1a0 kernel/sched/wait_bit.c:90
out_of_line_wait_on_bit_lock+0xd9/0x110 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:400 [inline]
__sync_dirty_buffer+0x30e/0x380 fs/buffer.c:2780
__ext4_handle_dirty_metadata+0x2b7/0x8e0 fs/ext4/ext4_jbd2.c:387
ext4_convert_inline_data_nolock+0x6e6/0xf10 fs/ext4/inline.c:1254
ext4_convert_inline_data+0x51a/0x5f0 fs/ext4/inline.c:2065
ext4_fallocate+0x19f/0x3d90 fs/ext4/extents.c:4701
vfs_fallocate+0x48b/0xe40 fs/open.c:324
ksys_fallocate fs/open.c:347 [inline]
__do_sys_fallocate fs/open.c:355 [inline]
__se_sys_fallocate fs/open.c:353 [inline]
__x64_sys_fallocate+0xd3/0x140 fs/open.c:353
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7faa6d68c0f9
RSP: 002b:00007faa6e41c168 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007faa6d7abf80 RCX: 00007faa6d68c0f9
RDX: 00000000ff970000 RSI: 0000000100000011 RDI: 0000000000000005
RBP: 00007faa6d6e7b39 R08: 0000000000000000 R09: 0000000000000000
R10: 000000002811fdff R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc6aa7853f R14: 00007faa6e41c300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/11:
#0: ffffffff8c791a70 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510
1 lock held by rcu_tasks_trace/12:
#0: ffffffff8c791770 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510
1 lock held by khungtaskd/27:
#0: ffffffff8c7925c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6495
2 locks held by getty/4747:
#0: ffff888021b09098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc900020382f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177
1 lock held by syz-executor.3/21226:
#0: ffffffff8c79d8b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline]
#0: ffffffff8c79d8b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3e8/0x770 kernel/rcu/tree_exp.h:989
2 locks held by kworker/1:1/29550:
#0: ffff88801247a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff88801247a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff88801247a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff88801247a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline]
#0: ffff88801247a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline]
#0: ffff88801247a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x87a/0x15c0 kernel/workqueue.c:2361
#1: ffffc9000ff87da8 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x15c0 kernel/workqueue.c:2365
2 locks held by kworker/u4:7/6541:
#0: ffff8880b983c2d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2f/0x120 kernel/sched/core.c:539
#1: ffff8880b9828808 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2de/0x950 kernel/sched/psi.c:976
3 locks held by syz-executor.5/9405:
#0: ffff888035510460 (sb_writers#5){.+.+}-{0:0}, at: ksys_fallocate fs/open.c:347 [inline]
#0: ffff888035510460 (sb_writers#5){.+.+}-{0:0}, at: __do_sys_fallocate fs/open.c:355 [inline]
#0: ffff888035510460 (sb_writers#5){.+.+}-{0:0}, at: __se_sys_fallocate fs/open.c:353 [inline]
#0: ffff888035510460 (sb_writers#5){.+.+}-{0:0}, at: __x64_sys_fallocate+0xd3/0x140 fs/open.c:353
#1: ffff88803f0305c0 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline]
#1: ffff88803f0305c0 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: ext4_fallocate+0x197/0x3d90 fs/ext4/extents.c:4700
#2: ffff88803f030288 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline]
#2: ffff88803f030288 (&ei->xattr_sem){++++}-{3:3}, at: ext4_convert_inline_data+0x352/0x5f0 fs/ext4/inline.c:2063
1 lock held by syz-executor.2/12410:
#0: ffff8880b993c2d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2f/0x120 kernel/sched/core.c:539
1 lock held by syz-executor.0/13259:
#0: ffffffff8e0dff50 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4cb/0x8e0 net/core/net_namespace.c:486
1 lock held by syz-executor.5/13270:
#0: ffff88803e2080e0 (&type->s_umount_key#76/1){+.+.}-{3:3}, at: alloc_super+0x22e/0xb60 fs/super.c:228
1 lock held by syz-executor.1/13271:
#0: ffff888037c540e0 (&type->s_umount_key#76/1){+.+.}-{3:3}, at: alloc_super+0x22e/0xb60 fs/super.c:228
4 locks held by syz-executor.2/13305:
#0: ffff8880753986a8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe7/0x100 fs/file.c:1047
#1: ffff8880b9928808 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2de/0x950 kernel/sched/psi.c:976
#2: ffff8880b9928808 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2de/0x950 kernel/sched/psi.c:976
#3: ffffffff8c7925c0 (rcu_read_lock){....}-{1:2}, at: __ref_is_percpu include/linux/percpu-refcount.h:174 [inline]
#3: ffffffff8c7925c0 (rcu_read_lock){....}-{1:2}, at: percpu_ref_tryget_many include/linux/percpu-refcount.h:243 [inline]
#3: ffffffff8c7925c0 (rcu_read_lock){....}-{1:2}, at: percpu_ref_tryget include/linux/percpu-refcount.h:266 [inline]
#3: ffffffff8c7925c0 (rcu_read_lock){....}-{1:2}, at: blkg_tryget block/blk-cgroup.h:334 [inline]
#3: ffffffff8c7925c0 (rcu_read_lock){....}-{1:2}, at: blkg_tryget_closest block/blk-cgroup.c:1942 [inline]
#3: ffffffff8c7925c0 (rcu_read_lock){....}-{1:2}, at: bio_associate_blkg_from_css+0x47e/0x13c0 block/blk-cgroup.c:1974
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 6.3.0-rc4-syzkaller-00224-g00c7b5f4ddc5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106
nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x2a4/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+0xe16/0x1090 kernel/hung_task.c:379
kthread+0x2e8/0x3a0 kernel/kthread.c:376
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: 4432 Comm: udevd Not tainted 6.3.0-rc4-syzkaller-00224-g00c7b5f4ddc5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:find_held_lock+0x19/0x110 kernel/locking/lockdep.c:5157
Code: 20 45 5a 8c e8 d8 84 6f 00 eb 98 66 0f 1f 44 00 00 41 57 44 8d 7a ff 49 63 c7 41 56 49 89 ce 48 8d 04 80 41 55 49 89 f5 41 54 <4c> 8d a4 c7 38 0a 00 00 55 4c 89 e7 53 89 d3 e8 f3 72 9e 08 85 c0
RSP: 0018:ffffc9000346f890 EFLAGS: 00000002
RAX: 0000000000000005 RBX: 0000000000000003 RCX: ffffc9000346f908
RDX: 0000000000000002 RSI: ffffffff8c903180 RDI: ffff88807c672000
RBP: 1ffff9200068df19 R08: 0000000000000001 R09: ffffffff8e770ed7
R10: fffffbfff1cee1da R11: 0000000000000000 R12: ffffffff8c903180
R13: ffffffff8c903180 R14: ffffc9000346f908 R15: 0000000000000001
FS: 00007f41442fb840(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002002e000 CR3: 000000007c4b6000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__lock_release kernel/locking/lockdep.c:5344 [inline]
lock_release+0x1f5/0x670 kernel/locking/lockdep.c:5689
might_alloc include/linux/sched/mm.h:271 [inline]
slab_pre_alloc_hook mm/slab.h:728 [inline]
slab_alloc_node mm/slab.c:3241 [inline]
__kmem_cache_alloc_node+0x3b/0x3f0 mm/slab.c:3541
__do_kmalloc_node mm/slab_common.c:966 [inline]
__kmalloc+0x4e/0x190 mm/slab_common.c:980
kmalloc include/linux/slab.h:584 [inline]
tomoyo_realpath_from_path+0xc3/0x600 security/tomoyo/realpath.c:251
tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
tomoyo_path_perm+0x22d/0x430 security/tomoyo/file.c:822
security_inode_getattr+0xd3/0x140 security/security.c:1375
vfs_getattr fs/stat.c:167 [inline]
vfs_statx+0x16e/0x430 fs/stat.c:242
vfs_fstatat+0x90/0xb0 fs/stat.c:276
__do_sys_newfstatat+0x8a/0x110 fs/stat.c:446
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f4143f251da
Code: 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 0b 00 00 00 66 2e 0f 1f 84 00 00 00 00 00 90 41 89 ca b8 06 01 00 00 0f 05 <3d> 00 f0 ff ff 77 07 31 c0 c3 0f 1f 40 00 48 8b 15 69 fc 0c 00 f7
RSP: 002b:00007ffc5e274dc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000106
RAX: ffffffffffffffda RBX: 00007ffc5e275988 RCX: 00007f4143f251da
RDX: 00007ffc5e274dd8 RSI: 00007ffc5e275268 RDI: 00000000ffffff9c
RBP: 00007ffc5e274e68 R08: 0000000000000000 R09: 00005650cde7e110
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc5e275268
R13: 00007ffc5e274dd8 R14: 00005650cde482c0 R15: 0000000000000000