INFO: task syz.9.27:6821 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.27 state:D stack:27624 pid:6821 tgid:6821 ppid:6494 task_flags:0x400140 flags:0x00080002
Call Trace:
context_switch kernel/sched/core.c:5598 [inline]
__schedule+0x1ba5/0x5f70 kernel/sched/core.c:7401
__schedule_loop kernel/sched/core.c:7478 [inline]
schedule+0x164/0x2b0 kernel/sched/core.c:7493
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7550
__mutex_lock_common kernel/locking/mutex.c:726 [inline]
__mutex_lock+0x7c4/0x15a0 kernel/locking/mutex.c:821
scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024
scsi_scan drivers/scsi/scsi_sysfs.c:151 [inline]
store_scan+0x4aa/0x540 drivers/scsi/scsi_sysfs.c:191
kernfs_fop_write_iter+0x3a4/0x540 fs/kernfs/file.c:345
new_sync_write fs/read_write.c:580 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:672
ksys_write+0x150/0x270 fs/read_write.c:1021
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x00007fadd23a9559
RSP: 002b:00007ffd1f2ee178 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fadd2625fa0 RCX: 00007fadd23a9559
RDX: 0000000000000005 RSI: 00002000000000c0 RDI: 0000000000000003
RBP: 00007fadd2438136 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fadd2625fac R14: 00007fadd2625fa0 R15: 00007fadd2625fa0
INFO: task syz.1.29:6829 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.29 state:D stack:27544 pid:6829 tgid:6829 ppid:6561 task_flags:0x400140 flags:0x00080002
Call Trace:
context_switch kernel/sched/core.c:5598 [inline]
__schedule+0x1ba5/0x5f70 kernel/sched/core.c:7401
__schedule_loop kernel/sched/core.c:7478 [inline]
schedule+0x164/0x2b0 kernel/sched/core.c:7493
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7550
__mutex_lock_common kernel/locking/mutex.c:726 [inline]
__mutex_lock+0x7c4/0x15a0 kernel/locking/mutex.c:821
scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024
scsi_scan drivers/scsi/scsi_sysfs.c:151 [inline]
store_scan+0x4aa/0x540 drivers/scsi/scsi_sysfs.c:191
kernfs_fop_write_iter+0x3a4/0x540 fs/kernfs/file.c:345
new_sync_write fs/read_write.c:580 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:672
ksys_write+0x150/0x270 fs/read_write.c:1021
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x00007f1b101a9559
RSP: 002b:00007ffc80ed7e68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f1b10425fa0 RCX: 00007f1b101a9559
RDX: 0000000000000005 RSI: 00002000000000c0 RDI: 0000000000000003
RBP: 00007f1b10238136 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1b10425fac R14: 00007f1b10425fa0 R15: 00007f1b10425fa0
Showing all locks held in the system:
locks held by khungtaskd/36: 1, on CPU#1:
#0: ffffffff9035b020 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#0: ffffffff9035b020 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff9035b020 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6871
locks held by getty/5393: 2, last CPU#0:
#0: ffff888037c610a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900032562e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360 drivers/tty/n_tty.c:2211
locks held by kworker/0:3/5823: 3, last CPU#0:
#0: ffff88801c86a150 ((wq_completion)events){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#0: ffff88801c86a150 ((wq_completion)events){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffff88801c86a150 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline]
#0: ffff88801c86a150 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594
#1: ffffc90003aefc40 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#1: ffffc90003aefc40 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#1: ffffc90003aefc40 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline]
#1: ffffc90003aefc40 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594
#2: ffff88802a9b2258 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x1fd/0x3b0 drivers/net/netdevsim/fib.c:1490
locks held by kworker/0:5/6102: 4, on CPU#0:
#0: ffff88807ca4f550 ((wq_completion)wg-crypt-wg1#15){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#0: ffff88807ca4f550 ((wq_completion)wg-crypt-wg1#15){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffff88807ca4f550 ((wq_completion)wg-crypt-wg1#15){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline]
#0: ffff88807ca4f550 ((wq_completion)wg-crypt-wg1#15){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594
#1: ffffc900037bfc40 ((work_completion)(&peer->transmit_packet_work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#1: ffffc900037bfc40 ((work_completion)(&peer->transmit_packet_work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#1: ffffc900037bfc40 ((work_completion)(&peer->transmit_packet_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3476 [inline]
#1: ffffc900037bfc40 ((work_completion)(&peer->transmit_packet_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3594
#2: ffff8880b823c720 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2d/0x160 kernel/sched/core.c:678
#3: ffff8880b8224808 (psi_seq){-.-.}-{0:0}, at: psi_task_switch+0x57/0x7d0 kernel/sched/psi.c:928
locks held by syz.0.28/6814: 7, last CPU#0:
#0: ffff888057f7a478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#0: ffff888057f7a478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#1: ffff8880746e4880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffff88802077c0d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024
#4: ffff88802077c2b8 (&set->tag_list_lock){+.+.}-{4:4}, at: blk_mq_init_allocated_queue+0x3b0/0x1770 block/blk-mq.c:4703
#5: ffff8880282ae6d0 (&q->q_usage_counter(io)#67){++++}-{0:0}, at: blk_mq_add_queue_tag_set block/blk-mq.c:4383 [inline]
#5: ffff8880282ae6d0 (&q->q_usage_counter(io)#67){++++}-{0:0}, at: blk_mq_init_allocated_queue+0x1185/0x1770 block/blk-mq.c:4724
#6: ffff8880282ae708 (&q->q_usage_counter(queue)#50){++++}-{0:0}, at: blk_mq_add_queue_tag_set block/blk-mq.c:4383 [inline]
#6: ffff8880282ae708 (&q->q_usage_counter(queue)#50){++++}-{0:0}, at: blk_mq_init_allocated_queue+0x1185/0x1770 block/blk-mq.c:4724
locks held by syz.9.27/6821: 4, last CPU#0:
#0: ffff88805b93e478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#0: ffff88805b93e478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#1: ffff88807ddb9080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffff88802077c0d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024
locks held by syz.1.29/6829: 4, last CPU#1:
#0: ffff88803472e478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#0: ffff88803472e478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#1: ffff88807f474480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffff88802077c0d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024
locks held by syz.2.30/7239: 4, last CPU#1:
#0: ffff888026de6478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#0: ffff888026de6478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#1: ffff888079e57880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffff88802077c0d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024
locks held by syz.3.31/7242: 4, last CPU#0:
#0: ffff888030b80478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#0: ffff888030b80478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#1: ffff888026c29c80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffff88802077c0d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024
locks held by syz.5.33/7244: 4, last CPU#0:
#0: ffff88803510c478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#0: ffff88803510c478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#1: ffff88802741b880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffff88802077c0d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024
locks held by syz.4.32/7245: 4, last CPU#1:
#0: ffff8880559de478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#0: ffff8880559de478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#1: ffff88807fa86c80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffff88802077c0d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024
locks held by syz.6.34/7403: 4, last CPU#1:
#0: ffff8880558ee478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#0: ffff8880558ee478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#1: ffff88807e779480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffff88802077c0d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024
locks held by syz.7.35/7405: 4, last CPU#1:
#0: ffff888020b40478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#0: ffff888020b40478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#1: ffff88807d520480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffff88802077c0d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024
locks held by syz.8.36/7406: 4, last CPU#0:
#0: ffff888073d74478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#0: ffff888073d74478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#1: ffff888036c7ec80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffff88802077c0d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024
locks held by syz.0.37/7407: 4, last CPU#1:
#0: ffff88805a58e478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#0: ffff88805a58e478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#1: ffff8880353f2480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffff88802077c0d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024
locks held by syz.9.38/7537: 4, last CPU#0:
#0: ffff8880699b8478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#0: ffff8880699b8478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#1: ffff88804fd1b080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffff88802077c0d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024
locks held by syz.1.39/7563: 4, last CPU#1:
#0: ffff888055ae0478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#0: ffff888055ae0478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#1: ffff888050114c80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffff88802077c0d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024
locks held by syz.2.40/7564: 4, last CPU#0:
#0: ffff88802e7e0478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#0: ffff88802e7e0478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#1: ffff8880594a5080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffff88802077c0d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024
locks held by syz.3.41/7566: 4, last CPU#0:
#0: ffff88805c728478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#0: ffff88805c728478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#1: ffff88806cc03480 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffff88802077c0d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024
locks held by syz.5.42/7623: 4, last CPU#1:
#0: ffff88804f174478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#0: ffff88804f174478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#1: ffff88806d74f880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffff88802077c0d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024
locks held by syz.4.43/7734: 4, last CPU#0:
#0: ffff88805b02a478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#0: ffff88805b02a478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#1: ffff888028aa4c80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffff88802077c0d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024
locks held by syz.6.44/7735: 4, last CPU#0:
#0: ffff888033218478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#0: ffff888033218478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#1: ffff888024fc2880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffff88802077c0d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024
locks held by syz.7.45/7738: 4, last CPU#0:
#0: ffff888034c26478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#0: ffff888034c26478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#1: ffff88807e341080 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffff88802077c0d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024
locks held by syz.8.46/7778: 4, last CPU#1:
#0: ffff88805ba60478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#0: ffff88805ba60478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#1: ffff8880273a1880 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff888028f864b8 (kn->active#59){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffff88802077c0d0 (&shost->scan_mutex){+.+.}-{4:4}, at: scsi_scan_host_selected+0x19c/0x6c0 drivers/scsi/scsi_scan.c:2024
locks held by syz-executor/7783: 1, last CPU#1:
#0: ffffffff918cbd60 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:134 [inline]
#0: ffffffff918cbd60 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x470/0x19f0 net/ipv4/devinet.c:968
locks held by syz-executor/7794: 8, last CPU#0:
#0: ffff8880381d0478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2769 [inline]
#0: ffff8880381d0478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:668
#1: ffff88807dec3c80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff88802a8305a8 (kn->active#57){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff88802a8305a8 (kn->active#57){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffffffff9110b620 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd6/0x370 drivers/net/netdevsim/bus.c:245
#4: ffff8880620d5128 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1119 [inline]
#4: ffff8880620d5128 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1046 [inline]
#4: ffff8880620d5128 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xa9/0x7d0 drivers/base/dd.c:1377
#5: ffff8880620d4258 (&devlink->lock_key#22){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x170 drivers/net/netdevsim/dev.c:1725
#6: ffffffff918cbd60 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0x173/0x800 drivers/net/netdevsim/netdev.c:1222
#7: ffffffff90361a28 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:311 [inline]
#7: ffffffff90361a28 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2cb/0x760 kernel/rcu/tree_exp.h:966
locks held by syz-executor/7805: 2, last CPU#1:
#0: ffffffff91e3dbe8 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#0: ffffffff91e3dbe8 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff91e3dbe8 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250 net/core/rtnetlink.c:598
#1: ffffffff918cbd60 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline]
#1: ffffffff918cbd60 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:366 [inline]
#1: ffffffff918cbd60 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xc1d/0x1c30 net/core/rtnetlink.c:4251
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 36 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/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+0x13a/0x180 lib/sys_info.c:165
check_hung_uninterruptible_tasks kernel/hung_task.c:377 [inline]
watchdog+0x1073/0x10f0 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: 4995 Comm: klogd Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:__kasan_check_byte+0x2d/0x40 mm/kasan/common.c:592
Code: d6 41 56 53 48 89 f3 49 89 fe e8 4e 15 00 00 84 c0 75 16 be 01 00 00 00 4c 89 f7 31 d2 48 89 d9 89 c3 e8 f6 04 00 00 89 d8 5b <41> 5e e9 8c bf e9 09 cc 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90
RSP: 0018:ffffc90002eff298 EFLAGS: 00000202
RAX: 0000000000000001 RBX: 0000000000000000 RCX: 8000000000000001
RDX: 0000000000000000 RSI: ffffffff8178daac RDI: 1ffffffff206b604
RBP: 1ffff920005dfe84 R08: 0000000000000000 R09: 0000000000000000
R10: ffffc90002eff438 R11: ffffffff81b44260 R12: ffffffff9035b020
R13: 0000000000000002 R14: ffffffff9035b020 R15: 0000000000000000
FS: 00007fc776e10c80(0000) GS:ffff8881230fd000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f06cc3535c0 CR3: 0000000013a5a000 CR4: 00000000003526f0
Call Trace:
kasan_check_byte include/linux/kasan.h:406 [inline]
lock_acquire+0x7d/0x350 kernel/locking/lockdep.c:5916
rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
rcu_read_lock include/linux/rcupdate.h:849 [inline]
class_rcu_constructor include/linux/rcupdate.h:1224 [inline]
unwind_next_frame+0xac/0x2550 arch/x86/kernel/unwind_orc.c:495
arch_stack_walk+0x11b/0x150 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0xa9/0x100 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:57 [inline]
kasan_save_track+0x3f/0x90 mm/kasan/common.c:79
unpoison_slab_object mm/kasan/common.c:354 [inline]
__kasan_slab_alloc+0x6c/0x80 mm/kasan/common.c:380
kasan_slab_alloc include/linux/kasan.h:257 [inline]
slab_post_alloc_hook mm/slub.c:4757 [inline]
slab_alloc_node mm/slub.c:5071 [inline]
kmem_cache_alloc_node_noprof+0x353/0x620 mm/slub.c:5143
__alloc_skb+0x1db/0x7a0 net/core/skbuff.c:707
alloc_skb include/linux/skbuff.h:1396 [inline]
alloc_skb_with_frags+0xc6/0x760 net/core/skbuff.c:7239
sock_alloc_send_pskb+0xc69/0xd90 net/core/sock.c:3080
unix_dgram_sendmsg+0x4ff/0x17e0 net/unix/af_unix.c:2152
sock_sendmsg_nosec+0x14e/0x190 net/socket.c:800
__sock_sendmsg net/socket.c:818 [inline]
__sys_sendto+0x408/0x5a0 net/socket.c:2283
__do_sys_sendto net/socket.c:2290 [inline]
__se_sys_sendto net/socket.c:2286 [inline]
__x64_sys_sendto+0xde/0x100 net/socket.c:2286
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x00007fc776f60407
Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
RSP: 002b:00007ffd8cdb8f00 EFLAGS: 00000202 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fc776e10c80 RCX: 00007fc776f60407
RDX: 0000000000000056 RSI: 00007ffd8cdb9040 RDI: 0000000000000003
RBP: 00007ffd8cdb9470 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000004000 R11: 0000000000000202 R12: 00007ffd8cdb9488
R13: 00007ffd8cdb9040 R14: 000000000000003b R15: 00007ffd8cdb9040