INFO: task syz.1.725:10869 blocked for more than 144 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.725 state:D stack:0 pid:10869 tgid:10844 ppid:4878 task_flags:0x400040 flags:0x00800001 Call trace: __switch_to+0x2b4/0x6e4 arch/arm64/kernel/process.c:792 (T) context_switch kernel/sched/core.c:5583 [inline] __schedule+0x1368/0x2b50 kernel/sched/core.c:7382 __schedule_loop kernel/sched/core.c:7459 [inline] schedule+0x13c/0x20c kernel/sched/core.c:7474 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:7531 rwsem_down_read_slowpath+0x544/0x7f8 kernel/locking/rwsem.c:1114 __down_read_common kernel/locking/rwsem.c:1291 [inline] __down_read kernel/locking/rwsem.c:1304 [inline] down_read+0xa0/0x2bc kernel/locking/rwsem.c:1576 __super_lock fs/super.c:62 [inline] super_lock+0x258/0x344 fs/super.c:124 user_get_super+0xb8/0x1bc fs/super.c:1022 quotactl_block fs/quota/quota.c:889 [inline] __do_sys_quotactl fs/quota/quota.c:955 [inline] __se_sys_quotactl fs/quota/quota.c:917 [inline] __arm64_sys_quotactl+0x4c8/0x90c fs/quota/quota.c:917 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xec/0x23c arch/arm64/kernel/syscall.c:121 do_el0_svc+0x4c/0x5c arch/arm64/kernel/syscall.c:140 el0_svc+0x60/0x1d8 arch/arm64/kernel/entry-common.c:797 el0t_64_sync_handler+0x44/0x104 arch/arm64/kernel/entry-common.c:816 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:606 INFO: task kmmpd-loop1:10858 blocked for more than 144 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kmmpd-loop1 state:D stack:0 pid:10858 tgid:10858 ppid:2 task_flags:0x208040 flags:0x00000010 Call trace: __switch_to+0x2b4/0x6e4 arch/arm64/kernel/process.c:792 (T) context_switch kernel/sched/core.c:5583 [inline] __schedule+0x1368/0x2b50 kernel/sched/core.c:7382 __schedule_loop kernel/sched/core.c:7459 [inline] schedule+0x13c/0x20c kernel/sched/core.c:7474 percpu_rwsem_wait+0x2a0/0x2f8 kernel/locking/percpu-rwsem.c:164 __percpu_down_read+0x84/0xb4 kernel/locking/percpu-rwsem.c:180 percpu_down_read_internal include/linux/percpu-rwsem.h:67 [inline] percpu_down_read_freezable include/linux/percpu-rwsem.h:83 [inline] __sb_start_write include/linux/fs/super.h:19 [inline] sb_start_write include/linux/fs/super.h:125 [inline] class_super_write_constructor include/linux/fs/super.h:130 [inline] write_mmp_block+0x358/0x3e4 fs/ext4/mmp.c:63 kmmpd+0x2fc/0x938 fs/ext4/mmp.c:173 kthread+0x304/0x3d4 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854 Showing all locks held in the system: locks held by kworker/0:0/9: 3, last CPU#0: #0: ffff0000c002ad48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #0: ffff0000c002ad48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578 #1: ffff80008fa17c20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #1: ffff80008fa17c20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578 #2: ffff0000c59a8258 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x198/0x320 drivers/net/netdevsim/fib.c:1490 locks held by khungtaskd/31: 1, last CPU#0: #0: ffff800089aa56a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff800089aa56a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff800089aa56a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x4c/0x188 kernel/locking/lockdep.c:6871 locks held by kworker/u8:3/48: 6, on CPU#1: #0: ffff0000c004e148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #0: ffff0000c004e148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578 #1: ffff800092027c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #1: ffff800092027c20 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578 #2: ffff80008abc2208 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x104/0x6c4 net/core/net_namespace.c:679 #3: ffff0000e9814128 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1109 [inline] #3: ffff0000e9814128 (&dev->mutex){....}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:124 [inline] #3: ffff0000e9814128 (&dev->mutex){....}-{4:4}, at: devlink_pernet_pre_exit+0x104/0x390 net/devlink/core.c:581 #4: ffff0000e9810258 (&devlink->lock_key#16){+.+.}-{4:4}, at: devl_lock net/devlink/core.c:314 [inline] #4: ffff0000e9810258 (&devlink->lock_key#16){+.+.}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:125 [inline] #4: ffff0000e9810258 (&devlink->lock_key#16){+.+.}-{4:4}, at: devlink_pernet_pre_exit+0x118/0x390 net/devlink/core.c:581 #5: ffff80008abcf5a0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 locks held by kworker/u8:5/242: 3, on CPU#0: #0: ffff0000c3a64948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #0: ffff0000c3a64948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578 #1: ffff800093857c20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #1: ffff800093857c20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578 #2: ffff80008abcf5a0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 locks held by getty/4493: 2, on CPU#1: #0: ffff0000cf0620a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff8000932db2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x350/0xffc drivers/tty/n_tty.c:2211 locks held by kworker/1:4/4791: 3, last CPU#1: #0: ffff0000c002ad48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #0: ffff0000c002ad48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578 #1: ffff800096867c20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #1: ffff800096867c20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578 #2: ffff0000f2457258 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x198/0x320 drivers/net/netdevsim/fib.c:1490 locks held by syz.1.725/10845: 4, last CPU#0: #0: ffff0000c150dda0 (&bdev->bd_fsfreeze_mutex){+.+.}-{4:4}, at: bdev_freeze+0x38/0x2e8 block/bdev.c:304 #1: ffff0000ed0d0478 (sb_writers#3){++++}-{0:0}, at: sb_wait_write fs/super.c:1977 [inline] #1: ffff0000ed0d0478 (sb_writers#3){++++}-{0:0}, at: freeze_super+0x498/0xf6c fs/super.c:2241 #2: ffff0000ed0d0100 (&type->s_umount_key#33){++++}-{4:4}, at: __super_lock fs/super.c:60 [inline] #2: ffff0000ed0d0100 (&type->s_umount_key#33){++++}-{4:4}, at: __super_lock_excl fs/super.c:75 [inline] #2: ffff0000ed0d0100 (&type->s_umount_key#33){++++}-{4:4}, at: freeze_super+0x4a0/0xf6c fs/super.c:2242 #3: ffff0000ed0d0570 (sb_pagefaults){++++}-{0:0}, at: sb_wait_write fs/super.c:1977 [inline] #3: ffff0000ed0d0570 (sb_pagefaults){++++}-{0:0}, at: freeze_super+0x4b8/0xf6c fs/super.c:2246 locks held by syz.1.725/10869: 1, on CPU#0: #0: ffff0000ed0d0100 (&type->s_umount_key#33){++++}-{4:4}, at: __super_lock fs/super.c:62 [inline] #0: ffff0000ed0d0100 (&type->s_umount_key#33){++++}-{4:4}, at: super_lock+0x258/0x344 fs/super.c:124 locks held by syz.2.724/10854: 2, last CPU#1: #0: ffff0000c150d220 (&bdev->bd_fsfreeze_mutex){+.+.}-{4:4}, at: bdev_freeze+0x38/0x2e8 block/bdev.c:304 #1: ffff0000e9018478 (sb_writers#3){++++}-{0:0}, at: sb_wait_write fs/super.c:1977 [inline] #1: ffff0000e9018478 (sb_writers#3){++++}-{0:0}, at: freeze_super+0x498/0xf6c fs/super.c:2241 locks held by syz.2.724/10875: 1, last CPU#1: #0: ffff800089aa56a0 (rcu_read_lock){....}-{1:3}, at: spin_lock include/linux/spinlock.h:347 [inline] #0: ffff800089aa56a0 (rcu_read_lock){....}-{1:3}, at: class_spinlock_constructor include/linux/spinlock.h:611 [inline] #0: ffff800089aa56a0 (rcu_read_lock){....}-{1:3}, at: super_dev_next+0xe4/0x6c4 fs/super.c:482 locks held by syz.4.730/10855: 2, last CPU#1: #0: ffff0000c150bb20 (&bdev->bd_fsfreeze_mutex){+.+.}-{4:4}, at: bdev_freeze+0x38/0x2e8 block/bdev.c:304 #1: ffff0000d3f36478 (sb_writers#3){++++}-{0:0}, at: sb_wait_write fs/super.c:1977 [inline] #1: ffff0000d3f36478 (sb_writers#3){++++}-{0:0}, at: freeze_super+0x498/0xf6c fs/super.c:2241 locks held by kmmpd-loop1/10858: 1, on CPU#0: #0: ffff0000ed0d0478 (sb_writers#3){++++}-{0:0}, at: kmmpd+0x2fc/0x938 fs/ext4/mmp.c:173 locks held by kmmpd-loop5/11096: 1, on CPU#0: #0: ffff0000ee2e0478 (sb_writers#3){++++}-{0:0}, at: kmmpd+0x2fc/0x938 fs/ext4/mmp.c:173 locks held by syz-executor/11280: 1, on CPU#0: #0: ffff80008abcf5a0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #0: ffff80008abcf5a0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock+0x38/0x10c net/core/rtnetlink.c:366 locks held by syz-executor/11342: 8, last CPU#1: #0: ffff0000d17ae478 (sb_writers#6){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2762 [inline] #0: ffff0000d17ae478 (sb_writers#6){.+.+}-{0:0}, at: vfs_write+0x248/0xa0c fs/read_write.c:683 #1: ffff0000f6058480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1b0/0x3b8 fs/kernfs/file.c:336 #2: ffff0000c9d83968 (kn->active#56){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff0000c9d83968 (kn->active#56){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1f0/0x3b8 fs/kernfs/file.c:337 #3: ffff80008a3ad460 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: new_device_store+0x138/0x58c drivers/net/netdevsim/bus.c:184 #4: ffff0000f2454128 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1109 [inline] #4: ffff0000f2454128 (&dev->mutex){....}-{4:4}, at: __device_attach+0x88/0x378 drivers/base/dd.c:1106 #5: ffff0000f2455258 (&devlink->lock_key#18){+.+.}-{4:4}, at: devl_lock+0x24/0x34 net/devlink/core.c:314 #6: ffff80008abcf5a0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 #7: ffff0000d9430ea0 (&dev->lock){+.+.}-{4:4}, at: netdev_lock include/linux/netdevice.h:2883 [inline] #7: ffff0000d9430ea0 (&dev->lock){+.+.}-{4:4}, at: netdev_lock_ops+0xe0/0x108 include/net/netdev_lock.h:42 locks held by syz-executor/11359: 4, on CPU#0: #0: ffff0000d17ae478 (sb_writers#6){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2762 [inline] #0: ffff0000d17ae478 (sb_writers#6){.+.+}-{0:0}, at: vfs_write+0x248/0xa0c fs/read_write.c:683 #1: ffff0000f633dc80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1b0/0x3b8 fs/kernfs/file.c:336 #2: ffff0000c9d83878 (kn->active#55){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff0000c9d83878 (kn->active#55){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1f0/0x3b8 fs/kernfs/file.c:337 #3: ffff80008a3ad460 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd8/0x2d4 drivers/net/netdevsim/bus.c:233 locks held by syz-executor/11391: 2, on CPU#0: #0: ffff80008a32bcc8 (&ops->srcu#2){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:213 [inline] #0: ffff80008a32bcc8 (&ops->srcu#2){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:320 [inline] #0: ffff80008a32bcc8 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x17c/0x26c net/core/rtnetlink.c:602 #1: ffff80008abcf5a0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #1: ffff80008abcf5a0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock+0x38/0x10c net/core/rtnetlink.c:366 locks held by syz-executor/11417: 2, on CPU#1: #0: ffff80008abc2208 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x434/0x694 net/core/net_namespace.c:580 #1: ffff80008abcf5a0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 =============================================