INFO: task syz-executor:5237 blocked for more than 143 seconds. Not tainted 6.12.0-rc2-next-20241008-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:21008 pid:5237 tgid:5237 ppid:1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5322 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6682 __schedule_loop kernel/sched/core.c:6759 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6774 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6831 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 __gfs2_trans_begin+0x55d/0x950 fs/gfs2/trans.c:87 gfs2_trans_begin+0x71/0xe0 fs/gfs2/trans.c:118 gfs2_write_jdata_batch fs/gfs2/aops.c:194 [inline] gfs2_write_cache_jdata+0x60e/0x1fa0 fs/gfs2/aops.c:323 gfs2_jdata_writepages+0x85/0x160 fs/gfs2/aops.c:366 gfs2_ail1_start_one fs/gfs2/log.c:134 [inline] gfs2_ail1_flush+0xb8b/0xf50 fs/gfs2/log.c:215 gfs2_ail1_start fs/gfs2/log.c:246 [inline] empty_ail1_list+0x1a5/0x3c0 fs/gfs2/log.c:978 gfs2_log_flush+0x20f2/0x2610 fs/gfs2/log.c:1130 gfs2_kill_sb+0x5b/0x350 fs/gfs2/ops_fstype.c:1775 deactivate_locked_super+0xc4/0x130 fs/super.c:473 cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1373 task_work_run+0x24f/0x310 kernel/task_work.c:228 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f76d5f7f327 RSP: 002b:00007ffc51be26b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f76d5f7f327 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc51be2770 RBP: 00007ffc51be2770 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffc51be37f0 R13: 00007f76d5ff0134 R14: 000000000000dbec R15: 00007ffc51be3830 INFO: lockdep is turned off. NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc2-next-20241008-syzkaller #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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 8141 Comm: syz.1.947 Not tainted 6.12.0-rc2-next-20241008-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:preempt_count_add+0x6c/0x190 kernel/sched/core.c:5793 Code: a0 7e 48 c7 c0 40 f9 3d 9a 48 c1 e8 03 42 0f b6 04 38 84 c0 0f 85 e4 00 00 00 83 3d 2d bb da 18 00 75 11 65 8b 05 2c 9a a0 7e <0f> b6 c0 3d f5 00 00 00 73 5e 65 8b 05 1b 9a a0 7e 25 ff ff ff 7f RSP: 0018:ffffc90004205870 EFLAGS: 00000246 RAX: 0000000080000001 RBX: 0000000000000001 RCX: ffffffff9a3df903 RDX: dffffc0000000000 RSI: ffffffff81cde13b RDI: 0000000000000001 RBP: ffffc90004205998 R08: 0000000000000016 R09: ffffc90004205a50 R10: ffffc900042059b0 R11: ffffffff8180a490 R12: dffffc0000000000 R13: ffffc90004205960 R14: ffffffff81cde13b R15: dffffc0000000000 FS: 00007f7cbb39a6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f16f408d440 CR3: 0000000042ab8000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_next_frame+0xb0/0x22d0 arch/x86/kernel/unwind_orc.c:479 arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/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:233 [inline] slab_free_hook mm/slub.c:2346 [inline] slab_free mm/slub.c:4605 [inline] kmem_cache_free+0x1a2/0x420 mm/slub.c:4707 free_buffer_head+0x54/0x240 fs/buffer.c:3036 try_to_free_buffers+0x311/0x5f0 fs/buffer.c:2977 shrink_folio_list+0x240c/0x8cc0 mm/vmscan.c:1432 evict_folios+0x549b/0x7b50 mm/vmscan.c:4590 try_to_shrink_lruvec+0x9ab/0xbb0 mm/vmscan.c:4785 lru_gen_shrink_lruvec mm/vmscan.c:4927 [inline] shrink_lruvec+0x541/0x31b0 mm/vmscan.c:5682 shrink_node_memcgs mm/vmscan.c:5918 [inline] shrink_node+0xb09/0x3df0 mm/vmscan.c:5958 shrink_zones mm/vmscan.c:6203 [inline] do_try_to_free_pages+0x78c/0x1cf0 mm/vmscan.c:6265 try_to_free_mem_cgroup_pages+0x48f/0xb10 mm/vmscan.c:6597 try_charge_memcg+0x8c2/0x1170 mm/memcontrol.c:2209 obj_cgroup_charge_pages+0x91/0x230 mm/memcontrol.c:2625 obj_cgroup_charge+0x380/0x5d0 mm/memcontrol.c:2916 __memcg_slab_post_alloc_hook+0x1b1/0x7e0 mm/memcontrol.c:2977 memcg_slab_post_alloc_hook mm/slub.c:2160 [inline] slab_post_alloc_hook mm/slub.c:4121 [inline] slab_alloc_node mm/slub.c:4160 [inline] kmem_cache_alloc_noprof+0x287/0x380 mm/slub.c:4167 alloc_buffer_head+0x2a/0x290 fs/buffer.c:3020 folio_alloc_buffers+0x2bc/0x660 fs/buffer.c:928 create_empty_buffers+0x3a/0x740 fs/buffer.c:1667 block_read_full_folio+0x25c/0xcd0 fs/buffer.c:2382 filemap_read_folio+0x14b/0x630 mm/filemap.c:2367 do_read_cache_folio+0x3f5/0x850 mm/filemap.c:3827 read_mapping_folio include/linux/pagemap.h:1011 [inline] dir_get_folio fs/sysv/dir.c:64 [inline] sysv_readdir+0x193/0x540 fs/sysv/dir.c:93 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:0x7f7cba57dff9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7cbb39a038 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 00007f7cba735f80 RCX: 00007f7cba57dff9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f7cba5f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f7cba735f80 R15: 00007fffc4a17798