printk: legacy console [ttyS0] enabled ------------[ cut here ]------------ IS_ERR(kt) WARNING: kernel/printk/printk.c:3728 at legacy_kthread_create kernel/printk/printk.c:3728 [inline], CPU#0: syz.9.175/7196 WARNING: kernel/printk/printk.c:3728 at printk_kthreads_check_locked+0x2a7/0x3f0 kernel/printk/printk.c:3802, CPU#0: syz.9.175/7196 Modules linked in: CPU: 0 UID: 0 PID: 7196 Comm: syz.9.175 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:legacy_kthread_create kernel/printk/printk.c:3728 [inline] RIP: 0010:printk_kthreads_check_locked+0x2a7/0x3f0 kernel/printk/printk.c:3802 Code: fe c1 38 c1 7c 9a 4c 89 f7 e8 95 87 8a 00 eb 90 e8 4e 11 21 00 eb 05 e8 47 11 21 00 b0 01 88 05 cf f3 08 18 e9 e2 00 00 00 90 <0f> 0b 90 48 c7 c7 80 bd 6d 8b e8 3a a9 82 ff 48 8b 1d 33 ee 04 18 RSP: 0018:ffffc9000531fa70 EFLAGS: 00010206 RAX: fffffffffffffffc RBX: 0000000000000001 RCX: ada47f42b8862700 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000531fb70 R08: ffff8880407ee9af R09: 1ffff110080fdd35 R10: dffffc0000000000 R11: ffffed10080fdd36 R12: 0000000000000000 R13: dffffc0000000000 R14: 1ffff92000a63f5c R15: dffffc0000000000 FS: 00007f9525cc56c0(0000) GS:ffff888125c3a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31908ff8 CR3: 000000005904a000 CR4: 00000000003526f0 Call Trace: register_console+0xc19/0xfc0 kernel/printk/printk.c:4221 console_store+0x359/0x4f0 drivers/tty/serial/serial_core.c:2999 kernfs_fop_write_iter+0x3a5/0x540 fs/kernfs/file.c:345 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x61e/0xbb0 fs/read_write.c:687 ksys_write+0x156/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9527a8e0d9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9525cc5028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f9527d16090 RCX: 00007f9527a8e0d9 RDX: 0000000000000002 RSI: 0000200000000600 RDI: 0000000000000003 RBP: 00007f9527b25024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f9527d16128 R14: 00007f9527d16090 R15: 00007ffc077ca828