INFO: task syz-executor.0:2926 blocked for more than 143 seconds. Not tainted 6.7.0-next-20240119-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27264 pid:2926 tgid:2925 ppid:30250 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0xf15/0x5ce0 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0xe7/0x280 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6874 rwsem_down_read_slowpath+0x61e/0xb20 kernel/locking/rwsem.c:1086 __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x124/0x330 kernel/locking/rwsem.c:1528 filemap_invalidate_lock_shared include/linux/fs.h:857 [inline] page_cache_ra_unbounded+0x138/0x5f0 mm/readahead.c:225 do_page_cache_ra mm/readahead.c:299 [inline] ondemand_readahead+0xd6c/0x1130 mm/readahead.c:637 page_cache_sync_ra+0x174/0x1d0 mm/readahead.c:691 page_cache_sync_readahead include/linux/pagemap.h:1314 [inline] filemap_get_pages+0xc0f/0x1840 mm/filemap.c:2498 filemap_splice_read+0x5ac/0xc60 mm/filemap.c:2872 do_splice_read fs/splice.c:985 [inline] do_splice_read+0x294/0x380 fs/splice.c:959 splice_direct_to_actor+0x2a4/0xa40 fs/splice.c:1089 do_splice_direct_actor fs/splice.c:1207 [inline] do_splice_direct+0x17e/0x250 fs/splice.c:1233 do_sendfile+0xaa8/0xdb0 fs/read_write.c:1295 __do_sys_sendfile64 fs/read_write.c:1356 [inline] __se_sys_sendfile64 fs/read_write.c:1348 [inline] __x64_sys_sendfile64+0x155/0x220 fs/read_write.c:1348 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f2a9267cda9 RSP: 002b:00007f2a932fd0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f2a927abf80 RCX: 00007f2a9267cda9 RDX: 0000000020000140 RSI: 0000000000000004 RDI: 0000000000000004 RBP: 00007f2a926c947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2a927abf80 R15: 00007ffe93522888 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d5aec20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d5aec20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d5aec20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 4 locks held by kworker/u4:8/2448: 2 locks held by getty/4817: #0: ffff88802bda60a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 2 locks held by kworker/0:2/15301: 3 locks held by kworker/0:12/16395: #0: ffff888014c94d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7ba/0x16e0 kernel/workqueue.c:2608 #1: ffffc9000de4fd80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x824/0x16e0 kernel/workqueue.c:2609 #2: ffffffff8f0b06e8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:281 4 locks held by kworker/u4:0/23548: #0: ffff8880162ecd38 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7ba/0x16e0 kernel/workqueue.c:2608 #1: ffffc90013f9fd80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x824/0x16e0 kernel/workqueue.c:2609 #2: ffffffff8f09b090 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9f/0xb20 net/core/net_namespace.c:580 #3: ffffffff8f0b06e8 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0x93/0x610 net/core/dev.c:11596 2 locks held by kworker/1:1/29795: #0: ffff888014c96938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7ba/0x16e0 kernel/workqueue.c:2608 #1: ffffc90005287d80 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x824/0x16e0 kernel/workqueue.c:2609 3 locks held by kworker/1:4/29971: #0: ffff88802b240138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x7ba/0x16e0 kernel/workqueue.c:2608 #1: ffffc9000a39fd80 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x824/0x16e0 kernel/workqueue.c:2609 #2: ffffffff8f0b06e8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4671 1 lock held by syz-executor.1/1964: 2 locks held by kworker/0:1/2474: 3 locks held by kworker/1:5/2492: #0: ffff888014c94d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7ba/0x16e0 kernel/workqueue.c:2608 #1: ffffc9000d1efd80 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x824/0x16e0 kernel/workqueue.c:2609 #2: ffffffff8f0b06e8 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:75 5 locks held by kworker/u4:7/2638: 1 lock held by syz-executor.0/2926: #0: ffff88801d0970c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:857 [inline] #0: ffff88801d0970c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0x138/0x5f0 mm/readahead.c:225 7 locks held by syz-executor.5/3105: #0: ffff88807f4c6420 (sb_writers#8){.+.+}-{0:0}, at: ksys_write+0x12f/0x260 fs/read_write.c:643 #1: ffff888022b5b488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x281/0x500 fs/kernfs/file.c:325 #2: ffff888023ce94e0 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2a4/0x500 fs/kernfs/file.c:326 #3: ffffffff8e744108 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x187/0x730 drivers/net/netdevsim/bus.c:166 #4: ffff88823bc0e0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #4: ffff88823bc0e0e8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1005 #5: ffff88803ab52250 (&devlink->lock_key#36){+.+.}-{3:3}, at: nsim_drv_probe+0xd5/0x1490 drivers/net/netdevsim/dev.c:1534 #6: ffffffff8f0b06e8 (rtnl_mutex){+.+.}-{3:3}, at: nsim_init_netdevsim drivers/net/netdevsim/netdev.c:335 [inline] #6: ffffffff8f0b06e8 (rtnl_mutex){+.+.}-{3:3}, at: nsim_create+0x414/0x600 drivers/net/netdevsim/netdev.c:401 4 locks held by syz-executor.4/3190: #0: ffff88807f4c6420 (sb_writers#8){.+.+}-{0:0}, at: ksys_write+0x12f/0x260 fs/read_write.c:643 #1: ffff88801230d488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x281/0x500 fs/kernfs/file.c:325 #2: ffff888023ce95d8 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2a4/0x500 fs/kernfs/file.c:326 #3: ffffffff8e744108 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xd2/0x4b0 drivers/net/netdevsim/bus.c:216 4 locks held by syz-executor.1/3218: #0: ffff88807f4c6420 (sb_writers#8){.+.+}-{0:0}, at: ksys_write+0x12f/0x260 fs/read_write.c:643 #1: ffff888181dd1488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x281/0x500 fs/kernfs/file.c:325 #2: ffff888023ce95d8 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2a4/0x500 fs/kernfs/file.c:326 #3: ffffffff8e744108 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xd2/0x4b0 drivers/net/netdevsim/bus.c:216 4 locks held by syz-executor.3/3234: #0: ffff88807f4c6420 (sb_writers#8){.+.+}-{0:0}, at: ksys_write+0x12f/0x260 fs/read_write.c:643 #1: ffff88804559a088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x281/0x500 fs/kernfs/file.c:325 #2: ffff888023ce94e0 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2a4/0x500 fs/kernfs/file.c:326 #3: ffffffff8e744108 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x187/0x730 drivers/net/netdevsim/bus.c:166 1 lock held by syz-executor.0/3325: #0: ffffffff8f0b06e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f0b06e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe10 net/core/rtnetlink.c:6612 1 lock held by syz-executor.5/3350: #0: ffffffff8f0b06e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f0b06e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe10 net/core/rtnetlink.c:6612 2 locks held by dhcpcd/3373: #0: ffff88802d424130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1691 [inline] #0: ffff88802d424130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2c/0xf50 net/packet/af_packet.c:3202