INFO: task syz.4.58:5947 blocked for more than 143 seconds. Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.58 state:D stack:22512 pid:5947 tgid:5939 ppid:5382 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x185a/0x4b70 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6782 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6839 rwsem_down_read_slowpath kernel/locking/rwsem.c:1084 [inline] __down_read_common kernel/locking/rwsem.c:1248 [inline] __down_read kernel/locking/rwsem.c:1261 [inline] down_read+0x705/0xa40 kernel/locking/rwsem.c:1526 filemap_invalidate_lock_shared include/linux/fs.h:870 [inline] page_cache_ra_unbounded+0x135/0x8a0 mm/readahead.c:226 do_sync_mmap_readahead+0x499/0x970 filemap_fault+0x8c5/0x1950 mm/filemap.c:3343 __do_fault+0x135/0x460 mm/memory.c:4871 do_shared_fault mm/memory.c:5350 [inline] do_fault mm/memory.c:5424 [inline] do_pte_missing mm/memory.c:3965 [inline] handle_pte_fault+0x1105/0x6800 mm/memory.c:5755 __handle_mm_fault mm/memory.c:5898 [inline] handle_mm_fault+0x1053/0x1ad0 mm/memory.c:6066 do_user_addr_fault arch/x86/mm/fault.c:1389 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x2b9/0x8c0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:filldir64+0x2c0/0x6a0 fs/readdir.c:375 Code: 82 51 02 00 00 0f 01 cb 0f ae e8 48 8b 44 24 60 48 89 43 08 48 8b 4c 24 10 48 8b 44 24 58 48 89 01 48 8b 44 24 18 8b 6c 24 34 <66> 89 41 10 40 88 69 12 4d 63 f5 42 c6 44 31 13 00 4c 8d 79 13 bf RSP: 0018:ffffc90003aa7980 EFLAGS: 00050202 RAX: 0000000000000018 RBX: 0000000020000fd0 RCX: 0000000020000ff0 RDX: ffffc90016201000 RSI: 0000000020000fd0 RDI: 0000000020001008 RBP: 0000000000000008 R08: ffffffff8213aab9 R09: 1ffff110038e5780 R10: dffffc0000000000 R11: ffffed10038e5781 R12: ffff88805b7db320 R13: 0000000000000003 R14: 0000000020001008 R15: 0000000020001008 dir_emit include/linux/fs.h:3663 [inline] ocfs2_dir_foreach_blk_id fs/ocfs2/dir.c:1792 [inline] ocfs2_dir_foreach_blk+0x1603/0x1b20 fs/ocfs2/dir.c:1912 ocfs2_readdir+0x2a1/0x5e0 fs/ocfs2/dir.c:1956 wrap_directory_iterator+0x91/0xd0 fs/readdir.c:65 iterate_dir+0x571/0x800 fs/readdir.c:108 __do_sys_getdents64 fs/readdir.c:407 [inline] __se_sys_getdents64+0x1d3/0x4a0 fs/readdir.c:392 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff0dd37dff9 RSP: 002b:00007ff0de16b038 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 00007ff0dd536058 RCX: 00007ff0dd37dff9 RDX: 0000000000001000 RSI: 0000000020000f80 RDI: 0000000000000007 RBP: 00007ff0dd3f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ff0dd536058 R15: 00007ffc629169f8 Showing all locks held in the system: 3 locks held by kworker/0:0/8: #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc900000d7d00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc900000d7d00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffff88807d76a240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2d1/0x4130 drivers/net/netdevsim/fib.c:1488 1 lock held by khungtaskd/30: #0: ffffffff8e937e20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937e20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937e20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720 3 locks held by kworker/1:2/940: 3 locks held by kworker/u8:6/2451: #0: ffff88814bb6d948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88814bb6d948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90008857d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90008857d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffffffff8fcc0948 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4196 3 locks held by kworker/u8:8/2540: 2 locks held by getty/4973: #0: ffff88802e5f40a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 1 lock held by syz.2.54/5767: #0: ffff8880234ca040 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:860 [inline] #0: ffff8880234ca040 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x20e/0x490 block/fops.c:808 3 locks held by syz.4.58/5947: #0: ffff8880795c42b8 (&f->f_pos_lock){+.+.}-{3:3}, at: fdget_pos+0x24e/0x320 fs/file.c:1160 #1: ffff88805d40b480 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: wrap_directory_iterator+0x5a/0xd0 fs/readdir.c:54 #2: ffff8880234ca040 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:870 [inline] #2: ffff8880234ca040 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0x135/0x8a0 mm/readahead.c:226 2 locks held by syz-executor/7436: 1 lock held by syz.1.249/7635: 2 locks held by syz.0.225/7680: 1 lock held by rm/7689: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 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:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xff4/0x1040 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 36 Comm: kworker/u8:3 Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_unbound kfree_rcu_work RIP: 0010:jhash2 include/linux/jhash.h:129 [inline] RIP: 0010:hash_stack lib/stackdepot.c:514 [inline] RIP: 0010:stack_depot_save_flags+0x99/0x830 lib/stackdepot.c:614 Code: 04 44 03 72 08 44 89 f7 c1 c7 04 44 29 f0 31 c7 41 01 de 29 fb 89 fd c1 c5 06 31 dd 44 01 f7 89 e9 c1 c1 08 41 29 ee 44 31 f1 <01> fd 29 cf 89 c8 c1 c0 10 31 f8 01 e9 89 c3 c1 c3 13 29 c5 31 eb RSP: 0018:ffffc90000ac76c0 EFLAGS: 00000286 RAX: 00000000f74af73b RBX: 000000001dfc5c4e RCX: 00000000e605ed50 RDX: ffffc90000ac7744 RSI: 000000000000000d RDI: 0000000009c2be25 RBP: 0000000041a8ad50 R08: ffffc90000ac7720 R09: 000000000000000b R10: ffffc90000ac75f0 R11: ffffffff81809070 R12: ffff8880322d7400 R13: ffff88801ac41280 R14: 000000004ea8bd11 R15: ffffc90000ac7720 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbf34573000 CR3: 000000007aa9a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kasan_save_stack mm/kasan/common.c:48 [inline] kasan_save_track+0x51/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:579 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x59/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:2342 [inline] slab_free_freelist_hook mm/slub.c:2371 [inline] slab_free_bulk mm/slub.c:4603 [inline] kmem_cache_free_bulk+0x2ea/0x530 mm/slub.c:4847 kfree_bulk include/linux/slab.h:767 [inline] kvfree_rcu_bulk+0x24b/0x4e0 kernel/rcu/tree.c:3385 kfree_rcu_work+0x44b/0x500 kernel/rcu/tree.c:3464 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244