INFO: task jfsCommit:276 blocked for more than 143 seconds. Not tainted 5.15.176-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:jfsCommit state:D stack:27896 pid: 276 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 io_schedule+0x88/0x100 kernel/sched/core.c:8481 __lock_metapage+0x1ec/0x3c0 fs/jfs/jfs_metapage.c:49 lock_metapage fs/jfs/jfs_metapage.c:63 [inline] __get_metapage+0x495/0x1070 fs/jfs/jfs_metapage.c:640 dbUpdatePMap+0x365/0xf50 fs/jfs/jfs_dmap.c:490 txAllocPMap+0x57b/0x6b0 fs/jfs/jfs_txnmgr.c:2459 txUpdateMap+0x7c8/0x9e0 fs/jfs/jfs_txnmgr.c:2397 txLazyCommit fs/jfs/jfs_txnmgr.c:2698 [inline] jfs_lazycommit+0x470/0xc30 fs/jfs/jfs_txnmgr.c:2766 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 INFO: task jfsCommit:277 blocked for more than 143 seconds. Not tainted 5.15.176-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:jfsCommit state:D stack:27896 pid: 277 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6515 rwsem_down_read_slowpath+0x605/0xb40 kernel/locking/rwsem.c:1055 __down_read_common kernel/locking/rwsem.c:1239 [inline] __down_read kernel/locking/rwsem.c:1252 [inline] down_read_nested+0x9c/0x2f0 kernel/locking/rwsem.c:1624 diUpdatePMap+0x96/0xd90 fs/jfs/jfs_imap.c:2747 txUpdateMap+0x710/0x9e0 fs/jfs/jfs_txnmgr.c:2390 txLazyCommit fs/jfs/jfs_txnmgr.c:2698 [inline] jfs_lazycommit+0x470/0xc30 fs/jfs/jfs_txnmgr.c:2766 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 INFO: task syz-executor208:4172 blocked for more than 144 seconds. Not tainted 5.15.176-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor208 state:D stack:25472 pid: 4172 ppid: 4164 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 io_schedule+0x88/0x100 kernel/sched/core.c:8481 __lock_metapage+0x1ec/0x3c0 fs/jfs/jfs_metapage.c:49 lock_metapage fs/jfs/jfs_metapage.c:63 [inline] __get_metapage+0x495/0x1070 fs/jfs/jfs_metapage.c:640 dbAllocCtl+0xdb/0x9a0 fs/jfs/jfs_dmap.c:1884 dbAllocAG+0x28b/0x10b0 fs/jfs/jfs_dmap.c:1432 dbAlloc+0x654/0xc90 fs/jfs/jfs_dmap.c:888 diNewIAG fs/jfs/jfs_imap.c:2510 [inline] diAllocExt fs/jfs/jfs_imap.c:1905 [inline] diAllocAG+0xa95/0x1e50 fs/jfs/jfs_imap.c:1669 diAlloc+0x1ce/0x1630 fs/jfs/jfs_imap.c:1590 ialloc+0x8b/0x970 fs/jfs/jfs_inode.c:56 jfs_mkdir+0x1c1/0xbb0 fs/jfs/namei.c:225 vfs_mkdir+0x3b6/0x590 fs/namei.c:4065 do_mkdirat+0x260/0x520 fs/namei.c:4090 __do_sys_mkdirat fs/namei.c:4105 [inline] __se_sys_mkdirat fs/namei.c:4103 [inline] __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4103 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f48ec232d09 RSP: 002b:00007ffe9da10c88 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f48ec232d09 RDX: 0000000000000000 RSI: 00000000200005c0 RDI: 00000000ffffff9c RBP: 00000000000f4240 R08: 000055559445f378 R09: 000055559445f378 R10: 000055559445f378 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffe9da10cc0 R14: 00007ffe9da10cac R15: 00007f48ec27b03b Showing all locks held in the system: 2 locks held by kworker/0:0/7: #0: ffff888017472138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90000cc7d20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 1 lock held by khungtaskd/27: #0: ffffffff8cb1fce0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by jfsCommit/277: #0: ffff88806e00a638 (&jfs_ip->rdwrlock/1){++++}-{3:3}, at: diUpdatePMap+0x96/0xd90 fs/jfs/jfs_imap.c:2747 2 locks held by getty/3925: #0: ffff88807f1c2098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900025c62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 6 locks held by syz-executor208/4172: #0: ffff8881495ce460 (sb_writers#9){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88806e00f480 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff88806e00f480 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: filename_create+0x25c/0x530 fs/namei.c:3835 #2: ffff88802b7d0920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diAlloc+0x1b2/0x1630 #3: ffff88802b7d0890 (&imap->im_freelock){+.+.}-{3:3}, at: diNewIAG fs/jfs/jfs_imap.c:2460 [inline] #3: ffff88802b7d0890 (&imap->im_freelock){+.+.}-{3:3}, at: diAllocExt fs/jfs/jfs_imap.c:1905 [inline] #3: ffff88802b7d0890 (&imap->im_freelock){+.+.}-{3:3}, at: diAllocAG+0x4af/0x1e50 fs/jfs/jfs_imap.c:1669 #4: ffff88806e00a638 (&jfs_ip->rdwrlock/1){++++}-{3:3}, at: diNewIAG fs/jfs/jfs_imap.c:2477 [inline] #4: ffff88806e00a638 (&jfs_ip->rdwrlock/1){++++}-{3:3}, at: diAllocExt fs/jfs/jfs_imap.c:1905 [inline] #4: ffff88806e00a638 (&jfs_ip->rdwrlock/1){++++}-{3:3}, at: diAllocAG+0x861/0x1e50 fs/jfs/jfs_imap.c:1669 #5: ffff88806e0093b8 (&jfs_ip->rdwrlock#2/2){+.+.}-{3:3}, at: dbAlloc+0x63d/0xc90 fs/jfs/jfs_dmap.c:883 2 locks held by syz-executor208/5449: #0: ffff88806e0133c0 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #0: ffff88806e0133c0 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: lock_mount+0x62/0x2c0 fs/namespace.c:2248 #1: ffffffff8cb242a8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #1: ffffffff8cb242a8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x280/0x740 kernel/rcu/tree_exp.h:845 1 lock held by syz-executor208/5450: #0: ffff88806e0133c0 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #0: ffff88806e0133c0 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: lock_mount+0x62/0x2c0 fs/namespace.c:2248 2 locks held by syz-executor208/5451: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.176-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5451 Comm: syz-executor208 Not tainted 5.15.176-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:unwind_next_frame+0x41b/0x1fa0 arch/x86/kernel/unwind_orc.c:461 Code: 0f b6 04 10 84 c0 0f 85 c5 14 00 00 c6 03 01 49 c7 c6 a0 96 a8 8a 49 8d 6e 04 49 8d 5e 05 49 89 ec 49 c1 ec 03 41 0f b6 04 14 <84> c0 0f 85 33 14 00 00 48 89 d8 48 c1 e8 03 0f b6 04 10 84 c0 0f RSP: 0018:ffffc900049f7128 EFLAGS: 00000a03 RAX: 0000000000000000 RBX: ffffffff8e89e44d RCX: ffffffff8e1e4cd8 RDX: dffffc0000000000 RSI: ffffffff8e89e448 RDI: ffffffff8e1e4cd4 RBP: ffffffff8e89e44c R08: 0000000000000003 R09: ffffc900049f72d0 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff1d13c89 R13: ffffffff81ad5878 R14: ffffffff8e89e448 R15: ffffc900049f71e0 FS: 000055559445e380(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f48e4562000 CR3: 000000002a02c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 save_stack+0xf6/0x1e0 mm/page_owner.c:119 __reset_page_owner+0x52/0x180 mm/page_owner.c:140 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0xc34/0xcf0 mm/page_alloc.c:3317 free_unref_page_list+0x1f7/0x8e0 mm/page_alloc.c:3433 release_pages+0x1bb9/0x1f40 mm/swap.c:963 __pagevec_release+0x80/0xf0 mm/swap.c:983 pagevec_release include/linux/pagevec.h:81 [inline] shmem_undo_range+0x67a/0x1b50 mm/shmem.c:964 shmem_truncate_range mm/shmem.c:1063 [inline] shmem_evict_inode+0x21b/0xa00 mm/shmem.c:1145 evict+0x529/0x930 fs/inode.c:622 __dentry_kill+0x436/0x650 fs/dcache.c:586 dentry_kill+0xbb/0x290 dput+0xd8/0x1a0 fs/dcache.c:893 __fput+0x636/0x8e0 fs/file_table.c:288 task_work_run+0x129/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f48ec231f60 Code: ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 80 3d 41 f1 07 00 00 74 17 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c RSP: 002b:00007ffe9da10af8 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 00007ffe9da10b10 RCX: 00007f48ec231f60 RDX: 0000000000000010 RSI: 0000000000004c00 RDI: 0000000000000003 RBP: 0000000000000004 R08: 0000000000005f14 R09: 0000000000005f10 R10: 0000000000000000 R11: 0000000000000202 R12: 000000000001c802 R13: 00007ffe9da10b50 R14: 0000000000000003 R15: 000055559445e338 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.721 msecs