INFO: task jfsCommit:275 blocked for more than 143 seconds. Not tainted 5.15.156-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:jfsCommit state:D stack:26360 pid: 275 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 io_schedule+0x88/0x100 kernel/sched/core.c:8484 __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 diIAGRead+0xcb/0x130 fs/jfs/jfs_imap.c:2669 diFree+0xa7a/0x2fb0 fs/jfs/jfs_imap.c:956 jfs_evict_inode+0x329/0x440 fs/jfs/inode.c:156 evict+0x2a4/0x620 fs/inode.c:587 txUpdateMap+0x825/0x9e0 fs/jfs/jfs_txnmgr.c:2401 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:300 Showing all locks held in the system: 2 locks held by kworker/u4:0/9: #0: ffff888011c79138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffff8880b9b27848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x53d/0x810 kernel/sched/psi.c:891 1 lock held by khungtaskd/27: #0: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by jfsCommit/275: #0: ffff888020770920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x378/0x2fb0 fs/jfs/jfs_imap.c:886 #1: ffff88805501a638 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diFree+0x394/0x2fb0 fs/jfs/jfs_imap.c:891 2 locks held by kworker/u4:3/384: #0: ffff8880b9a3a358 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 #1: ffff8880b9a27848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x53d/0x810 kernel/sched/psi.c:891 2 locks held by kworker/1:3/2925: #0: ffff888011c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc9000bd07d20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 2 locks held by getty/3260: #0: ffff88802461d098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002bab2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 4 locks held by kworker/0:4/3557: 3 locks held by kworker/u4:6/3861: #0: ffff8880b9a3a358 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 #1: ffff8880b9a27848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x53d/0x810 kernel/sched/psi.c:891 #2: ffff88801b67f170 (&lo->lo_work_lock){..-.}-{2:2}, at: spin_lock_irq include/linux/spinlock.h:388 [inline] #2: ffff88801b67f170 (&lo->lo_work_lock){..-.}-{2:2}, at: loop_process_work+0x1a11/0x2af0 drivers/block/loop.c:2277 3 locks held by kworker/1:8/4714: #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90002c77d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8c9240e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #2: ffffffff8c9240e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x280/0x740 kernel/rcu/tree_exp.h:845 3 locks held by syz-executor.3/7444: #0: ffff88814b27a460 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff8880767abfc0 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff8880767abfc0 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: do_unlinkat+0x266/0x950 fs/namei.c:4331 #2: ffffffff8c614708 (mount_lock.seqcount){+.+.}-{0:0} , at: ksys_umount fs/namespace.c:1782 [inline] , at: __do_sys_umount fs/namespace.c:1787 [inline] , at: __se_sys_umount fs/namespace.c:1785 [inline] , at: __x64_sys_umount+0x122/0x170 fs/namespace.c:1785 2 locks held by syz-executor.2/8925: #0: ffff8880484640e0 (&type->s_umount_key#103){+.+.}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:365 #1: ffffffff8c9240e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #1: ffffffff8c9240e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x350/0x740 kernel/rcu/tree_exp.h:845 2 locks held by syz-executor.1/9999: 6 locks held by syz-executor.0/10003: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.156-syzkaller #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+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:300 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 10003 Comm: syz-executor.0 Not tainted 5.15.156-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:check_preemption_disabled+0x7/0x110 lib/smp_processor_id.c:13 Code: 92 8a e8 2c 01 00 00 65 ff 0d c1 a2 e5 75 5b c3 cc cc cc 48 c7 c7 20 f3 d8 8a 48 c7 c6 60 f3 d8 8a eb 00 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 8b 1d c8 RSP: 0018:ffffc90000007118 EFLAGS: 00000283 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8162d288 RDX: 0000000000000000 RSI: ffffffff8ad8f360 RDI: ffffffff8ad8f320 RBP: ffffc90000007290 R08: dffffc0000000000 R09: fffffbfff1bc8b5e R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000000e38 R13: ffffffff818dbe85 R14: 00007f7bdf7d5ea9 R15: dffffc0000000000 FS: 00007f7bddd486c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555557463978 CR3: 000000007ddfd000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:331 [inline] rcu_is_watching+0x11/0xa0 kernel/rcu/tree.c:1123 trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0xb9/0x9a0 kernel/locking/lockdep.c:5634 rcu_read_unlock include/linux/rcupdate.h:772 [inline] is_bpf_text_address+0x24f/0x260 kernel/bpf/core.c:723 kernel_text_address kernel/extable.c:151 [inline] __kernel_text_address+0x94/0x100 kernel/extable.c:105 unwind_get_return_address+0x49/0x80 arch/x86/kernel/unwind_orc.c:323 arch_stack_walk+0xf3/0x140 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] ____kasan_kmalloc+0xba/0xf0 mm/kasan/common.c:513 kasan_kmalloc include/linux/kasan.h:264 [inline] __kmalloc_node_track_caller+0x195/0x390 mm/slub.c:4963 kmalloc_reserve net/core/skbuff.c:356 [inline] __alloc_skb+0x12c/0x590 net/core/skbuff.c:427 __netdev_alloc_skb+0xfb/0x4e0 net/core/skbuff.c:494 netdev_alloc_skb include/linux/skbuff.h:2989 [inline] dev_alloc_skb include/linux/skbuff.h:3002 [inline] __ieee80211_beacon_get+0x968/0x2080 net/mac80211/tx.c:5080 ieee80211_beacon_get_tim+0xb7/0x950 net/mac80211/tx.c:5194 ieee80211_beacon_get include/net/mac80211.h:4981 [inline] mac80211_hwsim_beacon_tx+0xe2/0x8a0 drivers/net/wireless/mac80211_hwsim.c:1812 __iterate_interfaces+0x21e/0x4b0 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0xaf/0x140 net/mac80211/util.c:829 mac80211_hwsim_beacon+0xa7/0x180 drivers/net/wireless/mac80211_hwsim.c:1865 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_run_softirq+0x196/0x2c0 kernel/time/hrtimer.c:1767 __do_softirq+0x3b3/0x93a kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x155/0x240 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:console_trylock_spinning+0x36b/0x3f0 kernel/printk/printk.c:1909 Code: 0f 84 75 ff ff ff e8 54 12 1a 00 fb 31 db eb 48 e8 4a 12 1a 00 e8 15 53 b7 08 4d 85 ed 74 cd e8 3b 12 1a 00 fb bb 01 00 00 00 <48> c7 c7 c0 c3 7f 8c 31 f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 RSP: 0018:ffffc900030b5e60 EFLAGS: 00000246 RAX: ffffffff81664aa5 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc90003541000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc900030b5f30 R08: ffffffff81664a5e R09: fffffbfff1f7ec43 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000616bcc R13: 0000000000000200 R14: 0000000000000046 R15: dffffc0000000000 vprintk_emit+0xa6/0x150 kernel/printk/printk.c:2273 _printk+0xd1/0x120 kernel/printk/printk.c:2299 __nilfs_error+0x18f/0x720 fs/nilfs2/super.c:131 nilfs_bmap_convert_error fs/nilfs2/bmap.c:35 [inline] nilfs_bmap_lookup_contig+0x134/0x160 fs/nilfs2/bmap.c:103 nilfs_get_block+0x241/0x8e0 fs/nilfs2/inode.c:85 do_mpage_readpage+0x6c8/0x1f70 fs/mpage.c:231 mpage_readahead+0x427/0x9b0 fs/mpage.c:389 read_pages+0x159/0x8e0 mm/readahead.c:130 page_cache_ra_unbounded+0x7b0/0x930 mm/readahead.c:239 page_cache_sync_readahead include/linux/pagemap.h:833 [inline] filemap_get_pages mm/filemap.c:2551 [inline] filemap_read+0x71c/0x2980 mm/filemap.c:2634 __kernel_read+0x5ac/0xa60 fs/read_write.c:443 integrity_kernel_read+0xac/0xf0 security/integrity/iint.c:228 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:485 [inline] ima_calc_file_shash security/integrity/ima/ima_crypto.c:516 [inline] ima_calc_file_hash+0xa5d/0x1c00 security/integrity/ima/ima_crypto.c:573 ima_collect_measurement+0x37e/0x800 security/integrity/ima/ima_api.c:255 process_measurement+0x1363/0x21c0 security/integrity/ima/ima_main.c:351 ima_file_check+0xf3/0x180 security/integrity/ima/ima_main.c:533 do_open fs/namei.c:3610 [inline] path_openat+0x2748/0x2f20 fs/namei.c:3742 do_filp_open+0x21c/0x460 fs/namei.c:3769 do_sys_openat2+0x13b/0x500 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1280 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:0x7f7bdf7d5ea9 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:00007f7bddd480c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f7bdf903f80 RCX: 00007f7bdf7d5ea9 RDX: 0000000000000000 RSI: 0000000020000380 RDI: ffffffffffffff9c RBP: 00007f7bdf8224a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f7bdf903f80 R15: 00007ffdac877738