Extracting prog: 2m30.675601735s Minimizing prog: 9m47.617719518s Simplifying prog options: 0s Extracting C: 1m10.069508055s Simplifying C: 6m15.322875998s extracting reproducer from 1 programs testing a last program of every proc single: executing 1 programs separately with timeout 30s testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$tty20-ioctl$TIOCSETD-writev detailed listing: executing program 0: r0 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x15) writev(r0, &(0x7f0000000400)=[{&(0x7f0000000180)="83fc8b841d073a98055c269b9c7f8bf7e3f09bd3b72f4d52937848fd386619e916186d47d6e42d862c635fd6547ebc2b11d4a8d3c0e6600d320edcd1ac6173b25e7facda943a596294c838245fd78c9e9e40e1037f4fd1c7dea87524f175fd0c6fcb7591a757bc2c3741fdf2b79b44682761b41d973c05f21bf6bc15245501935483dc5a8101f9f9f88f7671a3d1fe078782", 0x92}, {0x0}, {0x0}, {0x0}], 0x4) program crashed: INFO: trying to register non-static key in gsmld_write single: successfully extracted reproducer found reproducer with 3 syscalls minimizing guilty program testing program (duration=45.945849726s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$tty20-ioctl$TIOCSETD detailed listing: executing program 0: r0 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x15) program did not crash testing program (duration=45.945849726s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$tty20-writev detailed listing: executing program 0: r0 = syz_open_dev$tty20(0xc, 0x4, 0x0) writev(r0, &(0x7f0000000400)=[{&(0x7f0000000180)="83fc8b841d073a98055c269b9c7f8bf7e3f09bd3b72f4d52937848fd386619e916186d47d6e42d862c635fd6547ebc2b11d4a8d3c0e6600d320edcd1ac6173b25e7facda943a596294c838245fd78c9e9e40e1037f4fd1c7dea87524f175fd0c6fcb7591a757bc2c3741fdf2b79b44682761b41d973c05f21bf6bc15245501935483dc5a8101f9f9f88f7671a3d1fe078782", 0x92}, {0x0}, {0x0}, {0x0}], 0x4) program did not crash testing program (duration=45.945849726s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): ioctl$TIOCSETD-writev detailed listing: executing program 0: ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000040)=0x15) writev(0xffffffffffffffff, &(0x7f0000000400)=[{&(0x7f0000000180)="83fc8b841d073a98055c269b9c7f8bf7e3f09bd3b72f4d52937848fd386619e916186d47d6e42d862c635fd6547ebc2b11d4a8d3c0e6600d320edcd1ac6173b25e7facda943a596294c838245fd78c9e9e40e1037f4fd1c7dea87524f175fd0c6fcb7591a757bc2c3741fdf2b79b44682761b41d973c05f21bf6bc15245501935483dc5a8101f9f9f88f7671a3d1fe078782", 0x92}, {0x0}, {0x0}, {0x0}], 0x4) program did not crash testing program (duration=45.945849726s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$tty20-ioctl$TIOCSETD-writev detailed listing: executing program 0: r0 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCSETD(r0, 0x5423, 0x0) writev(r0, &(0x7f0000000400)=[{&(0x7f0000000180)="83fc8b841d073a98055c269b9c7f8bf7e3f09bd3b72f4d52937848fd386619e916186d47d6e42d862c635fd6547ebc2b11d4a8d3c0e6600d320edcd1ac6173b25e7facda943a596294c838245fd78c9e9e40e1037f4fd1c7dea87524f175fd0c6fcb7591a757bc2c3741fdf2b79b44682761b41d973c05f21bf6bc15245501935483dc5a8101f9f9f88f7671a3d1fe078782", 0x92}, {0x0}, {0x0}, {0x0}], 0x4) program did not crash testing program (duration=45.945849726s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$tty20-ioctl$TIOCSETD-writev detailed listing: executing program 0: r0 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x15) writev(r0, 0x0, 0x0) program did not crash testing program (duration=45.945849726s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$tty20-ioctl$TIOCSETD-writev detailed listing: executing program 0: r0 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x15) writev(r0, &(0x7f0000000400), 0x0) program did not crash testing program (duration=45.945849726s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$tty20-ioctl$TIOCSETD-writev detailed listing: executing program 0: r0 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x15) writev(r0, &(0x7f0000000400)=[{0x0}, {0x0}, {0x0}, {0x0}], 0x4) program did not crash testing program (duration=45.945849726s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$tty20-ioctl$TIOCSETD-writev detailed listing: executing program 0: r0 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x15) writev(r0, &(0x7f0000000400)=[{&(0x7f0000000180)}, {0x0}, {0x0}, {0x0}], 0x4) program did not crash extracting C reproducer testing compiled C program (duration=45.945849726s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$tty20-ioctl$TIOCSETD-writev program crashed: INFO: trying to register non-static key in gsmld_write simplifying C reproducer testing compiled C program (duration=45.945849726s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$tty20-ioctl$TIOCSETD-writev program crashed: INFO: trying to register non-static key in gsmld_write testing compiled C program (duration=45.945849726s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:false Cgroups:false BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$tty20-ioctl$TIOCSETD-writev program crashed: INFO: trying to register non-static key in gsmld_write testing compiled C program (duration=45.945849726s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:true Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$tty20-ioctl$TIOCSETD-writev program crashed: INFO: trying to register non-static key in gsmld_write testing compiled C program (duration=45.945849726s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$tty20-ioctl$TIOCSETD-writev program crashed: INFO: trying to register non-static key in gsmld_write testing compiled C program (duration=45.945849726s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:false HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$tty20-ioctl$TIOCSETD-writev program crashed: INFO: trying to register non-static key in gsmld_write testing compiled C program (duration=45.945849726s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$tty20-ioctl$TIOCSETD-writev program crashed: INFO: trying to register non-static key in gsmld_write testing compiled C program (duration=45.945849726s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$tty20-ioctl$TIOCSETD-writev program crashed: INFO: trying to register non-static key in gsmld_write testing program (duration=45.945849726s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$tty20-ioctl$TIOCSETD-writev detailed listing: executing program 0: r0 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x15) writev(r0, &(0x7f0000000400)=[{&(0x7f0000000180)="83fc8b841d073a98055c269b9c7f8bf7e3f09bd3b72f4d52937848fd386619e916186d47d6e42d862c635fd6547ebc2b11d4a8d3c0e6600d320edcd1ac6173b25e7facda943a596294c838245fd78c9e9e40e1037f4fd1c7dea87524f175fd0c6fcb7591a757bc2c3741fdf2b79b44682761b41d973c05f21bf6bc15245501935483dc5a8101f9f9f88f7671a3d1fe078782", 0x92}, {0x0}, {0x0}, {0x0}], 0x4) program crashed: INFO: trying to register non-static key in gsmld_write validation run: crashed=true testing program (duration=45.945849726s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$tty20-ioctl$TIOCSETD-writev detailed listing: executing program 0: r0 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x15) writev(r0, &(0x7f0000000400)=[{&(0x7f0000000180)="83fc8b841d073a98055c269b9c7f8bf7e3f09bd3b72f4d52937848fd386619e916186d47d6e42d862c635fd6547ebc2b11d4a8d3c0e6600d320edcd1ac6173b25e7facda943a596294c838245fd78c9e9e40e1037f4fd1c7dea87524f175fd0c6fcb7591a757bc2c3741fdf2b79b44682761b41d973c05f21bf6bc15245501935483dc5a8101f9f9f88f7671a3d1fe078782", 0x92}, {0x0}, {0x0}, {0x0}], 0x4) program crashed: INFO: trying to register non-static key in gsmld_write validation run: crashed=true testing program (duration=45.945849726s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_dev$tty20-ioctl$TIOCSETD-writev detailed listing: executing program 0: r0 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x15) writev(r0, &(0x7f0000000400)=[{&(0x7f0000000180)="83fc8b841d073a98055c269b9c7f8bf7e3f09bd3b72f4d52937848fd386619e916186d47d6e42d862c635fd6547ebc2b11d4a8d3c0e6600d320edcd1ac6173b25e7facda943a596294c838245fd78c9e9e40e1037f4fd1c7dea87524f175fd0c6fcb7591a757bc2c3741fdf2b79b44682761b41d973c05f21bf6bc15245501935483dc5a8101f9f9f88f7671a3d1fe078782", 0x92}, {0x0}, {0x0}, {0x0}], 0x4) program crashed: INFO: trying to register non-static key in gsmld_write validation run: crashed=true reproducing took 22m29.18651918s repro crashed as (corrupted=false): INFO: trying to register non-static key. The code is fine but needs lockdep annotation, or maybe you didn't initialize this object before use? turning off the locking correctness validator. CPU: 0 PID: 4354 Comm: syz.0.17 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 assign_lock_key+0x1e0/0x1f0 kernel/locking/lockdep.c:937 register_lock_class+0x20e/0x880 kernel/locking/lockdep.c:1250 __lock_acquire+0x160/0x7c60 kernel/locking/lockdep.c:4891 lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xa4/0xf0 kernel/locking/spinlock.c:162 gsmld_write+0x57/0x120 drivers/tty/n_gsm.c:2983 do_tty_write drivers/tty/tty_io.c:1038 [inline] file_tty_write+0x557/0x910 drivers/tty/tty_io.c:1110 do_iter_readv_writev+0x497/0x600 fs/read_write.c:-1 do_iter_write+0x205/0x7b0 fs/read_write.c:855 vfs_writev fs/read_write.c:928 [inline] do_writev+0x254/0x410 fs/read_write.c:971 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f154a070749 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff95c3b458 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007f154a2c6fa0 RCX: 00007f154a070749 RDX: 0000000000000004 RSI: 0000200000000400 RDI: 0000000000000003 RBP: 00007f154a0f4f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f154a2c6fa0 R14: 00007f154a2c6fa0 R15: 0000000000000003 BUG: sleeping function called from invalid context at kernel/printk/printk.c:2555 in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 4354, name: syz.0.17 INFO: lockdep is turned off. irq event stamp: 2126 hardirqs last enabled at (2125): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (2125): [] _raw_spin_unlock_irqrestore+0x82/0x100 kernel/locking/spinlock.c:194 hardirqs last disabled at (2126): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (2126): [] _raw_spin_lock_irqsave+0x7f/0xf0 kernel/locking/spinlock.c:162 softirqs last enabled at (0): [] copy_process+0x139d/0x3e00 kernel/fork.c:2235 softirqs last disabled at (0): [<0000000000000000>] 0x0 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 0 PID: 4354 Comm: syz.0.17 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 ___might_sleep+0x47c/0x600 kernel/sched/core.c:9658 console_lock+0x18/0x70 kernel/printk/printk.c:2555 do_con_write+0xed/0x68d0 drivers/tty/vt/vt.c:2908 con_write+0x1f/0x40 drivers/tty/vt/vt.c:3295 gsmld_write+0xf4/0x120 drivers/tty/n_gsm.c:2986 do_tty_write drivers/tty/tty_io.c:1038 [inline] file_tty_write+0x557/0x910 drivers/tty/tty_io.c:1110 do_iter_readv_writev+0x497/0x600 fs/read_write.c:-1 do_iter_write+0x205/0x7b0 fs/read_write.c:855 vfs_writev fs/read_write.c:928 [inline] do_writev+0x254/0x410 fs/read_write.c:971 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f154a070749 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff95c3b458 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007f154a2c6fa0 RCX: 00007f154a070749 RDX: 0000000000000004 RSI: 0000200000000400 RDI: 0000000000000003 RBP: 00007f154a0f4f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f154a2c6fa0 R14: 00007f154a2c6fa0 R15: 0000000000000003 final repro crashed as (corrupted=false): INFO: trying to register non-static key. The code is fine but needs lockdep annotation, or maybe you didn't initialize this object before use? turning off the locking correctness validator. CPU: 0 PID: 4354 Comm: syz.0.17 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 assign_lock_key+0x1e0/0x1f0 kernel/locking/lockdep.c:937 register_lock_class+0x20e/0x880 kernel/locking/lockdep.c:1250 __lock_acquire+0x160/0x7c60 kernel/locking/lockdep.c:4891 lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xa4/0xf0 kernel/locking/spinlock.c:162 gsmld_write+0x57/0x120 drivers/tty/n_gsm.c:2983 do_tty_write drivers/tty/tty_io.c:1038 [inline] file_tty_write+0x557/0x910 drivers/tty/tty_io.c:1110 do_iter_readv_writev+0x497/0x600 fs/read_write.c:-1 do_iter_write+0x205/0x7b0 fs/read_write.c:855 vfs_writev fs/read_write.c:928 [inline] do_writev+0x254/0x410 fs/read_write.c:971 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f154a070749 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff95c3b458 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007f154a2c6fa0 RCX: 00007f154a070749 RDX: 0000000000000004 RSI: 0000200000000400 RDI: 0000000000000003 RBP: 00007f154a0f4f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f154a2c6fa0 R14: 00007f154a2c6fa0 R15: 0000000000000003 BUG: sleeping function called from invalid context at kernel/printk/printk.c:2555 in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 4354, name: syz.0.17 INFO: lockdep is turned off. irq event stamp: 2126 hardirqs last enabled at (2125): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (2125): [] _raw_spin_unlock_irqrestore+0x82/0x100 kernel/locking/spinlock.c:194 hardirqs last disabled at (2126): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (2126): [] _raw_spin_lock_irqsave+0x7f/0xf0 kernel/locking/spinlock.c:162 softirqs last enabled at (0): [] copy_process+0x139d/0x3e00 kernel/fork.c:2235 softirqs last disabled at (0): [<0000000000000000>] 0x0 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 0 PID: 4354 Comm: syz.0.17 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 ___might_sleep+0x47c/0x600 kernel/sched/core.c:9658 console_lock+0x18/0x70 kernel/printk/printk.c:2555 do_con_write+0xed/0x68d0 drivers/tty/vt/vt.c:2908 con_write+0x1f/0x40 drivers/tty/vt/vt.c:3295 gsmld_write+0xf4/0x120 drivers/tty/n_gsm.c:2986 do_tty_write drivers/tty/tty_io.c:1038 [inline] file_tty_write+0x557/0x910 drivers/tty/tty_io.c:1110 do_iter_readv_writev+0x497/0x600 fs/read_write.c:-1 do_iter_write+0x205/0x7b0 fs/read_write.c:855 vfs_writev fs/read_write.c:928 [inline] do_writev+0x254/0x410 fs/read_write.c:971 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f154a070749 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff95c3b458 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007f154a2c6fa0 RCX: 00007f154a070749 RDX: 0000000000000004 RSI: 0000200000000400 RDI: 0000000000000003 RBP: 00007f154a0f4f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f154a2c6fa0 R14: 00007f154a2c6fa0 R15: 0000000000000003