INFO: task syz.4.846:14816 blocked for more than 143 seconds. Not tainted 6.12.0-rc1-syzkaller-00042-gf23aa4c0761a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.846 state:D stack:24736 pid:14816 tgid:14815 ppid:14716 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0x1843/0x4ae0 kernel/sched/core.c:6675 __schedule_loop kernel/sched/core.c:6752 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6767 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6824 rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1d7/0x220 kernel/locking/rwsem.c:1578 __super_lock fs/super.c:56 [inline] super_lock+0x196/0x400 fs/super.c:120 user_get_super+0xd2/0x180 fs/super.c:1000 quotactl_block fs/quota/quota.c:890 [inline] __do_sys_quotactl fs/quota/quota.c:955 [inline] __se_sys_quotactl+0x527/0xa30 fs/quota/quota.c:917 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:0x7fad7237dff9 RSP: 002b:00007fad730ca038 EFLAGS: 00000246 ORIG_RAX: 00000000000000b3 RAX: ffffffffffffffda RBX: 00007fad72535f80 RCX: 00007fad7237dff9 RDX: 0000000000000000 RSI: 0000000020000100 RDI: ffffffff80000202 RBP: 00007fad723f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fad72535f80 R15: 00007fffba92cab8 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720 1 lock held by kworker/0:1H/99: #0: ffff8880b863ea58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:593 1 lock held by dhcpcd/4888: #0: ffffffff8fcbf208 (rtnl_mutex){+.+.}-{3:3}, at: devinet_ioctl+0x2ce/0x1aa0 net/ipv4/devinet.c:1097 2 locks held by getty/4977: #0: ffff88814bd120a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 2 locks held by syz-executor/13872: #0: ffff888059f2e0e0 (&type->s_umount_key#79){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff888059f2e0e0 (&type->s_umount_key#79){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff888059f2e0e0 (&type->s_umount_key#79){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed5bf28 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 1 lock held by syz.4.818/14610: #0: ffff888059f2e0e0 (&type->s_umount_key#79){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff888059f2e0e0 (&type->s_umount_key#79){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.2.835/14703: #0: ffff888059f2e0e0 (&type->s_umount_key#79){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff888059f2e0e0 (&type->s_umount_key#79){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.4.846/14816: #0: ffff888059f2e0e0 (&type->s_umount_key#79){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff888059f2e0e0 (&type->s_umount_key#79){++++}-{3:3}, at: super_lock+0x196/0x400 fs/super.c:120 1 lock held by syz.1.885/15101: #0: ffff888059f2e0e0 (&type->s_umount_key#79){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff888059f2e0e0 (&type->s_umount_key#79){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 5 locks held by kworker/u8:11/15601: #0: ffff88801baeb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801baeb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90004b1fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90004b1fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffffffff8fcb2710 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:580 #3: ffffffff8fcbf208 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0xe9/0xaa0 net/core/dev.c:11930 #4: ffffffff8e93d378 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #4: ffffffff8e93d378 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 1 lock held by syz.4.984/15739: #0: ffff888059f2e0e0 (&type->s_umount_key#79){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff888059f2e0e0 (&type->s_umount_key#79){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz-executor/16115: #0: ffff888076c600e0 (&type->s_umount_key#79){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff888076c600e0 (&type->s_umount_key#79){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff888076c600e0 (&type->s_umount_key#79){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 1 lock held by syz.4.1023/16204: 1 lock held by syz.4.1023/16205: #0: ffff888023450940 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:870 [inline] #0: ffff888023450940 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0x135/0x8a0 mm/readahead.c:226 2 locks held by syz.0.1028/16258: #0: ffff888031aae0e0 (&type->s_umount_key#78/1){+.+.}-{3:3}, at: alloc_super+0x221/0x9d0 fs/super.c:344 #1: ffffffff8ed5bf28 (jfs_log_mutex){+.+.}-{3:3}, at: open_dummy_log fs/jfs/jfs_logmgr.c:1191 [inline] #1: ffffffff8ed5bf28 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogOpen+0x1b2/0x1040 fs/jfs/jfs_logmgr.c:1066 1 lock held by syz-executor/16478: #0: ffffffff8fcbf208 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fcbf208 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6643 3 locks held by kworker/u8:21/16490: #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc900044a7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc900044a7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffffffff8fcbf208 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 1 lock held by syz.4.1055/16514: #0: ffffffff8e93d378 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #0: ffffffff8e93d378 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 1 lock held by syz-executor/16532: #0: ffffffff8fcbf208 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fcbf208 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6643 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc1-syzkaller-00042-gf23aa4c0761a #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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 16486 Comm: kworker/u8:18 Not tainted 6.12.0-rc1-syzkaller-00042-gf23aa4c0761a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_release kernel/locking/lockdep.c:5479 [inline] RIP: 0010:lock_release+0x1c3/0xa30 kernel/locking/lockdep.c:5846 Code: 80 3c 3b 00 74 08 4c 89 f7 e8 d9 fc 8a 00 48 8b 9c 24 b0 00 00 00 fa 48 c7 c7 a0 d7 0a 8c e8 f4 58 4c 0a 65 ff 05 fd 1d 92 7e <48> 8d 94 24 80 00 00 00 48 c1 ea 03 42 0f b6 04 3a 84 c0 0f 85 6e RSP: 0018:ffffc900099c7960 EFLAGS: 00000002 RAX: 0000000000000000 RBX: 0000000000000246 RCX: ffffffff81706b70 RDX: 0000000000000000 RSI: ffffffff8c0ad7a0 RDI: ffffffff8c602460 RBP: ffffc900099c7a98 R08: ffffffff901bb9ef R09: 1ffffffff203773d R10: dffffc0000000000 R11: fffffbfff203773e R12: 1ffff92001338f38 R13: ffffffff8b86ebc2 R14: ffffc900099c7a10 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005633ac926058 CR3: 000000000e734000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:165 [inline] _raw_spin_unlock_bh+0x1b/0x40 kernel/locking/spinlock.c:210 spin_unlock_bh include/linux/spinlock.h:396 [inline] batadv_nc_purge_paths+0x312/0x3b0 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x365/0x610 net/batman-adv/network-coding.c:722 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 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