INFO: task syz.3.151:4528 blocked for more than 143 seconds. Not tainted 6.1.97-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.151 state:D stack:23888 pid:4528 ppid:3980 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 io_schedule+0x88/0x100 kernel/sched/core.c:8786 folio_wait_bit_common+0x878/0x1290 mm/filemap.c:1296 release_metapage+0x88/0x9b0 fs/jfs/jfs_metapage.c:735 discard_metapage fs/jfs/jfs_metapage.h:88 [inline] __get_metapage+0xb15/0x1040 fs/jfs/jfs_metapage.c:644 dtSplitPage+0x8e3/0x3ec0 fs/jfs/jfs_dtree.c:1468 dtSplitUp fs/jfs/jfs_dtree.c:1089 [inline] dtInsert+0x14fc/0x6b00 fs/jfs/jfs_dtree.c:868 jfs_mkdir+0x7f3/0xbb0 fs/jfs/namei.c:270 vfs_mkdir+0x3b6/0x590 fs/namei.c:4108 do_mkdirat+0x225/0x360 fs/namei.c:4133 __do_sys_mkdirat fs/namei.c:4148 [inline] __se_sys_mkdirat fs/namei.c:4146 [inline] __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4146 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fa6c0d75bd9 RSP: 002b:00007fa6c1ada048 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007fa6c0f04038 RCX: 00007fa6c0d75bd9 RDX: 0000000000000000 RSI: 0000000020000340 RDI: ffffffffffffff9c RBP: 00007fa6c0de4aa1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fa6c0f04038 R15: 00007ffe306a9918 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d12aed0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d12b6d0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516 1 lock held by khungtaskd/27: #0: ffffffff8d12ad00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8d12ad00 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8d12ad00 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6494 4 locks held by kworker/u4:2/36: #0: ffff888014eaa138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc90000ad7d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffff88802452a0e0 (&type->s_umount_key#87){++++}-{3:3}, at: trylock_super+0x1b/0xf0 fs/super.c:415 #3: ffff88805895b008 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x242/0x580 fs/jfs/inode.c:102 2 locks held by kworker/u4:3/46: #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc90000b77d20 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 4 locks held by kworker/u4:4/56: #0: ffff888014eaa138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc90001577d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffff888075c340e0 (&type->s_umount_key#87){++++}-{3:3}, at: trylock_super+0x1b/0xf0 fs/super.c:415 #3: ffff888058ad01c8 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x242/0x580 fs/jfs/inode.c:102 3 locks held by kworker/u4:5/1101: 2 locks held by getty/3315: #0: ffff88814b8f2098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2198 3 locks held by kworker/1:4/3593: 2 locks held by kworker/u4:7/3644: #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc90004dd7d20 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 4 locks held by kworker/u4:8/3659: 4 locks held by kworker/u4:11/3743: #0: ffff888014eaa138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc900031c7d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffff88805804a0e0 (&type->s_umount_key#87){++++}-{3:3}, at: trylock_super+0x1b/0xf0 fs/super.c:415 #3: ffff8880729670c8 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x242/0x580 fs/jfs/inode.c:102 4 locks held by kworker/u4:14/4036: #0: ffff888014eaa138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc900033dfd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffff88805bbea0e0 (&type->s_umount_key#87){++++}-{3:3}, at: trylock_super+0x1b/0xf0 fs/super.c:415 #3: ffff888058ad5508 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x242/0x580 fs/jfs/inode.c:102 3 locks held by kworker/1:10/4038: #0: ffff888012470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc90003217d20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffff888069181240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2cd/0x4120 drivers/net/netdevsim/fib.c:1489 2 locks held by kworker/1:13/4142: #0: ffff888012472138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc90003237d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 3 locks held by kworker/1:15/4498: #0: ffff888012470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc900032b7d20 (xfrm_state_gc_work){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffffffff8d1302f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #2: ffffffff8d1302f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4f0/0x930 kernel/rcu/tree_exp.h:962 4 locks held by syz.3.151/4528: #0: ffff88802452a460 (sb_writers#21){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff88805895b3c0 (&type->i_mutex_dir_key#17/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff88805895b3c0 (&type->i_mutex_dir_key#17/1){+.+.}-{3:3}, at: filename_create+0x25c/0x530 fs/namei.c:3878 #2: ffff88805895b008 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_mkdir+0x234/0xbb0 fs/jfs/namei.c:233 #3: ffff8880729601c8 (&jfs_ip->commit_mutex/1){+.+.}-{3:3}, at: jfs_mkdir+0x24f/0xbb0 fs/jfs/namei.c:234 4 locks held by syz.4.297/5216: 4 locks held by syz.2.433/5733: #0: ffff888075c34460 (sb_writers#21){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff888058ad0580 (&type->i_mutex_dir_key#17/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff888058ad0580 (&type->i_mutex_dir_key#17/1){+.+.}-{3:3}, at: filename_create+0x25c/0x530 fs/namei.c:3878 #2: ffff888058ad01c8 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_mkdir+0x234/0xbb0 fs/jfs/namei.c:233 #3: ffff888058ad26c8 (&jfs_ip->commit_mutex/1){+.+.}-{3:3}, at: jfs_mkdir+0x24f/0xbb0 fs/jfs/namei.c:234 4 locks held by syz.1.509/6011: #0: ffff88805bbea460 (sb_writers#21){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff888058ad58c0 (&type->i_mutex_dir_key#17/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff888058ad58c0 (&type->i_mutex_dir_key#17/1){+.+.}-{3:3}, at: filename_create+0x25c/0x530 fs/namei.c:3878 #2: ffff888058ad5508 (&jfs_ip->commit_mutex ){+.+.}-{3:3} , at: jfs_mkdir+0x234/0xbb0 fs/jfs/namei.c:233 #3: ffff888058ac81c8 (&jfs_ip->commit_mutex/1){+.+.}-{3:3}, at: jfs_mkdir+0x24f/0xbb0 fs/jfs/namei.c:234 3 locks held by syz-executor/6319: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 6.1.97-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b0/0x3f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xf88/0xfd0 kernel/hung_task.c:377 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 6319 Comm: syz-executor Not tainted 6.1.97-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:lookup_object lib/debugobjects.c:195 [inline] RIP: 0010:lookup_object_or_alloc lib/debugobjects.c:564 [inline] RIP: 0010:debug_object_activate+0xac/0x4e0 lib/debugobjects.c:699 Code: fd 48 89 6c 24 20 49 8b 1c 24 45 31 f6 eb 06 48 8b 1b 41 ff c6 48 85 db 74 3c 48 8d 6b 18 48 89 e8 48 c1 e8 03 42 80 3c 38 00 <74> 08 48 89 ef e8 8a e9 a4 fd 4c 39 6d 00 0f 84 f3 00 00 00 48 89 RSP: 0018:ffffc900001e0a98 EFLAGS: 00000046 RAX: 1ffff11003f07eb9 RBX: ffff88801f83f5b0 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffffc900001e0980 RBP: ffff88801f83f5c8 R08: dffffc0000000000 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffffffff91f5ee30 R13: ffff8880601f16e0 R14: 0000000000000003 R15: dffffc0000000000 FS: 0000555555e29500(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3503602ff8 CR3: 000000004759d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: debug_work_activate kernel/workqueue.c:510 [inline] __queue_work+0xb3a/0xf90 kernel/workqueue.c:1519 call_timer_fn+0x1ad/0x6b0 kernel/time/timer.c:1504 expire_timers kernel/time/timer.c:1544 [inline] __run_timers+0x6a8/0x890 kernel/time/timer.c:1820 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1833 handle_softirqs+0x2ee/0xa40 kernel/softirq.c:571 __do_softirq kernel/softirq.c:605 [inline] invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:654 irq_exit_rcu+0x5/0x20 kernel/softirq.c:666 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:console_trylock_spinning kernel/printk/printk.c:1948 [inline] RIP: 0010:vprintk_emit+0x4fa/0x740 kernel/printk/printk.c:2302 Code: 21 e3 0f 85 ad 01 00 00 e8 63 98 1c 00 44 8b 24 24 4d 85 ff 75 07 e8 55 98 1c 00 eb 06 e8 4e 98 1c 00 fb 48 c7 c7 00 6f 00 8d <31> f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 45 31 c9 41 56 e8 ad RSP: 0018:ffffc90003abeac0 EFLAGS: 00000293 RAX: ffffffff816dfbc2 RBX: 0000000000000000 RCX: ffff888025c71dc0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8d006f00 RBP: ffffc90003abebb0 R08: ffffffff816dfb9f R09: fffffbfff209385c R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000056 R13: dffffc0000000000 R14: ffffffff816dfa10 R15: 0000000000000200 _printk+0xd1/0x111 kernel/printk/printk.c:2328 batadv_check_known_mac_addr+0x2b6/0x400 net/batman-adv/hard-interface.c:527 batadv_hard_if_event+0x300/0x1540 net/batman-adv/hard-interface.c:992 notifier_call_chain kernel/notifier.c:87 [inline] raw_notifier_call_chain+0xd0/0x170 kernel/notifier.c:455 call_netdevice_notifiers_info net/core/dev.c:1970 [inline] call_netdevice_notifiers_extack net/core/dev.c:2008 [inline] call_netdevice_notifiers net/core/dev.c:2022 [inline] dev_set_mac_address+0x325/0x470 net/core/dev.c:8845 dev_set_mac_address_user+0x2d/0x50 net/core/dev.c:8859 do_setlink+0x7db/0x3de0 net/core/rtnetlink.c:2756 __rtnl_newlink net/core/rtnetlink.c:3576 [inline] rtnl_newlink+0x172c/0x2050 net/core/rtnetlink.c:3623 rtnetlink_rcv_msg+0x818/0xff0 net/core/rtnetlink.c:6121 netlink_rcv_skb+0x1cd/0x410 net/netlink/af_netlink.c:2508 netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline] netlink_unicast+0x7d8/0x970 net/netlink/af_netlink.c:1352 netlink_sendmsg+0xa26/0xd60 net/netlink/af_netlink.c:1874 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] __sys_sendto+0x480/0x600 net/socket.c:2148 __do_sys_sendto net/socket.c:2160 [inline] __se_sys_sendto net/socket.c:2156 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2156 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f12acd7796c Code: 2a 5a 02 00 44 8b 4c 24 2c 4c 8b 44 24 20 89 c5 44 8b 54 24 28 48 8b 54 24 18 b8 2c 00 00 00 48 8b 74 24 10 8b 7c 24 08 0f 05 <48> 3d 00 f0 ff ff 77 34 89 ef 48 89 44 24 08 e8 70 5a 02 00 48 8b RSP: 002b:00007ffe2ce4da40 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f12ada34620 RCX: 00007f12acd7796c RDX: 000000000000002c RSI: 00007f12ada34670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffe2ce4da94 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f12ada34670 R15: 0000000000000000