INFO: task syz.1.1813:11238 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.1813 state:D stack:27432 pid:11238 tgid:11236 ppid:5603 task_flags:0x400040 flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5581 [inline] __schedule+0x1b47/0x5b40 kernel/sched/core.c:7384 __schedule_loop kernel/sched/core.c:7461 [inline] schedule+0x164/0x2b0 kernel/sched/core.c:7476 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7533 __mutex_lock_common kernel/locking/mutex.c:726 [inline] __mutex_lock+0x7c4/0x15a0 kernel/locking/mutex.c:821 write_versions+0x95/0xe30 fs/nfsd/nfsctl.c:715 nfsctl_transaction_write+0x10f/0x160 fs/nfsd/nfsctl.c:117 vfs_write+0x296/0xba0 fs/read_write.c:685 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3b9559e159 RSP: 002b:00007f3b9644e028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f3b95826090 RCX: 00007f3b9559e159 RDX: 0000000000000009 RSI: 0000200000000680 RDI: 0000000000000004 RBP: 00007f3b9563506b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f3b95826128 R14: 00007f3b95826090 R15: 00007fff41c53cf8 INFO: task syz.1.1813:11239 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.1813 state:D stack:26496 pid:11239 tgid:11236 ppid:5603 task_flags:0x400040 flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5581 [inline] __schedule+0x1b47/0x5b40 kernel/sched/core.c:7384 __schedule_loop kernel/sched/core.c:7461 [inline] schedule+0x164/0x2b0 kernel/sched/core.c:7476 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7533 __mutex_lock_common kernel/locking/mutex.c:726 [inline] __mutex_lock+0x7c4/0x15a0 kernel/locking/mutex.c:821 write_threads+0x3b1/0x610 fs/nfsd/nfsctl.c:439 nfsctl_transaction_write+0x10f/0x160 fs/nfsd/nfsctl.c:117 vfs_write+0x296/0xba0 fs/read_write.c:685 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3b9559e159 RSP: 002b:00007f3b9642d028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f3b95826180 RCX: 00007f3b9559e159 RDX: 0000000000000002 RSI: 0000200000000800 RDI: 0000000000000005 RBP: 00007f3b9563506b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f3b95826218 R14: 00007f3b95826180 R15: 00007fff41c53cf8 Showing all locks held in the system: locks held by khungtaskd/34: 1, last CPU#0: #0: ffffffff8ed5c620 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffffffff8ed5c620 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8ed5c620 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6871 locks held by getty/5363: 2, on CPU#0: #0: ffff888032da60a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000322b2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360 drivers/tty/n_tty.c:2211 locks held by syz-executor/5605: 2, on CPU#1: #0: ffff8880750b20e8 (&type->s_umount_key#63){+.+.}-{4:4}, at: __super_lock fs/super.c:60 [inline] #0: ffff8880750b20e8 (&type->s_umount_key#63){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:75 [inline] #0: ffff8880750b20e8 (&type->s_umount_key#63){+.+.}-{4:4}, at: deactivate_super+0xac/0xe0 fs/super.c:613 #1: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_shutdown_threads+0x4e/0xd0 fs/nfsd/nfssvc.c:590 locks held by kworker/u8:16/10909: 2, last CPU#1: #0: ffff888032e1c948 ((wq_completion)bat_events){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff888032e1c948 ((wq_completion)bat_events){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff888032e1c948 ((wq_completion)bat_events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3460 [inline] #0: ffff888032e1c948 ((wq_completion)bat_events){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3578 #1: ffffc90002f67c40 ((work_completion)(&(&bat_priv->dat.work)->work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffc90002f67c40 ((work_completion)(&(&bat_priv->dat.work)->work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffc90002f67c40 ((work_completion)(&(&bat_priv->dat.work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3460 [inline] #1: ffffc90002f67c40 ((work_completion)(&(&bat_priv->dat.work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3578 locks held by kworker/u8:64/10957: 3, last CPU#1: #0: ffff88801b0ac148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff88801b0ac148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff88801b0ac148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3460 [inline] #0: ffff88801b0ac148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3578 #1: ffffc90004957c40 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffc90004957c40 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffc90004957c40 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3460 [inline] #1: ffffc90004957c40 ((work_completion)(&rdev->wiphy_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3578 #2: ffff88808c460800 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6945 [inline] #2: ffff88808c460800 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xb4/0x420 net/wireless/core.c:601 locks held by syz.1.1813/11237: 3, on CPU#1: #0: ffff88802ad1eef0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff88802b9c2460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff88802b9c2460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_ports+0xb5/0xd10 fs/nfsd/nfsctl.c:874 locks held by syz.1.1813/11238: 3, on CPU#0: #0: ffff88807f6187f0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff88802b9c2460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff88802b9c2460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_versions+0x95/0xe30 fs/nfsd/nfsctl.c:715 locks held by syz.1.1813/11239: 3, on CPU#0: #0: ffff88807e8b1270 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff88802b9c2460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff88802b9c2460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_threads+0x3b1/0x610 fs/nfsd/nfsctl.c:439 locks held by syz.3.1853/11342: 2, on CPU#0: #0: ffffffff902c4d28 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1217 #1: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_nl_listener_set_doit+0x53d/0x1ab0 fs/nfsd/nfsctl.c:2079 locks held by syz.2.1856/11348: 3, on CPU#0: #0: ffff888074bf90b0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff88802ae66460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff88802ae66460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_ports+0xb5/0xd10 fs/nfsd/nfsctl.c:874 locks held by syz.2.1856/11349: 2, on CPU#1: #0: ffff888065cbbb30 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_ports+0xb5/0xd10 fs/nfsd/nfsctl.c:874 locks held by syz.6.1916/11618: 3, on CPU#0: #0: ffff8880567a90b0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff888032752460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff888032752460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_versions+0x95/0xe30 fs/nfsd/nfsctl.c:715 locks held by syz.6.1916/11619: 3, on CPU#0: #0: ffff8880567a9eb0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff888032752460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff888032752460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_ports+0xb5/0xd10 fs/nfsd/nfsctl.c:874 locks held by syz.6.1916/11620: 3, on CPU#1: #0: ffff88807d7f47f0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff888032752460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff888032752460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_threads+0x3b1/0x610 fs/nfsd/nfsctl.c:439 locks held by syz.5.1922/11665: 3, on CPU#0: #0: ffff88805cabc9b0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff88807f528460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff88807f528460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_ports+0xb5/0xd10 fs/nfsd/nfsctl.c:874 locks held by syz.5.1922/11667: 3, on CPU#0: #0: ffff888079ffa630 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff88807f528460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff88807f528460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_threads+0x3b1/0x610 fs/nfsd/nfsctl.c:439 locks held by syz.7.1934/11712: 3, on CPU#1: #0: ffff88807f62d970 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff888021f68460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff888021f68460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_versions+0x95/0xe30 fs/nfsd/nfsctl.c:715 locks held by syz.7.1934/11713: 3, on CPU#1: #0: ffff88807f62c630 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff888021f68460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff888021f68460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_ports+0xb5/0xd10 fs/nfsd/nfsctl.c:874 locks held by syz.7.1934/11714: 3, on CPU#0: #0: ffff88807a0222b0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff888021f68460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff888021f68460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_threads+0x3b1/0x610 fs/nfsd/nfsctl.c:439 locks held by syz.0.1994/11882: 3, on CPU#0: #0: ffff888024f41270 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff888067e7e460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff888067e7e460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_versions+0x95/0xe30 fs/nfsd/nfsctl.c:715 locks held by syz.0.1994/11883: 3, on CPU#0: #0: ffff88807972b0b0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff888067e7e460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff888067e7e460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_ports+0xb5/0xd10 fs/nfsd/nfsctl.c:874 locks held by syz.0.1994/11884: 2, on CPU#0: #0: ffff88807972a9b0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: nfsd_nrthreads+0x4c/0xd0 fs/nfsd/nfssvc.c:260 locks held by syz.8.2006/11969: 3, on CPU#1: #0: ffff888079189cf0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff8880278d2460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff8880278d2460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_ports+0xb5/0xd10 fs/nfsd/nfsctl.c:874 locks held by syz.8.2006/11973: 3, on CPU#1: #0: ffff888054d9e630 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff8880278d2460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff8880278d2460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_threads+0x3b1/0x610 fs/nfsd/nfsctl.c:439 locks held by syz.9.2009/12009: 3, on CPU#0: #0: ffff888078074b70 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff8880533a4460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff8880533a4460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_versions+0x95/0xe30 fs/nfsd/nfsctl.c:715 locks held by syz.9.2009/12011: 1, on CPU#0: #0: ffff888078074b70 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 locks held by syz.4.2033/12104: 3, on CPU#1: #0: ffff8880791a8ef0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff888024e2e460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff888024e2e460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_ports+0xb5/0xd10 fs/nfsd/nfsctl.c:874 locks held by syz.4.2033/12105: 3, on CPU#0: #0: ffff8880791a7430 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff888024e2e460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff888024e2e460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_threads+0x3b1/0x610 fs/nfsd/nfsctl.c:439 locks held by syz.1.2035/12110: 2, on CPU#0: #0: ffff88807e46c9b0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_ports+0xb5/0xd10 fs/nfsd/nfsctl.c:874 locks held by syz.3.2074/12369: 3, on CPU#0: #0: ffff8880356e10b0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff88802c69a460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff88802c69a460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_versions+0x95/0xe30 fs/nfsd/nfsctl.c:715 locks held by syz.3.2074/12370: 3, on CPU#0: #0: ffff8880356e1eb0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff88802c69a460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff88802c69a460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_ports+0xb5/0xd10 fs/nfsd/nfsctl.c:874 locks held by syz.3.2074/12371: 3, on CPU#0: #0: ffff8880356e1970 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff88802c69a460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff88802c69a460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_threads+0x3b1/0x610 fs/nfsd/nfsctl.c:439 locks held by syz.2.2093/12468: 3, on CPU#1: #0: ffff888024f51970 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff888029e5c460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff888029e5c460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_ports+0xb5/0xd10 fs/nfsd/nfsctl.c:874 locks held by syz.2.2093/12471: 3, on CPU#1: #0: ffff888024f50470 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff888029e5c460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff888029e5c460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_threads+0x3b1/0x610 fs/nfsd/nfsctl.c:439 locks held by syz.5.2144/12634: 3, on CPU#1: #0: ffff888024f41430 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff8880549e4460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff8880549e4460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_ports+0xb5/0xd10 fs/nfsd/nfsctl.c:874 locks held by syz.5.2144/12636: 3, on CPU#1: #0: ffff88807f3890b0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff8880549e4460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff8880549e4460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_threads+0x3b1/0x610 fs/nfsd/nfsctl.c:439 locks held by syz.6.2160/12707: 3, on CPU#1: #0: ffff88807f3889b0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff88807888e460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff88807888e460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_ports+0xb5/0xd10 fs/nfsd/nfsctl.c:874 locks held by syz.7.2198/12886: 3, on CPU#1: #0: ffff8880334377b0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff8880a87ea460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff8880a87ea460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_versions+0x95/0xe30 fs/nfsd/nfsctl.c:715 locks held by syz.7.2198/12887: 3, on CPU#0: #0: ffff8880257362b0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff8880a87ea460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff8880a87ea460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_ports+0xb5/0xd10 fs/nfsd/nfsctl.c:874 locks held by syz.7.2198/12892: 3, on CPU#0: #0: ffff88807e46cef0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff8880a87ea460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff8880a87ea460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_threads+0x3b1/0x610 fs/nfsd/nfsctl.c:439 locks held by syz.8.2202/12896: 3, on CPU#0: #0: ffff88807e8cf970 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff88801df78460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff88801df78460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_versions+0x95/0xe30 fs/nfsd/nfsctl.c:715 locks held by syz.8.2202/12899: 3, on CPU#1: #0: ffff8880791a57b0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff88801df78460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff88801df78460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_threads+0x3b1/0x610 fs/nfsd/nfsctl.c:439 locks held by syz.0.2207/12944: 3, on CPU#1: #0: ffff88807a0077b0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff8880acc30460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff8880acc30460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_ports+0xb5/0xd10 fs/nfsd/nfsctl.c:874 locks held by syz.0.2207/12947: 3, on CPU#0: #0: ffff8880567a9cf0 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffff8880acc30460 (sb_writers#17){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #1: ffff8880acc30460 (sb_writers#17){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #2: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_threads+0x3b1/0x610 fs/nfsd/nfsctl.c:439 locks held by syz.9.2215/13042: 2, on CPU#1: #0: ffff88807e44d970 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1408 #1: ffffffff8f09fd40 (nfsd_mutex){+.+.}-{4:4}, at: write_ports+0xb5/0xd10 fs/nfsd/nfsctl.c:874 locks held by syz-executor/13044: 8, last CPU#1: #0: ffff888035752460 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline] #0: ffff888035752460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:683 #1: ffff8880667cd080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336 #2: ffff8880295941e8 (kn->active#51){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline] #2: ffff8880295941e8 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337 #3: ffffffff8fad36a0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd6/0x370 drivers/net/netdevsim/bus.c:233 #4: ffff88802b67f128 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1104 [inline] #4: ffff88802b67f128 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1171 [inline] #4: ffff88802b67f128 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xb9/0x880 drivers/base/dd.c:1369 #5: ffff88802bd27258 (&devlink->lock_key#14){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x170 drivers/net/netdevsim/dev.c:1724 #6: ffffffff902539e0 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0x173/0x800 drivers/net/netdevsim/netdev.c:1201 #7: ffff888079cfce70 (&dev->lock){+.+.}-{4:4}, at: netdev_lock include/linux/netdevice.h:2859 [inline] #7: ffff888079cfce70 (&dev->lock){+.+.}-{4:4}, at: netdev_lock_ops include/net/netdev_lock.h:42 [inline] #7: ffff888079cfce70 (&dev->lock){+.+.}-{4:4}, at: unregister_netdevice_many_notify+0x11cf/0x2140 net/core/dev.c:12584 locks held by syz-executor/13047: 1, on CPU#0: #0: ffffffff902539e0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #0: ffffffff902539e0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:366 [inline] #0: ffffffff902539e0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xc1d/0x1c30 net/core/rtnetlink.c:4241 locks held by syz.4.2222/13091: 3, last CPU#1: #0: ffffffff8ebe80b0 (cpu_hotplug_lock){++++}-{0:0}, at: static_key_slow_inc+0x12/0x30 kernel/jump_label.c:190 #1: ffffffff8ee3a7e0 (jump_label_mutex){+.+.}-{4:4}, at: class_mutex_constructor include/linux/mutex.h:253 [inline] #1: ffffffff8ee3a7e0 (jump_label_mutex){+.+.}-{4:4}, at: static_key_slow_inc_cpuslocked+0x39/0xf0 kernel/jump_label.c:165 #2: ffffffff8ebff160 (text_mutex){+.+.}-{4:4}, at: arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:145 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 34 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 nmi_cpu_backtrace+0x274/0x2d0 lib/nmi_backtrace.c:123 nmi_trigger_cpumask_backtrace+0x17d/0x390 lib/nmi_backtrace.c:66 trigger_all_cpu_backtrace include/linux/nmi.h:164 [inline] __sys_info lib/sys_info.c:157 [inline] sys_info+0x135/0x170 lib/sys_info.c:165 check_hung_uninterruptible_tasks kernel/hung_task.c:377 [inline] watchdog+0x1058/0x10d0 kernel/hung_task.c:598 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 16 Comm: pr/ttyS0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:io_serial_in+0x77/0xc0 drivers/tty/serial/8250/8250_port.c:425 Code: e8 7e 4e 50 fc 44 89 f9 d3 e3 49 83 c6 40 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 2f 1c c2 fc 41 03 1e 89 da ec <0f> b6 c0 5b 41 5c 41 5e 41 5f e9 0a f0 76 06 cc 44 89 f9 80 e1 07 RSP: 0018:ffffc900001578b8 EFLAGS: 00000002 RAX: 1ffffffff35ac300 RBX: 00000000000003fd RCX: 0000000000000000 RDX: 00000000000003fd RSI: 0000000000000000 RDI: 0000000000000020 RBP: dffffc0000000000 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: ffffffff8578b9d0 R12: dffffc0000000000 R13: 0000000000000000 R14: ffffffff9ad61f80 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888124cac000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c478215 CR3: 00000000977ae000 CR4: 00000000003526f0 Call Trace: serial_in drivers/tty/serial/8250/8250.h:134 [inline] serial_lsr_in drivers/tty/serial/8250/8250.h:156 [inline] wait_for_lsr+0x184/0x2f0 drivers/tty/serial/8250/8250_port.c:2027 serial8250_fifo_wait_for_lsr_thre drivers/tty/serial/8250/8250_port.c:3285 [inline] __serial8250_console_fifo_write+0xcd/0x3e0 drivers/tty/serial/8250/8250_port.c:3360 serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3393 [inline] __serial8250_console_write drivers/tty/serial/8250/8250_port.c:3444 [inline] serial8250_console_write+0xaa1/0x1200 drivers/tty/serial/8250/8250_port.c:3508 nbcon_emit_next_record+0xef5/0x1a90 kernel/printk/nbcon.c:-1 nbcon_emit_one kernel/printk/nbcon.c:1157 [inline] nbcon_kthread_func+0x6d9/0x8d0 kernel/printk/nbcon.c:1271 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245