INFO: task syz-executor.3:15580 blocked for more than 143 seconds.
Not tainted 6.9.0-rc5-syzkaller-00159-gc942a0cd3603 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:20976 pid:15580 tgid:15578 ppid:14384 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5409 [inline]
__schedule+0x1796/0x4a00 kernel/sched/core.c:6746
__schedule_loop kernel/sched/core.c:6823 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6838
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895
rwsem_down_read_slowpath kernel/locking/rwsem.c:1086 [inline]
__down_read_common kernel/locking/rwsem.c:1250 [inline]
__down_read kernel/locking/rwsem.c:1263 [inline]
down_read+0x705/0xa40 kernel/locking/rwsem.c:1528
filemap_invalidate_lock_shared include/linux/fs.h:850 [inline]
page_cache_ra_unbounded+0xfb/0x7a0 mm/readahead.c:225
page_cache_sync_readahead include/linux/pagemap.h:1300 [inline]
filemap_get_pages+0x49d/0x2090 mm/filemap.c:2505
filemap_read+0x457/0xfa0 mm/filemap.c:2601
blkdev_read_iter+0x2df/0x440 block/fops.c:754
do_iter_readv_writev+0x5a4/0x800
vfs_readv+0x2ae/0xa50 fs/read_write.c:932
do_preadv fs/read_write.c:1049 [inline]
__do_sys_preadv2 fs/read_write.c:1111 [inline]
__se_sys_preadv2+0x1ca/0x2d0 fs/read_write.c:1102
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f7cad67dea9
RSP: 002b:00007f7cae3d50c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000147
RAX: ffffffffffffffda RBX: 00007f7cad7abf80 RCX: 00007f7cad67dea9
RDX: 0000000000000001 RSI: 0000000020000200 RDI: 0000000000000009
RBP: 00007f7cad6ca4a4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f7cad7abf80 R15: 00007ffe9bf122f8
Showing all locks held in the system:
2 locks held by kworker/u8:0/10:
#0: ffff8880183ce148 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline]
#0: ffff8880183ce148 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3335
#1: ffffc900000f7d00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline]
#1: ffffc900000f7d00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3335
1 lock held by khungtaskd/29:
#0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
#0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline]
#0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
2 locks held by kworker/u8:8/2822:
#0: ffff8880183ce148 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline]
#0: ffff8880183ce148 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3335
#1: ffffc90009f7fd00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline]
#1: ffffc90009f7fd00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3335
2 locks held by getty/4831:
#0: ffff88802fbf90a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002f162f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201
1 lock held by syz-executor.0/9220:
1 lock held by syz-executor.2/10096:
2 locks held by syz-executor.2/10100:
1 lock held by syz-executor.1/12881:
#0: ffff88807b334c18 (&type->i_mutex_dir_key#29){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline]
#0: ffff88807b334c18 (&type->i_mutex_dir_key#29){.+.+}-{3:3}, at: open_last_lookups fs/namei.c:3565 [inline]
#0: ffff88807b334c18 (&type->i_mutex_dir_key#29){.+.+}-{3:3}, at: path_openat+0x7c4/0x3240 fs/namei.c:3796
1 lock held by syz-executor.1/12882:
3 locks held by kworker/1:2H/13369:
2 locks held by kworker/u8:10/15118:
1 lock held by syz-executor.3/15580:
#0: ffff88801d4b3748 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:850 [inline]
#0: ffff88801d4b3748 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0xfb/0x7a0 mm/readahead.c:225
1 lock held by syz-executor.0/15872:
2 locks held by syz-executor.1/16960:
2 locks held by syz-executor.2/16979:
2 locks held by syz-executor.3/16981:
1 lock held by syz-executor.4/16983:
1 lock held by syz-executor.0/16986:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc5-syzkaller-00159-gc942a0cd3603 #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+0x241/0x360 lib/dump_stack.c:114
nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xfde/0x1020 kernel/hung_task.c:380
kthread+0x2f0/0x390 kernel/kthread.c:388
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 10100 Comm: syz-executor.2 Not tainted 6.9.0-rc5-syzkaller-00159-gc942a0cd3603 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:check_preemption_disabled+0x4/0x120 lib/smp_processor_id.c:13
Code: 8c 48 c7 c6 c0 c2 1e 8c eb 1c 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 41 57 41 56 <41> 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44 24 08 65
RSP: 0018:ffffc90002d9dd08 EFLAGS: 00000002
RAX: 0000000000000001 RBX: 1ffff920005b3bb8 RCX: ffffffff819d3e2c
RDX: 0000000000000000 RSI: ffffffff8c1ec2c0 RDI: ffffffff8c1ec280
RBP: ffffc90002d9de28 R08: ffffffff8fa7d2af R09: 1ffffffff1f4fa55
R10: dffffc0000000000 R11: fffffbfff1f4fa56 R12: dffffc0000000000
R13: ffff888016a93dc0 R14: ffffc90002d9ddc0 R15: 0000000000000246
FS: 00007f83d32846c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb8e71ff000 CR3: 0000000064e58000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
mod_objcg_state+0xeb/0x930 mm/memcontrol.c:3367
__memcg_slab_free_hook+0x146/0x1b0 mm/slub.c:2001
memcg_slab_free_hook mm/slub.c:2020 [inline]
slab_free mm/slub.c:4278 [inline]
kmem_cache_free+0x191/0x2c0 mm/slub.c:4344
free_buffer_head+0x55/0x240 fs/buffer.c:3017
try_to_free_buffers+0x311/0x5f0 fs/buffer.c:2958
shrink_folio_list+0x273f/0x8ca0 mm/vmscan.c:1376
shrink_inactive_list mm/vmscan.c:1926 [inline]
shrink_list mm/vmscan.c:2163 [inline]
shrink_lruvec+0x1638/0x2e40 mm/vmscan.c:5687
shrink_node_memcgs mm/vmscan.c:5873 [inline]
shrink_node+0x1189/0x2d60 mm/vmscan.c:5908
shrink_zones mm/vmscan.c:6152 [inline]
do_try_to_free_pages+0x695/0x1af0 mm/vmscan.c:6214
try_to_free_mem_cgroup_pages+0x47a/0xad0 mm/vmscan.c:6529
try_charge_memcg+0x6da/0x18a0 mm/memcontrol.c:2783
try_charge mm/memcontrol.c:2931 [inline]
charge_memcg+0xa2/0x160 mm/memcontrol.c:7284
__mem_cgroup_charge+0x27/0x80 mm/memcontrol.c:7299
mem_cgroup_charge include/linux/memcontrol.h:691 [inline]
__filemap_add_folio+0x3d8/0x1a80 mm/filemap.c:864
filemap_add_folio+0x11e/0x570 mm/filemap.c:947
do_read_cache_folio+0x10a/0x820 mm/filemap.c:3714
do_read_cache_page+0x30/0x200 mm/filemap.c:3813
read_mapping_page include/linux/pagemap.h:888 [inline]
dir_get_page fs/sysv/dir.c:64 [inline]
sysv_find_entry+0x1af/0x410 fs/sysv/dir.c:157
sysv_inode_by_name+0x98/0x1f0 fs/sysv/dir.c:374
sysv_lookup+0x6b/0xe0 fs/sysv/namei.c:38
__lookup_slow+0x28c/0x3f0 fs/namei.c:1692
lookup_slow+0x53/0x70 fs/namei.c:1709
walk_component fs/namei.c:2004 [inline]
link_path_walk+0x9ea/0xea0 fs/namei.c:2331
path_openat+0x24a/0x3240 fs/namei.c:3795
do_filp_open+0x235/0x490 fs/namei.c:3826
do_sys_openat2+0x13e/0x1d0 fs/open.c:1406
do_sys_open fs/open.c:1421 [inline]
__do_sys_openat fs/open.c:1437 [inline]
__se_sys_openat fs/open.c:1432 [inline]
__x64_sys_openat+0x247/0x2a0 fs/open.c:1432
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f83d247dea9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f83d32840c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f83d25ac050 RCX: 00007f83d247dea9
RDX: 0000000000000000 RSI: 0000000020000040 RDI: ffffffffffffff9c
RBP: 00007f83d24ca4a4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f83d25ac050 R15: 00007fff5401f4f8