INFO: task syz.3.120:5536 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.120 state:D stack:0 pid:5536 tgid:5520 ppid:4899 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-loop3:5527 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kmmpd-loop3 state:D stack:0 pid:5527 tgid:5527 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 khungtaskd/31: 1, last CPU#1: #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:2/40: 2, last CPU#0: #0: ffff0000ccb6d148 ((wq_completion)bat_events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #0: ffff0000ccb6d148 ((wq_completion)bat_events){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578 #1: ffff800090f97c20 ((work_completion)(&(&bat_priv->tt.work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #1: ffff800090f97c20 ((work_completion)(&(&bat_priv->tt.work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578 locks held by kworker/u8:5/98: 6, on CPU#0: #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: ffff800092187c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #1: ffff800092187c20 (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: ffff0000dc01c128 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1109 [inline] #3: ffff0000dc01c128 (&dev->mutex){....}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:124 [inline] #3: ffff0000dc01c128 (&dev->mutex){....}-{4:4}, at: devlink_pernet_pre_exit+0x104/0x390 net/devlink/core.c:581 #4: ffff0000d643d258 (&devlink->lock_key#16){+.+.}-{4:4}, at: devl_lock net/devlink/core.c:314 [inline] #4: ffff0000d643d258 (&devlink->lock_key#16){+.+.}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:125 [inline] #4: ffff0000d643d258 (&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/1:2/876: 4, 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: ffff8000942f7c20 ((work_completion)(&helper->damage_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #1: ffff8000942f7c20 ((work_completion)(&helper->damage_work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578 #2: ffff0000c6aeda70 (&helper->lock){+.+.}-{4:4}, at: drm_fb_helper_fb_dirty drivers/gpu/drm/clients/drm_fbdev_helper.c:295 [inline] #2: ffff0000c6aeda70 (&helper->lock){+.+.}-{4:4}, at: drm_fb_helper_damage_work+0x120/0xbc0 drivers/gpu/drm/clients/drm_fbdev_helper.c:336 #3: ffff0000c6c9a128 (&dev->master_mutex){+.+.}-{4:4}, at: drm_master_internal_acquire+0x24/0x78 drivers/gpu/drm/drm_auth.c:435 locks held by kworker/u8:6/1187: 3, last CPU#0: #0: ffff0000c3c60948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #0: ffff0000c3c60948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578 #1: ffff800095067c20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #1: ffff800095067c20 ((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/4492: 2, on CPU#0: #0: ffff0000cf9410a0 (&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/0:7/5052: 3, on 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: ffff800096677c20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #1: ffff800096677c20 (deferred_process_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 syz.1.118/5517: 2, last CPU#0: #0: ffff0000c14946a0 (&bdev->bd_fsfreeze_mutex){+.+.}-{4:4}, at: bdev_freeze+0x38/0x2e8 block/bdev.c:304 #1: ffff0000ecac2478 (sb_writers#3){++++}-{0:0}, at: sb_wait_write fs/super.c:1977 [inline] #1: ffff0000ecac2478 (sb_writers#3){++++}-{0:0}, at: freeze_super+0x498/0xf6c fs/super.c:2241 locks held by syz.1.118/5540: 1, last CPU#1: #0: ffff0000ecac2100 (&type->s_umount_key#33){++++}-{4:4}, at: __super_lock fs/super.c:62 [inline] #0: ffff0000ecac2100 (&type->s_umount_key#33){++++}-{4:4}, at: super_lock+0x258/0x344 fs/super.c:124 locks held by syz.2.119/5519: 2, last CPU#0: #0: ffff0000c1493b20 (&bdev->bd_fsfreeze_mutex){+.+.}-{4:4}, at: bdev_freeze+0x38/0x2e8 block/bdev.c:304 #1: ffff0000ecae2478 (sb_writers#3){++++}-{0:0}, at: sb_wait_write fs/super.c:1977 [inline] #1: ffff0000ecae2478 (sb_writers#3){++++}-{0:0}, at: freeze_super+0x498/0xf6c fs/super.c:2241 locks held by syz.3.120/5521: 4, last CPU#0: #0: ffff0000c1492fa0 (&bdev->bd_fsfreeze_mutex){+.+.}-{4:4}, at: bdev_freeze+0x38/0x2e8 block/bdev.c:304 #1: ffff0000cf420478 (sb_writers#3){++++}-{0:0}, at: sb_wait_write fs/super.c:1977 [inline] #1: ffff0000cf420478 (sb_writers#3){++++}-{0:0}, at: freeze_super+0x498/0xf6c fs/super.c:2241 #2: ffff0000cf420100 (&type->s_umount_key#33){++++}-{4:4}, at: __super_lock fs/super.c:60 [inline] #2: ffff0000cf420100 (&type->s_umount_key#33){++++}-{4:4}, at: __super_lock_excl fs/super.c:75 [inline] #2: ffff0000cf420100 (&type->s_umount_key#33){++++}-{4:4}, at: freeze_super+0x4a0/0xf6c fs/super.c:2242 #3: ffff0000cf420570 (sb_pagefaults){++++}-{0:0}, at: sb_wait_write fs/super.c:1977 [inline] #3: ffff0000cf420570 (sb_pagefaults){++++}-{0:0}, at: freeze_super+0x4b8/0xf6c fs/super.c:2246 locks held by syz.3.120/5536: 1, on CPU#0: #0: ffff0000cf420100 (&type->s_umount_key#33){++++}-{4:4}, at: __super_lock fs/super.c:62 [inline] #0: ffff0000cf420100 (&type->s_umount_key#33){++++}-{4:4}, at: super_lock+0x258/0x344 fs/super.c:124 locks held by kmmpd-loop3/5527: 1, on CPU#1: #0: ffff0000cf420478 (sb_writers#3){++++}-{0:0}, at: kmmpd+0x2fc/0x938 fs/ext4/mmp.c:173 locks held by syz.4.122/5531: 2, last CPU#1: #0: ffff0000c1492420 (&bdev->bd_fsfreeze_mutex){+.+.}-{4:4}, at: bdev_freeze+0x38/0x2e8 block/bdev.c:304 #1: ffff0000d006a478 (sb_writers#3){++++}-{0:0}, at: sb_wait_write fs/super.c:1977 [inline] #1: ffff0000d006a478 (sb_writers#3){++++}-{0:0}, at: freeze_super+0x498/0xf6c fs/super.c:2241 locks held by kmmpd-loop9/5755: 1, on CPU#1: #0: ffff0000ef0de478 (sb_writers#3){++++}-{0:0}, at: kmmpd+0x2fc/0x938 fs/ext4/mmp.c:173 locks held by kworker/u8:9/5766: 3, on CPU#0: #0: ffff0000c004c148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #0: ffff0000c004c148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578 #1: ffff8000993d7c20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #1: ffff8000993d7c20 ((linkwatch_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 kmmpd-loop7/5810: 1, on CPU#1: #0: ffff0000cfe1c478 (sb_writers#3){++++}-{0:0}, at: kmmpd+0x2fc/0x938 fs/ext4/mmp.c:173 locks held by kmmpd-loop8/5816: 1, on CPU#1: #0: ffff0000cf472478 (sb_writers#3){++++}-{0:0}, at: kmmpd+0x2fc/0x938 fs/ext4/mmp.c:173 locks held by syz-executor/5992: 7, on CPU#0: #0: ffff0000d131a478 (sb_writers#6){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2762 [inline] #0: ffff0000d131a478 (sb_writers#6){.+.+}-{0:0}, at: vfs_write+0x248/0xa0c fs/read_write.c:683 #1: ffff0000f66b1880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1b0/0x3b8 fs/kernfs/file.c:336 #2: ffff0000ca08e2d8 (kn->active#56){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff0000ca08e2d8 (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: ffff0000c66f5128 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1109 [inline] #4: ffff0000c66f5128 (&dev->mutex){....}-{4:4}, at: __device_attach+0x88/0x378 drivers/base/dd.c:1106 #5: ffff0000dc1c2258 (&devlink->lock_key#17){+.+.}-{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 locks held by syz-executor/6031: 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/6037: 1, last 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/6061: 5, last CPU#0: #0: ffff80008abc2208 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x434/0x694 net/core/net_namespace.c:580 #1: ffff80008a9264e8 (devices_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x18c/0x2bc drivers/infiniband/core/device.c:1221 #2: ffff80008a9266a8 (rdma_nets_rwsem){++++}-{4:4}, at: rdma_dev_init_net+0x1c8/0x2bc drivers/infiniband/core/device.c:1226 #3: ffff0000c3b55030 (&device->compat_devs_mutex){+.+.}-{4:4}, at: add_one_compat_dev+0xf0/0x534 drivers/infiniband/core/device.c:976 #4: ffff0000c1929180 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_add_one+0x40/0x3b8 fs/kernfs/dir.c:833 =============================================