INFO: task syz.4.1297:12645 blocked for more than 143 sec
INFO: task syz.4.1297:12645 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.1297 state:D stack:28456 pid:12645 tgid:12644 ppid:10044 task_flags:0x400140 flags:0x00080002
Call Trace:
context_switch kernel/sched/core.c:5584 [inline]
__schedule+0x18a6/0x5c10 kernel/sched/core.c:7386
__schedule_loop kernel/sched/core.c:7463 [inline]
schedule+0x164/0x2b0 kernel/sched/core.c:7478
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7535
__mutex_lock_common kernel/locking/mutex.c:726 [inline]
__mutex_lock+0x7c4/0x15a0 kernel/locking/mutex.c:821
bdev_open+0xde/0xd70 block/bdev.c:990
bdev_file_open_by_dev+0x1be/0x240 block/bdev.c:1104
fs_bdev_file_open_by_dev fs/super.c:1650 [inline]
setup_bdev_super+0x5a/0x680 fs/super.c:1741
get_tree_bdev_flags+0x38e/0x500 fs/super.c:1819
vfs_get_tree+0x92/0x2a0 fs/super.c:1881
fc_mount fs/namespace.c:1282 [inline]
do_new_mount_fc fs/namespace.c:3910 [inline]
do_new_mount+0x325/0xb00 fs/namespace.c:3986
do_mount fs/namespace.c:4350 [inline]
__do_sys_mount fs/namespace.c:4563 [inline]
__se_sys_mount+0x31d/0x420 fs/namespace.c:4540
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:0x7fd1c43a9559
RSP: 002b:00007fd1c5338028 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fd1c4625fa0 RCX: 00007fd1c43a9559
RDX: 00002000000004c0 RSI: 00002000000003c0 RDI: 0000200000000380
RBP: 00007fd1c4438136 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000002200010 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd1c4626038 R14: 00007fd1c4625fa0 R15: 00007fff240c1f98
Showing all locks held in the system:
locks held by khungtaskd/34: 1, on CPU#0:
#0: ffffffff9015a2e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#0: ffffffff9015a2e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff9015a2e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6871
locks held by kworker/u8:5/136: 3, on CPU#1:
#0: ffff88813fe4c148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#0: ffff88813fe4c148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffff88813fe4c148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3460 [inline]
#0: ffff88813fe4c148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3578
#1: ffffc90002ebfc40 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#1: ffffc90002ebfc40 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#1: ffffc90002ebfc40 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3460 [inline]
#1: ffffc90002ebfc40 ((work_completion)(&(&nsim_dev->trap_data->trap_report_dw)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3578
#2: ffff8880269a5258 (&devlink->lock_key#15){+.+.}-{4:4}, at: nsim_dev_trap_report_work+0x57/0xb30 drivers/net/netdevsim/dev.c:834
locks held by kworker/u8:6/1044: 2, last CPU#1:
#0: ffff88813fe4c148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#0: ffff88813fe4c148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffff88813fe4c148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3460 [inline]
#0: ffff88813fe4c148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3578
#1: ffffc900052b7c40 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#1: ffffc900052b7c40 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#1: ffffc900052b7c40 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3460 [inline]
#1: ffffc900052b7c40 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3578
locks held by getty/5385: 2, last CPU#0:
#0: ffff88803793c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900032362e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45a/0x1360 drivers/tty/n_tty.c:2211
locks held by udevd/10858: 1, last CPU#0:
#0: ffff888027c18350 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xde/0xd70 block/bdev.c:990
locks held by udevd/11353: 1, last CPU#1:
#0: ffff88802508c168 (&sb->s_type->i_mutex_key#10){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:1042 [inline]
#0: ffff88802508c168 (&sb->s_type->i_mutex_key#10){++++}-{4:4}, at: blkdev_read_iter+0x394/0x590 block/fops.c:890
locks held by syz.4.1297/12645: 2, last CPU#1:
#0: ffff888039972100 (&type->s_umount_key#75/1){+.+.}-{4:4}, at: alloc_super fs/super.c:347 [inline]
#0: ffff888039972100 (&type->s_umount_key#75/1){+.+.}-{4:4}, at: sget_fc+0x9d5/0x1ce0 fs/super.c:846
#1: ffff888027c18350 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xde/0xd70 block/bdev.c:990
locks held by syz-executor/14494: 9, last CPU#0:
#0: ffff88803693c478 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2765 [inline]
#0: ffff88803693c478 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x22b/0xba0 fs/read_write.c:663
#1: ffff8880525bbc80 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1d8/0x540 fs/kernfs/file.c:336
#2: ffff88802ac2ec38 (kn->active#51){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:73 [inline]
#2: ffff88802ac2ec38 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x22b/0x540 fs/kernfs/file.c:337
#3: ffffffff90eed3c0 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd6/0x370 drivers/net/netdevsim/bus.c:233
#4: ffff888027e82128 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1109 [inline]
#4: ffff888027e82128 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1046 [inline]
#4: ffff888027e82128 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xa9/0x7d0 drivers/base/dd.c:1377
#5: ffff888027e81258 (&devlink->lock_key#12){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x170 drivers/net/netdevsim/dev.c:1723
#6: ffffffff91695120 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0x173/0x800 drivers/net/netdevsim/netdev.c:1201
#7: ffff888052c94e98 (&dev->lock){+.+.}-{4:4}, at: netdev_lock include/linux/netdevice.h:2885 [inline]
#7: ffff888052c94e98 (&dev->lock){+.+.}-{4:4}, at: netdev_lock_ops include/net/netdev_lock.h:42 [inline]
#7: ffff888052c94e98 (&dev->lock){+.+.}-{4:4}, at: unregister_netdevice_many_notify+0xe0d/0x1dc0 net/core/dev.c:12760
#8: ffffffff901609e8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:311 [inline]
#8: ffffffff901609e8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2cb/0x760 kernel/rcu/tree_exp.h:966
locks held by syz.2.1864/14668: 3, on CPU#1:
#0: ffff88805a38a100 (&type->s_umount_key#60/1){+.+.}-{4:4}, at: alloc_super fs/super.c:347 [inline]
#0: ffff88805a38a100 (&type->s_umount_key#60/1){+.+.}-{4:4}, at: sget_fc+0x9d5/0x1ce0 fs/super.c:846
#1: ffff888052960148 ((wq_completion)xfs-buf/loop2){+.+.}-{0:0}, at: touch_wq_lockdep_map+0xb5/0x180 kernel/workqueue.c:4272
#2: ffff8880b833c5e0 (&rq->__lock){-.-.}-{2:2}, at: finish_lock_switch kernel/sched/core.c:5312 [inline]
#2: ffff8880b833c5e0 (&rq->__lock){-.-.}-{2:2}, at: finish_task_switch+0x159/0xc60 kernel/sched/core.c:5433
locks held by syz.1.1868/14681: 2, last CPU#1:
#0: ffff88807ebf50a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffff88807ebf5128 (&tty->atomic_write_lock){+.+.}-{4:4}, at: tty_write_lock drivers/tty/tty_io.c:941 [inline]
#1: ffff88807ebf5128 (&tty->atomic_write_lock){+.+.}-{4:4}, at: iterate_tty_write drivers/tty/tty_io.c:960 [inline]
#1: ffff88807ebf5128 (&tty->atomic_write_lock){+.+.}-{4:4}, at: file_tty_write+0x1e2/0xa20 drivers/tty/tty_io.c:1056
locks held by sed/14691: 4, on CPU#1:
#0: ffff8880533d2a88 (vm_lock){++++}-{0:0}, at: lock_vma_under_rcu+0x1d1/0x500 mm/mmap_lock.c:339
#1: ffffffff9015a2e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#1: ffffffff9015a2e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#1: ffffffff9015a2e0 (rcu_read_lock){....}-{1:3}, at: do_fault_around mm/memory.c:6093 [inline]
#1: ffffffff9015a2e0 (rcu_read_lock){....}-{1:3}, at: do_read_fault mm/memory.c:6127 [inline]
#1: ffffffff9015a2e0 (rcu_read_lock){....}-{1:3}, at: do_fault mm/memory.c:6270 [inline]
#1: ffffffff9015a2e0 (rcu_read_lock){....}-{1:3}, at: do_pte_missing+0x139f/0x3570 mm/memory.c:4797
#2: ffffffff9015a2e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#2: ffffffff9015a2e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#2: ffffffff9015a2e0 (rcu_read_lock){....}-{1:3}, at: filemap_map_pages+0x1d7/0x2100 mm/filemap.c:3947
#3: ffffffff9015a2e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#3: ffffffff9015a2e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#3: ffffffff9015a2e0 (rcu_read_lock){....}-{1:3}, at: __pte_offset_map+0x29/0x240 mm/pgtable-generic.c:302
locks held by syz.0.1873/14704: 1, last CPU#0:
#0: ffffffff90908258 (tomoyo_ss){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:249 [inline]
#0: ffffffff90908258 (tomoyo_ss){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:356 [inline]
#0: ffffffff90908258 (tomoyo_ss){.+.+}-{0:0}, at: tomoyo_read_lock security/tomoyo/common.h:1112 [inline]
#0: ffffffff90908258 (tomoyo_ss){.+.+}-{0:0}, at: tomoyo_mount_permission+0x2b5/0x9e0 security/tomoyo/mount.c:238
locks held by syz-executor/14703: 1, on CPU#1:
#0: ffffffff90295440 (fs_reclaim){+.+.}-{0:0}, at: might_alloc include/linux/sched/mm.h:316 [inline]
#0: ffffffff90295440 (fs_reclaim){+.+.}-{0:0}, at: slab_pre_alloc_hook mm/slub.c:4673 [inline]
#0: ffffffff90295440 (fs_reclaim){+.+.}-{0:0}, at: slab_alloc_node mm/slub.c:5011 [inline]
#0: ffffffff90295440 (fs_reclaim){+.+.}-{0:0}, at: kmem_cache_alloc_noprof+0x5f/0x600 mm/slub.c:5047
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 34 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+0x135/0x170 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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 33 Comm: pr/ttyS0 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:io_serial_in+0x77/0xc0 drivers/tty/serial/8250/8250_port.c:425
Code: e8 3e 0f 42 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 8f 02 ba fc 41 03 1e 89 da ec <0f> b6 c0 5b 41 5c 41 5e 41 5f e9 85 25 89 fb cc 44 89 f9 80 e1 07
RSP: 0018:ffffc90000a978b8 EFLAGS: 00000002
RAX: 1ffffffff3841f00 RBX: 00000000000003fd RCX: 0000000000000000
RDX: 00000000000003fd RSI: 0000000000000000 RDI: 0000000000000020
RBP: dffffc0000000000 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: ffffffff85871b00 R12: dffffc0000000000
R13: 0000000000000000 R14: ffffffff9c20fee0 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8881234ff000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb77bbdf000 CR3: 00000000406d0000 CR4: 0000000000350ef0
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:2036
serial8250_fifo_wait_for_lsr_thre drivers/tty/serial/8250/8250_port.c:3294 [inline]
__serial8250_console_fifo_write+0xcd/0x3e0 drivers/tty/serial/8250/8250_port.c:3369
serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3402 [inline]
__serial8250_console_write drivers/tty/serial/8250/8250_port.c:3456 [inline]
serial8250_console_write+0xa7e/0x1200 drivers/tty/serial/8250/8250_port.c:3520
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