INFO: task syz-executor.0:8032 blocked for more than 143 seconds. Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28784 pid:8032 tgid:8027 ppid:7304 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5c70 kernel/sched/core.c:6736 __schedule_loop kernel/sched/core.c:6813 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6828 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6885 rwsem_down_read_slowpath+0x61e/0xb20 kernel/locking/rwsem.c:1086 __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x124/0x330 kernel/locking/rwsem.c:1528 inode_lock_shared include/linux/fs.h:803 [inline] lookup_slow fs/namei.c:1708 [inline] walk_component+0x342/0x5b0 fs/namei.c:2004 link_path_walk.part.0.constprop.0+0x77f/0xcd0 fs/namei.c:2331 link_path_walk fs/namei.c:2256 [inline] path_parentat+0xaa/0x1b0 fs/namei.c:2532 __filename_parentat+0x1f0/0x630 fs/namei.c:2556 filename_parentat fs/namei.c:2574 [inline] do_renameat2+0x25a/0xdc0 fs/namei.c:4952 __do_sys_renameat2 fs/namei.c:5074 [inline] __se_sys_renameat2 fs/namei.c:5071 [inline] __x64_sys_renameat2+0xeb/0x130 fs/namei.c:5071 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f6614e7dda9 RSP: 002b:00007f6615ba20c8 EFLAGS: 00000246 ORIG_RAX: 000000000000013c RAX: ffffffffffffffda RBX: 00007f6614fac050 RCX: 00007f6614e7dda9 RDX: 0000000000000004 RSI: 0000000020000100 RDI: 0000000000000004 RBP: 00007f6614eca47a R08: 0000000000000001 R09: 0000000000000000 R10: 0000000020000240 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f6614fac050 R15: 00007ffe6a628d58 INFO: task syz-executor.0:8035 blocked for more than 144 seconds. Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:29328 pid:8035 tgid:8027 ppid:7304 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5c70 kernel/sched/core.c:6736 __schedule_loop kernel/sched/core.c:6813 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6828 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6885 rwsem_down_read_slowpath+0x61e/0xb20 kernel/locking/rwsem.c:1086 __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x124/0x330 kernel/locking/rwsem.c:1528 inode_lock_shared include/linux/fs.h:803 [inline] open_last_lookups fs/namei.c:3565 [inline] path_openat+0x18ce/0x2990 fs/namei.c:3796 do_filp_open+0x1dc/0x430 fs/namei.c:3826 do_sys_openat2+0x17a/0x1e0 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+0x175/0x210 fs/open.c:1432 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f6614e7dda9 RSP: 002b:00007f6615b810c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f6614fac120 RCX: 00007f6614e7dda9 RDX: 0000000000000000 RSI: 00000000200001c0 RDI: ffffffffffffff9c RBP: 00007f6614eca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f6614fac120 R15: 00007ffe6a628d58 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 2 locks held by kworker/u8:4/60: 2 locks held by kworker/u8:8/1094: 2 locks held by getty/4813: #0: ffff88802f1510a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015d02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 2 locks held by syz-executor.0/8028: 1 lock held by syz-executor.0/8032: #0: ffff888060e78188 (&type->i_mutex_dir_key#16){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:803 [inline] #0: ffff888060e78188 (&type->i_mutex_dir_key#16){.+.+}-{3:3}, at: lookup_slow fs/namei.c:1708 [inline] #0: ffff888060e78188 (&type->i_mutex_dir_key#16){.+.+}-{3:3}, at: walk_component+0x342/0x5b0 fs/namei.c:2004 1 lock held by syz-executor.0/8035: #0: ffff888060e78188 (&type->i_mutex_dir_key#16){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:803 [inline] #0: ffff888060e78188 (&type->i_mutex_dir_key#16){.+.+}-{3:3}, at: open_last_lookups fs/namei.c:3565 [inline] #0: ffff888060e78188 (&type->i_mutex_dir_key#16){.+.+}-{3:3}, at: path_openat+0x18ce/0x2990 fs/namei.c:3796 2 locks held by syz-executor.3/8177: 1 lock held by udevd/9651: #0: ffff88801d49a040 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:848 [inline] #0: ffff88801d49a040 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: page_cache_ra_unbounded+0x138/0x5f0 mm/readahead.c:225 4 locks held by syz-executor.3/10107: 1 lock held by syz-executor.0/10120: 1 lock held by syz-executor.2/10125: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 30 Comm: khungtaskd Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #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+0x116/0x1f0 lib/dump_stack.c:114 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xf86/0x1210 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 9651 Comm: udevd Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:rol32 include/linux/bitops.h:126 [inline] RIP: 0010:iterate_chain_key kernel/locking/lockdep.c:448 [inline] RIP: 0010:__lock_acquire+0xcd7/0x3b30 kernel/locking/lockdep.c:5125 Code: 06 31 ca 01 d8 29 d3 89 d9 89 d3 01 c2 c1 c3 08 31 cb 89 d9 29 d8 01 d3 c1 c1 10 89 de 31 c8 89 c1 29 c2 01 d8 c1 c9 0d 31 d1 <89> ca 29 ce 01 c8 c1 c2 04 89 c0 31 f2 48 c1 e2 20 48 09 c2 48 b8 RSP: 0018:ffffc90004486ea8 EFLAGS: 00000082 RAX: 0000000066952c52 RBX: 0000000042b8a976 RCX: 00000000d459baa1 RDX: 00000000c2b8a445 RSI: 0000000042b8a976 RDI: ffffffff93da76a8 RBP: ffffffff93da8f68 R08: 0000000000000000 R09: fffffbfff27b4e30 R10: ffffffff93da7187 R11: 0000000000000002 R12: ffffed1007e898da R13: 0000000000000001 R14: ffff88803f44c728 R15: 0000000000000002 FS: 00007fea854a9c80(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3312f000 CR3: 00000000828e4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1b1/0x540 kernel/locking/lockdep.c:5719 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162 __debug_check_no_obj_freed lib/debugobjects.c:978 [inline] debug_check_no_obj_freed+0x1d0/0x600 lib/debugobjects.c:1019 slab_free_hook mm/slub.c:2078 [inline] slab_free mm/slub.c:4280 [inline] kmem_cache_free+0x265/0x360 mm/slub.c:4344 mempool_free+0xe7/0x3b0 mm/mempool.c:554 bio_put_percpu_cache block/bio.c:789 [inline] bio_put+0x355/0x5b0 block/bio.c:808 mpage_read_end_io+0x30e/0x3a0 fs/mpage.c:59 bio_endio+0x5bb/0x6d0 block/bio.c:1603 req_bio_endio block/blk-mq.c:791 [inline] blk_update_request+0x647/0x1730 block/blk-mq.c:936 blk_mq_end_request block/blk-mq.c:1059 [inline] blk_mq_plug_issue_direct+0x202/0x6d0 block/blk-mq.c:2717 blk_mq_flush_plug_list.part.0+0x15b4/0x1d60 block/blk-mq.c:2815 blk_mq_flush_plug_list+0x62/0x80 block/blk-mq.c:2792 __blk_flush_plug+0x2c5/0x480 block/blk-core.c:1188 blk_finish_plug block/blk-core.c:1214 [inline] blk_finish_plug+0x53/0xa0 block/blk-core.c:1211 read_pages+0x675/0xda0 mm/readahead.c:183 page_cache_ra_unbounded+0x455/0x5f0 mm/readahead.c:269 do_page_cache_ra mm/readahead.c:299 [inline] force_page_cache_ra+0x277/0x380 mm/readahead.c:330 page_cache_sync_ra+0xdc/0x1d0 mm/readahead.c:689 page_cache_sync_readahead include/linux/pagemap.h:1300 [inline] filemap_get_pages+0xc0f/0x1840 mm/filemap.c:2507 filemap_read+0x39b/0xcf0 mm/filemap.c:2603 blkdev_read_iter+0x191/0x510 block/fops.c:754 call_read_iter include/linux/fs.h:2102 [inline] new_sync_read fs/read_write.c:395 [inline] vfs_read+0x6c0/0xb80 fs/read_write.c:476 ksys_read+0x12f/0x260 fs/read_write.c:619 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7fea8557fb6a Code: 00 3d 00 00 41 00 75 0d 50 48 8d 3d 2d 08 0a 00 e8 ea 7d 01 00 31 c0 e9 07 ff ff ff 64 8b 04 25 18 00 00 00 85 c0 75 1b 0f 05 <48> 3d 00 f0 ff ff 76 6c 48 8b 15 8f a2 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffce49f1eb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fea8557fb6a RDX: 0000000000000400 RSI: 000055be08edd368 RDI: 0000000000000009 RBP: 0000000000000400 R08: 000055be08edd340 R09: 0000000000000008 R10: 0000000000000051 R11: 0000000000000246 R12: 000055be08edd340 R13: 000055be08edd358 R14: 000055be08ed0368 R15: 000055be08ed0310