sock: sock_set_timeout: `syz-executor.0' (pid 3609) tries to set negative timeout kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 3611 Comm: syz-executor.2 Not tainted 4.14.184-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888087df0380 task.stack: ffff88802ff68000 RIP: 0010:do_con_write.part.0+0x78e/0x1a20 drivers/tty/vt/vt.c:2411 RSP: 0018:ffff88802ff6f8f0 EFLAGS: 00010203 RAX: 0000000020000001 RBX: 000000010000000c RCX: ffffc9000c98f000 RDX: 0000000000000283 RSI: ffffffff833fefe2 RDI: ffff8880571d907d RBP: 00000000000007fe R08: 0000000000000001 R09: 0000000000000000 R10: ffff888087df0cd0 R11: ffff888087df0380 R12: dffffc0000000000 R13: ffff8880571d908c R14: ffff8880571d8d00 R15: ffff88802ff6fa69 FS: 00007fdb30fb0700(0000) GS:ffff8880aec00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004f0a10 CR3: 0000000056608000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_con_write drivers/tty/vt/vt.c:2809 [inline] con_put_char+0xb4/0xc0 drivers/tty/vt/vt.c:2808 tty_put_char+0xa3/0x120 drivers/tty/tty_io.c:2879 do_output_char+0x126/0x750 drivers/tty/n_tty.c:488 process_output drivers/tty/n_tty.c:514 [inline] n_tty_write+0x409/0xe20 drivers/tty/n_tty.c:2345 do_tty_write drivers/tty/tty_io.c:959 [inline] tty_write+0x3f1/0x6e0 drivers/tty/tty_io.c:1043 __vfs_write+0xe4/0x630 fs/read_write.c:480 vfs_write+0x17f/0x4d0 fs/read_write.c:544 SYSC_write fs/read_write.c:590 [inline] SyS_write+0xf2/0x210 fs/read_write.c:582 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x45c1d9 RSP: 002b:00007fdb30fafc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000036700 RCX: 000000000045c1d9 RDX: 0000000000001006 RSI: 0000000020000240 RDI: 0000000000000003 RBP: 000000000078bf40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bf0c R13: 00007fff04ad2abf R14: 00007fdb30fb09c0 R15: 000000000078bf0c Code: 24 b2 00 00 00 66 03 6c 24 38 e8 fe b5 1a fe 48 8b 44 24 78 80 38 00 0f 85 d2 10 00 00 49 8b 9e a0 03 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 14 20 48 89 d8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f RIP: do_con_write.part.0+0x78e/0x1a20 drivers/tty/vt/vt.c:2411 RSP: ffff88802ff6f8f0 ---[ end trace 91d9e70dea5bca19 ]---