INFO: task syz.9.26:4881 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.9.26 state:D stack:0 pid:4881 ppid:4720 flags:0x00000001 Call trace: __switch_to+0x2f4/0x550 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5245 [inline] __schedule+0xdd0/0x1b0c kernel/sched/core.c:6562 schedule+0xc4/0x170 kernel/sched/core.c:6638 rwsem_down_write_slowpath+0xb60/0x1280 kernel/locking/rwsem.c:1189 __down_write_common kernel/locking/rwsem.c:1314 [inline] __down_write kernel/locking/rwsem.c:1323 [inline] down_write+0x84/0x88 kernel/locking/rwsem.c:1574 inode_lock include/linux/fs.h:758 [inline] blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 vfs_fallocate+0x4a4/0x5f4 fs/open.c:323 ksys_fallocate fs/open.c:346 [inline] __do_sys_fallocate fs/open.c:354 [inline] __se_sys_fallocate fs/open.c:352 [inline] __arm64_sys_fallocate+0xc0/0x110 fs/open.c:352 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x130 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x128 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 INFO: task syz.7.24:4882 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.7.24 state:D stack:0 pid:4882 ppid:4718 flags:0x00000001 Call trace: __switch_to+0x2f4/0x550 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5245 [inline] __schedule+0xdd0/0x1b0c kernel/sched/core.c:6562 schedule+0xc4/0x170 kernel/sched/core.c:6638 rwsem_down_write_slowpath+0xb60/0x1280 kernel/locking/rwsem.c:1189 __down_write_common kernel/locking/rwsem.c:1314 [inline] __down_write kernel/locking/rwsem.c:1323 [inline] down_write+0x84/0x88 kernel/locking/rwsem.c:1574 inode_lock include/linux/fs.h:758 [inline] blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 vfs_fallocate+0x4a4/0x5f4 fs/open.c:323 ksys_fallocate fs/open.c:346 [inline] __do_sys_fallocate fs/open.c:354 [inline] __se_sys_fallocate fs/open.c:352 [inline] __arm64_sys_fallocate+0xc0/0x110 fs/open.c:352 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x130 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x128 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 INFO: task syz.2.27:4946 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.27 state:D stack:0 pid:4946 ppid:4776 flags:0x00000001 Call trace: __switch_to+0x2f4/0x550 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5245 [inline] __schedule+0xdd0/0x1b0c kernel/sched/core.c:6562 schedule+0xc4/0x170 kernel/sched/core.c:6638 rwsem_down_write_slowpath+0xb60/0x1280 kernel/locking/rwsem.c:1189 __down_write_common kernel/locking/rwsem.c:1314 [inline] __down_write kernel/locking/rwsem.c:1323 [inline] down_write+0x84/0x88 kernel/locking/rwsem.c:1574 inode_lock include/linux/fs.h:758 [inline] blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 vfs_fallocate+0x4a4/0x5f4 fs/open.c:323 ksys_fallocate fs/open.c:346 [inline] __do_sys_fallocate fs/open.c:354 [inline] __se_sys_fallocate fs/open.c:352 [inline] __arm64_sys_fallocate+0xc0/0x110 fs/open.c:352 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x130 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x128 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffff800015417df0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xbb4 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffff800015418610 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xbb4 kernel/rcu/tasks.h:517 3 locks held by kworker/1:0/22: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff80001cad7c20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff0000f53a9240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x1d0/0x27cc drivers/net/netdevsim/fib.c:1491 1 lock held by khungtaskd/28: #0: ffff800015417480 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 2 locks held by getty/4081: #0: ffff0000d7212098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80001df832f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2ec/0xfa0 drivers/tty/n_tty.c:2198 3 locks held by kworker/0:19/4460: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800020f37c20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff0000f565d240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x1d0/0x27cc drivers/net/netdevsim/fib.c:1491 3 locks held by kworker/0:23/4466: #0: ffff0000d6384938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800020f97c20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff8000178b6008 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 3 locks held by kworker/1:8/4471: #0: ffff0000d6384938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800020fe7c20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff8000178b6008 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 2 locks held by syz.8.25/4880: 1 lock held by syz.9.26/4881: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 1 lock held by syz.7.24/4882: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 1 lock held by syz.2.27/4946: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 1 lock held by syz.1.29/5278: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 1 lock held by syz.0.28/5378: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 1 lock held by syz.4.31/5424: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 1 lock held by syz.3.30/5448: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 1 lock held by syz.5.32/5478: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 1 lock held by syz.7.34/5637: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 1 lock held by syz.6.33/5638: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 1 lock held by syz.2.35/5639: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 1 lock held by syz.8.36/5641: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 1 lock held by syz.9.37/5642: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 1 lock held by syz.3.40/5709: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 1 lock held by syz.1.38/5738: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 1 lock held by syz.0.39/5739: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 1 lock held by syz.5.42/5740: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 1 lock held by syz.4.41/5741: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 1 lock held by syz.2.45/5850: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 1 lock held by syz.6.44/5851: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 1 lock held by syz.9.47/5852: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 1 lock held by syz.8.46/5853: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 1 lock held by syz.7.43/5854: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 1 lock held by syz.4.51/5939: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 1 lock held by syz.3.48/5940: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 1 lock held by syz.0.50/5941: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 1 lock held by syz.1.49/5943: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 1 lock held by syz.5.52/5944: #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff0000c53bbe40 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: blkdev_fallocate+0x1b8/0x3fc block/fops.c:712 7 locks held by syz-executor/5953: #0: ffff0000d82c6460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x244/0x7f0 fs/read_write.c:580 #1: ffff0000d46df488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c0/0x4c0 fs/kernfs/file.c:343 #2: ffff0000d08dcae8 (kn->active#56){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff0000d08dcae8 (kn->active#56){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x200/0x4c0 fs/kernfs/file.c:344 #3: ffff800016c60768 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xdc/0x32c drivers/net/netdevsim/bus.c:209 #4: ffff000105d2f0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:885 [inline] #4: ffff000105d2f0e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1100 [inline] #4: ffff000105d2f0e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0x9c/0x6d0 drivers/base/dd.c:1303 #5: ffff000105d292f8 (&devlink->lock_key#28){+.+.}-{3:3}, at: devl_lock+0x24/0x34 net/devlink/leftover.c:275 #6: ffff8000178b6008 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 4 locks held by syz-executor/5957: #0: ffff0000d82c6460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x244/0x7f0 fs/read_write.c:580 #1: ffff0001089af088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c0/0x4c0 fs/kernfs/file.c:343 #2: ffff0000d08dcae8 (kn->active#56){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff0000d08dcae8 (kn->active#56){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x200/0x4c0 fs/kernfs/file.c:344 #3: ffff800016c60768 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xdc/0x32c drivers/net/netdevsim/bus.c:209 4 locks held by syz-executor/5960: #0: ffff0000d82c6460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x244/0x7f0 fs/read_write.c:580 #1: ffff00010f3b8888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c0/0x4c0 fs/kernfs/file.c:343 #2: ffff0000d08dcae8 (kn->active#56){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff0000d08dcae8 (kn->active#56){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x200/0x4c0 fs/kernfs/file.c:344 #3: ffff800016c60768 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xdc/0x32c drivers/net/netdevsim/bus.c:209 1 lock held by syz-executor/5962: #0: ffff8000178b6008 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff8000178b6008 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x650/0xcdc net/core/rtnetlink.c:6155 1 lock held by syz-executor/5965: #0: ffff8000178b6008 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff8000178b6008 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x650/0xcdc net/core/rtnetlink.c:6155 =============================================