INFO: task syz-executor.1:9782 blocked for more than 143 seconds. Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:25936 pid:9782 tgid:9781 ppid:8734 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1781/0x49d0 kernel/sched/core.c:6736 __schedule_loop kernel/sched/core.c:6813 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6828 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6885 rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1af/0x200 kernel/locking/rwsem.c:1306 filemap_invalidate_lock include/linux/fs.h:838 [inline] blkdev_fallocate+0x233/0x550 block/fops.c:797 vfs_fallocate+0x564/0x6c0 fs/open.c:330 ksys_fallocate fs/open.c:353 [inline] __do_sys_fallocate fs/open.c:361 [inline] __se_sys_fallocate fs/open.c:359 [inline] __x64_sys_fallocate+0xbd/0x110 fs/open.c:359 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f46f827dda9 RSP: 002b:00007f46f90b00c8 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f46f83abf80 RCX: 00007f46f827dda9 RDX: 0000000000000000 RSI: 0000000000000010 RDI: 0000000000000004 RBP: 00007f46f82ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000400 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f46f83abf80 R15: 00007ffd506d6f88 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e132020 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8e132020 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8e132020 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 3 locks held by kworker/u8:4/60: 4 locks held by kworker/u8:7/1275: 1 lock held by dhcpcd/4726: #0: ffffffff8f37b588 (rtnl_mutex){+.+.}-{3:3}, at: devinet_ioctl+0x2ce/0x1bc0 net/ipv4/devinet.c:1096 2 locks held by getty/4815: #0: ffff88802f7900a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031432f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 3 locks held by kworker/1:6/5200: #0: ffff888014c78948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline] #0: ffff888014c78948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x1770 kernel/workqueue.c:3335 #1: ffffc90004af7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline] #1: ffffc90004af7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x1770 kernel/workqueue.c:3335 #2: ffffffff8f37b588 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 3 locks held by syz-executor.4/7141: 5 locks held by syz-executor.3/7915: 1 lock held by syz-executor.2/8141: 2 locks held by syz-executor.0/8958: 1 lock held by syz-executor.1/9782: #0: ffff88801d0859c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:838 [inline] #0: ffff88801d0859c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x233/0x550 block/fops.c:797 1 lock held by syz-executor.2/10105: #0: ffff88801d0859c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:838 [inline] #0: ffff88801d0859c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x233/0x550 block/fops.c:797 1 lock held by syz-executor.3/10370: #0: ffff88801d0859c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:838 [inline] #0: ffff88801d0859c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x233/0x550 block/fops.c:797 8 locks held by syz-executor.0/10595: #0: ffff88802c9f8420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2853 [inline] #0: ffff88802c9f8420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x233/0xcb0 fs/read_write.c:586 #1: ffff88806db34088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325 #2: ffff888022076cb8 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326 #3: ffffffff8ecb4e88 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216 #4: ffff88802d0340e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #4: ffff88802d0340e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff88802d0340e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xce/0x7c0 drivers/base/dd.c:1292 #5: ffff88802d033250 (&devlink->lock_key#13){+.+.}-{3:3}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1672 #6: ffffffff8f37b588 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x40/0x260 drivers/net/netdevsim/netdev.c:451 #7: ffffffff8e1373b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #7: ffffffff8e1373b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x463/0x820 kernel/rcu/tree_exp.h:939 1 lock held by syz-executor.3/10658: #0: ffffffff8f37b588 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f37b588 (rtnl_mutex){+.+.}-{3:3}, at: __rtnl_newlink net/core/rtnetlink.c:3704 [inline] #0: ffffffff8f37b588 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_newlink+0xab5/0x20a0 net/core/rtnetlink.c:3727 1 lock held by syz-executor.1/10723: #0: ffff88801d0859c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:838 [inline] #0: ffff88801d0859c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x233/0x550 block/fops.c:797 2 locks held by syz-executor.2/10730: #0: ffffffff8f3e0130 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1216 #1: ffffffff8f37b588 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_pre_doit+0x5f/0x8b0 net/wireless/nl80211.c:16401 3 locks held by syz-executor.4/10740: #0: ffff8880245d4158 (&mousedev->mutex/1){+.+.}-{3:3}, at: mixdev_close_devices+0x32/0x240 drivers/input/mousedev.c:486 #1: ffff888024979158 (&mousedev->mutex#2){+.+.}-{3:3}, at: mousedev_close_device drivers/input/mousedev.c:441 [inline] #1: ffff888024979158 (&mousedev->mutex#2){+.+.}-{3:3}, at: mixdev_close_devices+0xcd/0x240 drivers/input/mousedev.c:494 #2: ffff8880249782c0 (&dev->mutex#2){+.+.}-{3:3}, at: input_close_device+0x4e/0x1d0 drivers/input/input.c:704 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 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:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfb0/0xff0 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 10145 Comm: syz-executor.4 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__lock_acquire+0x14a/0x1fd0 Code: e8 03 0f b6 04 30 84 c0 48 89 54 24 30 0f 85 bd 15 00 00 83 3d 36 c6 d8 12 00 75 09 83 fa 30 0f 83 d1 13 00 00 44 89 6c 24 5c <44> 89 7c 24 68 4c 89 74 24 50 44 8b bc 24 d8 00 00 00 48 c7 c0 00 RSP: 0018:ffffc9000487f870 EFLAGS: 00000087 RAX: 0000000000000004 RBX: ffffffff92996660 RCX: ffffffff944a6603 RDX: 0000000000000001 RSI: dffffc0000000000 RDI: ffff888022d58ad0 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: dffffc0000000000 R11: fffffbfff1f0c1be R12: ffff8880b9444f30 R13: 0000000000000001 R14: ffff888022d58000 R15: 0000000000000000 FS: 0000555568862480(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd511f0eb8 CR3: 0000000022c58000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1e4/0x530 kernel/locking/lockdep.c:5754 local_lock_acquire include/linux/local_lock_internal.h:29 [inline] put_cpu_partial+0x91/0x250 mm/slub.c:2953 get_partial_node+0xb5/0x2a0 mm/slub.c:2608 get_partial mm/slub.c:2701 [inline] ___slab_alloc+0x9bc/0x1260 mm/slub.c:3505 __slab_alloc mm/slub.c:3610 [inline] __slab_alloc_node mm/slub.c:3663 [inline] slab_alloc_node mm/slub.c:3835 [inline] kmem_cache_alloc_lru+0x253/0x350 mm/slub.c:3864 __d_alloc+0x31/0x700 fs/dcache.c:1624 d_alloc_pseudo+0x1f/0xb0 fs/dcache.c:1756 alloc_path_pseudo fs/file_table.c:330 [inline] alloc_file_pseudo+0x123/0x290 fs/file_table.c:346 sock_alloc_file+0xb8/0x290 net/socket.c:469 sock_map_fd net/socket.c:494 [inline] __sys_socket+0x1dd/0x3c0 net/socket.c:1715 __do_sys_socket net/socket.c:1720 [inline] __se_sys_socket net/socket.c:1718 [inline] __x64_sys_socket+0x7a/0x90 net/socket.c:1718 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7fc19127fb27 Code: f0 ff ff 77 06 c3 0f 1f 44 00 00 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 0f 1f 44 00 00 b8 29 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd511f2078 EFLAGS: 00000202 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 00007fc1913791a0 RCX: 00007fc19127fb27 RDX: 0000000000000006 RSI: 0000000000000001 RDI: 0000000000000002 RBP: 00007ffd511f27bc R08: 0000000000000000 R09: 00007ffd511f24a7 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000032 R13: 00000000000935b3 R14: 0000000000000000 R15: 000000000000000c