r0 = syz_open_dev$tty1(0xc, 0x4, 0x1) r1 = syz_open_dev$tty20(0xc, 0x4, 0x1) r2 = openat(0xffffffffffffffff, &(0x7f00000000c0)='./file0\x00', 0x0, 0x12) ioctl$TIOCSWINSZ(r2, 0x5414, &(0x7f0000000040)) r3 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSWINSZ(r3, 0x5414, &(0x7f0000000040)={0x0, 0x0, 0x20}) syz_open_dev$tty1(0xc, 0x4, 0x2) sendfile(r1, r3, &(0x7f0000000080)=0x84d, 0x2) r4 = syz_open_dev$tty20(0xc, 0x4, 0x1) r5 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSWINSZ(r5, 0x5414, &(0x7f0000000040)) r6 = syz_open_dev$tty20(0xc, 0x4, 0x1) ioctl$TIOCSWINSZ(r6, 0x5414, &(0x7f0000000040)) r7 = dup(r5) dup(r4) syz_open_dev$ttys(0xc, 0x2, 0x0) r8 = dup(r7) ioctl$GIO_SCRNMAP(r8, 0x4b40, &(0x7f0000000000)=""/42) ioctl$TIOCL_GETSHIFTSTATE(r0, 0x541c, &(0x7f0000000100)={0x6, 0x4})