INFO: task syz-executor:4166 blocked for more than 143 seconds. Not tainted 5.15.179-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:20504 pid: 4166 ppid: 1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5029 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6375 schedule+0x11b/0x1f0 kernel/sched/core.c:6458 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6517 __mutex_lock_common+0xe34/0x25a0 kernel/locking/mutex.c:669 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743 lmLogClose+0xae/0x530 fs/jfs/jfs_logmgr.c:1452 jfs_umount+0x298/0x370 fs/jfs/jfs_umount.c:116 jfs_put_super+0x86/0x180 fs/jfs/super.c:194 generic_shutdown_super+0x130/0x310 fs/super.c:475 kill_block_super+0x7a/0xe0 fs/super.c:1427 deactivate_locked_super+0xa0/0x110 fs/super.c:335 cleanup_mnt+0x44e/0x500 fs/namespace.c:1143 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:0x7f493de59497 RSP: 002b:00007fff87dd9b78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f493ded908c RCX: 00007f493de59497 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff87dd9c30 RBP: 00007fff87dd9c30 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fff87ddacc0 R13: 00007f493ded908c R14: 00000000000146b7 R15: 00007fff87ddad00 INFO: task syz-executor:4170 blocked for more than 143 seconds. Not tainted 5.15.179-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:18360 pid: 4170 ppid: 1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5029 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6375 schedule+0x11b/0x1f0 kernel/sched/core.c:6458 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6517 __mutex_lock_common+0xe34/0x25a0 kernel/locking/mutex.c:669 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743 lmLogClose+0xae/0x530 fs/jfs/jfs_logmgr.c:1452 jfs_umount+0x298/0x370 fs/jfs/jfs_umount.c:116 jfs_put_super+0x86/0x180 fs/jfs/super.c:194 generic_shutdown_super+0x130/0x310 fs/super.c:475 kill_block_super+0x7a/0xe0 fs/super.c:1427 deactivate_locked_super+0xa0/0x110 fs/super.c:335 cleanup_mnt+0x44e/0x500 fs/namespace.c:1143 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:0x7fd4325dc497 RSP: 002b:00007ffc00762908 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fd43265c08c RCX: 00007fd4325dc497 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc007629c0 RBP: 00007ffc007629c0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffc00763a50 R13: 00007fd43265c08c R14: 00000000000144e3 R15: 00007ffc00763a90 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8cb1f4e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by dhcpcd/3837: #0: ffffffff8dc43ac8 (rtnl_mutex){+.+.}-{3:3}, at: __netlink_dump_start+0x136/0x6e0 net/netlink/af_netlink.c:2334 2 locks held by getty/3925: #0: ffff88802bea7098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002cce2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 2 locks held by syz-executor/4166: #0: ffff88807efb20e0 (&type->s_umount_key#52){+.+.}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:365 #1: ffffffff8cecc5e8 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xae/0x530 fs/jfs/jfs_logmgr.c:1452 2 locks held by syz-executor/4169: #0: ffff8880287a60e0 (&type->s_umount_key#52){+.+.}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:365 #1: ffffffff8cecc5e8 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xae/0x530 fs/jfs/jfs_logmgr.c:1452 2 locks held by syz-executor/4170: #0: ffff88807d1480e0 (&type->s_umount_key#52){+.+.}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:365 #1: ffffffff8cecc5e8 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xae/0x530 fs/jfs/jfs_logmgr.c:1452 3 locks held by kworker/1:5/4212: #0: ffff888017470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90003097d20 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff88807e83b400 (&nsim_dev->port_list_lock#2){+.+.}-{3:3}, at: nsim_dev_trap_report_work+0x56/0xab0 drivers/net/netdevsim/dev.c:757 3 locks held by kworker/1:7/4216: #0: ffff88802b2b2138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900030d7d20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8dc43ac8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd8/0x16f0 net/ipv6/addrconf.c:4113 2 locks held by kworker/0:5/4217: #0: ffff888017472138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900030e7d20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 3 locks held by kworker/0:8/4256: #0: ffff88802b2b2138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900031d7d20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8dc43ac8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd8/0x16f0 net/ipv6/addrconf.c:4113 3 locks held by kworker/0:9/4308: #0: ffff888017470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90002e67d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8cb23aa8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #2: ffffffff8cb23aa8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x280/0x740 kernel/rcu/tree_exp.h:845 1 lock held by syz-executor/4338: #0: ffff8880624000e0 (&type->s_umount_key#52){+.+.}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:365 1 lock held by syz-executor/4368: #0: ffff8880795940e0 (&type->s_umount_key#52){+.+.}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:365 1 lock held by syz-executor/4369: #0: ffff88807ef480e0 (&type->s_umount_key#52){+.+.}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:365 1 lock held by syz-executor/4370: #0: ffff88804a7700e0 (&type->s_umount_key#52){+.+.}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:365 1 lock held by syz-executor/4371: #0: ffff88807908c0e0 (&type->s_umount_key#52){+.+.}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:365 8 locks held by syz-executor/6084: #0: ffff88802c752460 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x29a/0xe50 fs/read_write.c:590 #1: ffff88804e2f9888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1e7/0x4f0 fs/kernfs/file.c:287 #2: ffff88802334aa00 (kn->active#293){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20b/0x4f0 fs/kernfs/file.c:288 #3: ffffffff8d584148 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xf1/0x470 drivers/net/netdevsim/bus.c:344 #4: ffff88807e83a178 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #4: ffff88807e83a178 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1044 [inline] #4: ffff88807e83a178 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xc2/0x7f0 drivers/base/dd.c:1259 #5: ffff88807e83b400 (&nsim_dev->port_list_lock#2){+.+.}-{3:3}, at: nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1359 [inline] #5: ffff88807e83b400 (&nsim_dev->port_list_lock#2){+.+.}-{3:3}, at: nsim_dev_reload_destroy+0x118/0x240 drivers/net/netdevsim/dev.c:1561 #6: ffffffff8dc43ac8 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x3a/0x140 drivers/net/netdevsim/netdev.c:381 #7: ffffffff8cb23aa8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #7: ffffffff8cb23aa8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x350/0x740 kernel/rcu/tree_exp.h:845 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.179-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 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:212 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:369 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: 144 Comm: kworker/u4:1 Not tainted 5.15.179-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: bat_events batadv_nc_worker RIP: 0010:kasan_check_range+0x1ac/0x290 mm/kasan/generic.c:189 Code: 4c 89 d5 48 8d 5d 07 48 85 ed 48 0f 49 dd 48 83 e3 f8 48 29 dd 74 12 41 80 39 00 0f 85 a2 00 00 00 49 ff c1 48 ff cd 75 ee 5b <41> 5e 41 5f 5d c3 45 84 f6 75 61 41 f7 c6 00 ff 00 00 75 5d 41 f7 RSP: 0018:ffffc9000163f980 EFLAGS: 00000056 RAX: 0000000000000001 RBX: ffff8880189f2900 RCX: ffffffff8162f3ef RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff9098f0c0 RBP: 0000000000000001 R08: dffffc0000000000 R09: fffffbfff2131e19 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000002 R13: ffff8880189f28a8 R14: fffffbfff2131e19 R15: ffff8880189f2920 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffef0471ff8 CR3: 000000005de42000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] __lock_acquire+0xcef/0x1ff0 kernel/locking/lockdep.c:4982 lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:312 rcu_read_lock include/linux/rcupdate.h:739 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0xc1/0x5b0 net/batman-adv/network-coding.c:723 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287