Extracting prog: 6m45.029436035s
Minimizing prog: 2h12m30.264378834s
Simplifying prog options: 15m22.673908299s
Extracting C: 3m24.39483139s
Simplifying C: 0s


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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$nl_route-setsockopt$packet_add_memb-getsockopt$sock_int-openat$ptmx-syz_open_dev$tty1-ioctl$KDGKBDIACR-syz_open_procfs$namespace-socket$alg-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-ioctl$SECCOMP_IOCTL_NOTIF_SEND-ioctl$SECCOMP_IOCTL_NOTIF_RECV-syz_emit_ethernet-syz_genetlink_get_family_id$tipc-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-setsockopt$inet_sctp_SCTP_ENABLE_STREAM_RESET-sendmsg$TIPC_CMD_ENABLE_BEARER-syz_open_dev$tty1-ioctl$TIOCSETD
detailed listing:
executing program 0:
socket$nl_route(0x10, 0x3, 0x0)
setsockopt$packet_add_memb(0xffffffffffffffff, 0x107, 0x1, &(0x7f0000000080)={0x0, 0x1, 0x6, @dev}, 0x10)
getsockopt$sock_int(0xffffffffffffffff, 0x1, 0x3, 0x0, &(0x7f0000000080))
r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000400), 0x0, 0x0)
r1 = syz_open_dev$tty1(0xc, 0x4, 0x1)
ioctl$KDGKBDIACR(r1, 0x4b4a, 0x0)
syz_open_procfs$namespace(0x0, 0x0)
socket$alg(0x26, 0x5, 0x0)
r2 = seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x8, &(0x7f0000000040)={0x1, &(0x7f0000000000)=[{0x6, 0x0, 0x0, 0x7fc00100}]})
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x0, 0x0)
ioctl$SECCOMP_IOCTL_NOTIF_SEND(r2, 0xc0182101, &(0x7f0000000180)={0x0, 0xf86})
ioctl$SECCOMP_IOCTL_NOTIF_RECV(r2, 0xc0502100, 0x0)
syz_emit_ethernet(0x0, 0x0, 0x0)
syz_genetlink_get_family_id$tipc(0x0, 0xffffffffffffffff)
getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER(0xffffffffffffffff, 0x84, 0x7b, &(0x7f0000000140)={<r3=>0x0, 0x10000}, 0x0)
setsockopt$inet_sctp_SCTP_ENABLE_STREAM_RESET(0xffffffffffffffff, 0x84, 0x76, &(0x7f0000000240)={r3}, 0x8)
sendmsg$TIPC_CMD_ENABLE_BEARER(0xffffffffffffffff, 0x0, 0x0)
syz_open_dev$tty1(0xc, 0x4, 0x4)
ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x14)

program did not crash
single: failed to extract reproducer
single: executing 1 programs separately with timeout 6m0s
testing program (duration=6m0s, {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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$nl_route-setsockopt$packet_add_memb-getsockopt$sock_int-openat$ptmx-syz_open_dev$tty1-ioctl$KDGKBDIACR-syz_open_procfs$namespace-socket$alg-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-ioctl$SECCOMP_IOCTL_NOTIF_SEND-ioctl$SECCOMP_IOCTL_NOTIF_RECV-syz_emit_ethernet-syz_genetlink_get_family_id$tipc-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-setsockopt$inet_sctp_SCTP_ENABLE_STREAM_RESET-sendmsg$TIPC_CMD_ENABLE_BEARER-syz_open_dev$tty1-ioctl$TIOCSETD
detailed listing:
executing program 0:
socket$nl_route(0x10, 0x3, 0x0)
setsockopt$packet_add_memb(0xffffffffffffffff, 0x107, 0x1, &(0x7f0000000080)={0x0, 0x1, 0x6, @dev}, 0x10)
getsockopt$sock_int(0xffffffffffffffff, 0x1, 0x3, 0x0, &(0x7f0000000080))
r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000400), 0x0, 0x0)
r1 = syz_open_dev$tty1(0xc, 0x4, 0x1)
ioctl$KDGKBDIACR(r1, 0x4b4a, 0x0)
syz_open_procfs$namespace(0x0, 0x0)
socket$alg(0x26, 0x5, 0x0)
r2 = seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x8, &(0x7f0000000040)={0x1, &(0x7f0000000000)=[{0x6, 0x0, 0x0, 0x7fc00100}]})
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x0, 0x0)
ioctl$SECCOMP_IOCTL_NOTIF_SEND(r2, 0xc0182101, &(0x7f0000000180)={0x0, 0xf86})
ioctl$SECCOMP_IOCTL_NOTIF_RECV(r2, 0xc0502100, 0x0)
syz_emit_ethernet(0x0, 0x0, 0x0)
syz_genetlink_get_family_id$tipc(0x0, 0xffffffffffffffff)
getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER(0xffffffffffffffff, 0x84, 0x7b, &(0x7f0000000140)={<r3=>0x0, 0x10000}, 0x0)
setsockopt$inet_sctp_SCTP_ENABLE_STREAM_RESET(0xffffffffffffffff, 0x84, 0x76, &(0x7f0000000240)={r3}, 0x8)
sendmsg$TIPC_CMD_ENABLE_BEARER(0xffffffffffffffff, 0x0, 0x0)
syz_open_dev$tty1(0xc, 0x4, 0x4)
ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x14)

program crashed: KASAN: slab-use-after-free Read in tty_write_room
single: successfully extracted reproducer
found reproducer with 19 syscalls
minimizing guilty program
testing program (duration=7m30.80377312s, {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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$nl_route-setsockopt$packet_add_memb-getsockopt$sock_int-openat$ptmx-syz_open_dev$tty1-ioctl$KDGKBDIACR-syz_open_procfs$namespace-socket$alg-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-ioctl$SECCOMP_IOCTL_NOTIF_SEND-ioctl$SECCOMP_IOCTL_NOTIF_RECV-syz_emit_ethernet-syz_genetlink_get_family_id$tipc-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-setsockopt$inet_sctp_SCTP_ENABLE_STREAM_RESET-sendmsg$TIPC_CMD_ENABLE_BEARER-syz_open_dev$tty1
detailed listing:
executing program 0:
socket$nl_route(0x10, 0x3, 0x0)
setsockopt$packet_add_memb(0xffffffffffffffff, 0x107, 0x1, &(0x7f0000000080)={0x0, 0x1, 0x6, @dev}, 0x10)
getsockopt$sock_int(0xffffffffffffffff, 0x1, 0x3, 0x0, &(0x7f0000000080))
openat$ptmx(0xffffffffffffff9c, &(0x7f0000000400), 0x0, 0x0)
r0 = syz_open_dev$tty1(0xc, 0x4, 0x1)
ioctl$KDGKBDIACR(r0, 0x4b4a, 0x0)
syz_open_procfs$namespace(0x0, 0x0)
socket$alg(0x26, 0x5, 0x0)
r1 = seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x8, &(0x7f0000000040)={0x1, &(0x7f0000000000)=[{0x6, 0x0, 0x0, 0x7fc00100}]})
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x0, 0x0)
ioctl$SECCOMP_IOCTL_NOTIF_SEND(r1, 0xc0182101, &(0x7f0000000180)={0x0, 0xf86})
ioctl$SECCOMP_IOCTL_NOTIF_RECV(r1, 0xc0502100, 0x0)
syz_emit_ethernet(0x0, 0x0, 0x0)
syz_genetlink_get_family_id$tipc(0x0, 0xffffffffffffffff)
getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER(0xffffffffffffffff, 0x84, 0x7b, &(0x7f0000000140)={<r2=>0x0, 0x10000}, 0x0)
setsockopt$inet_sctp_SCTP_ENABLE_STREAM_RESET(0xffffffffffffffff, 0x84, 0x76, &(0x7f0000000240)={r2}, 0x8)
sendmsg$TIPC_CMD_ENABLE_BEARER(0xffffffffffffffff, 0x0, 0x0)
syz_open_dev$tty1(0xc, 0x4, 0x4)

program did not crash
testing program (duration=7m30.80377312s, {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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$nl_route-setsockopt$packet_add_memb-getsockopt$sock_int-openat$ptmx-syz_open_dev$tty1-ioctl$KDGKBDIACR-syz_open_procfs$namespace-socket$alg-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-ioctl$SECCOMP_IOCTL_NOTIF_SEND-ioctl$SECCOMP_IOCTL_NOTIF_RECV-syz_emit_ethernet-syz_genetlink_get_family_id$tipc-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-setsockopt$inet_sctp_SCTP_ENABLE_STREAM_RESET-sendmsg$TIPC_CMD_ENABLE_BEARER-ioctl$TIOCSETD
detailed listing:
executing program 0:
socket$nl_route(0x10, 0x3, 0x0)
setsockopt$packet_add_memb(0xffffffffffffffff, 0x107, 0x1, &(0x7f0000000080)={0x0, 0x1, 0x6, @dev}, 0x10)
getsockopt$sock_int(0xffffffffffffffff, 0x1, 0x3, 0x0, &(0x7f0000000080))
r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000400), 0x0, 0x0)
r1 = syz_open_dev$tty1(0xc, 0x4, 0x1)
ioctl$KDGKBDIACR(r1, 0x4b4a, 0x0)
syz_open_procfs$namespace(0x0, 0x0)
socket$alg(0x26, 0x5, 0x0)
r2 = seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x8, &(0x7f0000000040)={0x1, &(0x7f0000000000)=[{0x6, 0x0, 0x0, 0x7fc00100}]})
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x0, 0x0)
ioctl$SECCOMP_IOCTL_NOTIF_SEND(r2, 0xc0182101, &(0x7f0000000180)={0x0, 0xf86})
ioctl$SECCOMP_IOCTL_NOTIF_RECV(r2, 0xc0502100, 0x0)
syz_emit_ethernet(0x0, 0x0, 0x0)
syz_genetlink_get_family_id$tipc(0x0, 0xffffffffffffffff)
getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER(0xffffffffffffffff, 0x84, 0x7b, &(0x7f0000000140)={<r3=>0x0, 0x10000}, 0x0)
setsockopt$inet_sctp_SCTP_ENABLE_STREAM_RESET(0xffffffffffffffff, 0x84, 0x76, &(0x7f0000000240)={r3}, 0x8)
sendmsg$TIPC_CMD_ENABLE_BEARER(0xffffffffffffffff, 0x0, 0x0)
ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x14)

program crashed: KASAN: slab-use-after-free Read in tty_write_room
testing program (duration=7m30.80377312s, {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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$nl_route-setsockopt$packet_add_memb-getsockopt$sock_int-openat$ptmx-syz_open_dev$tty1-ioctl$KDGKBDIACR-syz_open_procfs$namespace-socket$alg-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-ioctl$SECCOMP_IOCTL_NOTIF_SEND-ioctl$SECCOMP_IOCTL_NOTIF_RECV-syz_emit_ethernet-syz_genetlink_get_family_id$tipc-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-setsockopt$inet_sctp_SCTP_ENABLE_STREAM_RESET-ioctl$TIOCSETD
detailed listing:
executing program 0:
socket$nl_route(0x10, 0x3, 0x0)
setsockopt$packet_add_memb(0xffffffffffffffff, 0x107, 0x1, &(0x7f0000000080)={0x0, 0x1, 0x6, @dev}, 0x10)
getsockopt$sock_int(0xffffffffffffffff, 0x1, 0x3, 0x0, &(0x7f0000000080))
r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000400), 0x0, 0x0)
r1 = syz_open_dev$tty1(0xc, 0x4, 0x1)
ioctl$KDGKBDIACR(r1, 0x4b4a, 0x0)
syz_open_procfs$namespace(0x0, 0x0)
socket$alg(0x26, 0x5, 0x0)
r2 = seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x8, &(0x7f0000000040)={0x1, &(0x7f0000000000)=[{0x6, 0x0, 0x0, 0x7fc00100}]})
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x0, 0x0)
ioctl$SECCOMP_IOCTL_NOTIF_SEND(r2, 0xc0182101, &(0x7f0000000180)={0x0, 0xf86})
ioctl$SECCOMP_IOCTL_NOTIF_RECV(r2, 0xc0502100, 0x0)
syz_emit_ethernet(0x0, 0x0, 0x0)
syz_genetlink_get_family_id$tipc(0x0, 0xffffffffffffffff)
getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER(0xffffffffffffffff, 0x84, 0x7b, &(0x7f0000000140)={<r3=>0x0, 0x10000}, 0x0)
setsockopt$inet_sctp_SCTP_ENABLE_STREAM_RESET(0xffffffffffffffff, 0x84, 0x76, &(0x7f0000000240)={r3}, 0x8)
ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x14)

program crashed: KASAN: slab-use-after-free Read in tty_write_room
testing program (duration=7m30.80377312s, {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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$nl_route-setsockopt$packet_add_memb-getsockopt$sock_int-openat$ptmx-syz_open_dev$tty1-ioctl$KDGKBDIACR-syz_open_procfs$namespace-socket$alg-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-ioctl$SECCOMP_IOCTL_NOTIF_SEND-ioctl$SECCOMP_IOCTL_NOTIF_RECV-syz_emit_ethernet-syz_genetlink_get_family_id$tipc-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-ioctl$TIOCSETD
detailed listing:
executing program 0:
socket$nl_route(0x10, 0x3, 0x0)
setsockopt$packet_add_memb(0xffffffffffffffff, 0x107, 0x1, &(0x7f0000000080)={0x0, 0x1, 0x6, @dev}, 0x10)
getsockopt$sock_int(0xffffffffffffffff, 0x1, 0x3, 0x0, &(0x7f0000000080))
r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000400), 0x0, 0x0)
r1 = syz_open_dev$tty1(0xc, 0x4, 0x1)
ioctl$KDGKBDIACR(r1, 0x4b4a, 0x0)
syz_open_procfs$namespace(0x0, 0x0)
socket$alg(0x26, 0x5, 0x0)
r2 = seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x8, &(0x7f0000000040)={0x1, &(0x7f0000000000)=[{0x6, 0x0, 0x0, 0x7fc00100}]})
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x0, 0x0)
ioctl$SECCOMP_IOCTL_NOTIF_SEND(r2, 0xc0182101, &(0x7f0000000180)={0x0, 0xf86})
ioctl$SECCOMP_IOCTL_NOTIF_RECV(r2, 0xc0502100, 0x0)
syz_emit_ethernet(0x0, 0x0, 0x0)
syz_genetlink_get_family_id$tipc(0x0, 0xffffffffffffffff)
getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER(0xffffffffffffffff, 0x84, 0x7b, &(0x7f0000000140)={0x0, 0x10000}, 0x0)
ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x14)

program crashed: KASAN: slab-use-after-free Read in tty_write_room
testing program (duration=7m30.80377312s, {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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$nl_route-setsockopt$packet_add_memb-getsockopt$sock_int-openat$ptmx-syz_open_dev$tty1-ioctl$KDGKBDIACR-syz_open_procfs$namespace-socket$alg-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-ioctl$SECCOMP_IOCTL_NOTIF_SEND-ioctl$SECCOMP_IOCTL_NOTIF_RECV-syz_emit_ethernet-syz_genetlink_get_family_id$tipc-ioctl$TIOCSETD
detailed listing:
executing program 0:
socket$nl_route(0x10, 0x3, 0x0)
setsockopt$packet_add_memb(0xffffffffffffffff, 0x107, 0x1, &(0x7f0000000080)={0x0, 0x1, 0x6, @dev}, 0x10)
getsockopt$sock_int(0xffffffffffffffff, 0x1, 0x3, 0x0, &(0x7f0000000080))
r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000400), 0x0, 0x0)
r1 = syz_open_dev$tty1(0xc, 0x4, 0x1)
ioctl$KDGKBDIACR(r1, 0x4b4a, 0x0)
syz_open_procfs$namespace(0x0, 0x0)
socket$alg(0x26, 0x5, 0x0)
r2 = seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x8, &(0x7f0000000040)={0x1, &(0x7f0000000000)=[{0x6, 0x0, 0x0, 0x7fc00100}]})
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x0, 0x0)
ioctl$SECCOMP_IOCTL_NOTIF_SEND(r2, 0xc0182101, &(0x7f0000000180)={0x0, 0xf86})
ioctl$SECCOMP_IOCTL_NOTIF_RECV(r2, 0xc0502100, 0x0)
syz_emit_ethernet(0x0, 0x0, 0x0)
syz_genetlink_get_family_id$tipc(0x0, 0xffffffffffffffff)
ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x14)

program did not crash
testing program (duration=7m30.80377312s, {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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$nl_route-setsockopt$packet_add_memb-getsockopt$sock_int-openat$ptmx-syz_open_dev$tty1-ioctl$KDGKBDIACR-syz_open_procfs$namespace-socket$alg-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-ioctl$SECCOMP_IOCTL_NOTIF_SEND-ioctl$SECCOMP_IOCTL_NOTIF_RECV-syz_emit_ethernet-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-ioctl$TIOCSETD
detailed listing:
executing program 0:
socket$nl_route(0x10, 0x3, 0x0)
setsockopt$packet_add_memb(0xffffffffffffffff, 0x107, 0x1, &(0x7f0000000080)={0x0, 0x1, 0x6, @dev}, 0x10)
getsockopt$sock_int(0xffffffffffffffff, 0x1, 0x3, 0x0, &(0x7f0000000080))
r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000400), 0x0, 0x0)
r1 = syz_open_dev$tty1(0xc, 0x4, 0x1)
ioctl$KDGKBDIACR(r1, 0x4b4a, 0x0)
syz_open_procfs$namespace(0x0, 0x0)
socket$alg(0x26, 0x5, 0x0)
r2 = seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x8, &(0x7f0000000040)={0x1, &(0x7f0000000000)=[{0x6, 0x0, 0x0, 0x7fc00100}]})
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x0, 0x0)
ioctl$SECCOMP_IOCTL_NOTIF_SEND(r2, 0xc0182101, &(0x7f0000000180)={0x0, 0xf86})
ioctl$SECCOMP_IOCTL_NOTIF_RECV(r2, 0xc0502100, 0x0)
syz_emit_ethernet(0x0, 0x0, 0x0)
getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER(0xffffffffffffffff, 0x84, 0x7b, &(0x7f0000000140)={0x0, 0x10000}, 0x0)
ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x14)

program crashed: KASAN: slab-use-after-free Read in tty_write_room
testing program (duration=7m30.80377312s, {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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$nl_route-setsockopt$packet_add_memb-getsockopt$sock_int-openat$ptmx-syz_open_dev$tty1-ioctl$KDGKBDIACR-syz_open_procfs$namespace-socket$alg-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-ioctl$SECCOMP_IOCTL_NOTIF_SEND-ioctl$SECCOMP_IOCTL_NOTIF_RECV-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-ioctl$TIOCSETD
detailed listing:
executing program 0:
socket$nl_route(0x10, 0x3, 0x0)
setsockopt$packet_add_memb(0xffffffffffffffff, 0x107, 0x1, &(0x7f0000000080)={0x0, 0x1, 0x6, @dev}, 0x10)
getsockopt$sock_int(0xffffffffffffffff, 0x1, 0x3, 0x0, &(0x7f0000000080))
r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000400), 0x0, 0x0)
r1 = syz_open_dev$tty1(0xc, 0x4, 0x1)
ioctl$KDGKBDIACR(r1, 0x4b4a, 0x0)
syz_open_procfs$namespace(0x0, 0x0)
socket$alg(0x26, 0x5, 0x0)
r2 = seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x8, &(0x7f0000000040)={0x1, &(0x7f0000000000)=[{0x6, 0x0, 0x0, 0x7fc00100}]})
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x0, 0x0)
ioctl$SECCOMP_IOCTL_NOTIF_SEND(r2, 0xc0182101, &(0x7f0000000180)={0x0, 0xf86})
ioctl$SECCOMP_IOCTL_NOTIF_RECV(r2, 0xc0502100, 0x0)
getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER(0xffffffffffffffff, 0x84, 0x7b, &(0x7f0000000140)={0x0, 0x10000}, 0x0)
ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x14)

program did not crash
testing program (duration=7m30.80377312s, {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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$nl_route-setsockopt$packet_add_memb-getsockopt$sock_int-openat$ptmx-syz_open_dev$tty1-ioctl$KDGKBDIACR-syz_open_procfs$namespace-socket$alg-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-ioctl$SECCOMP_IOCTL_NOTIF_SEND-syz_emit_ethernet-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-ioctl$TIOCSETD
detailed listing:
executing program 0:
socket$nl_route(0x10, 0x3, 0x0)
setsockopt$packet_add_memb(0xffffffffffffffff, 0x107, 0x1, &(0x7f0000000080)={0x0, 0x1, 0x6, @dev}, 0x10)
getsockopt$sock_int(0xffffffffffffffff, 0x1, 0x3, 0x0, &(0x7f0000000080))
r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000400), 0x0, 0x0)
r1 = syz_open_dev$tty1(0xc, 0x4, 0x1)
ioctl$KDGKBDIACR(r1, 0x4b4a, 0x0)
syz_open_procfs$namespace(0x0, 0x0)
socket$alg(0x26, 0x5, 0x0)
r2 = seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x8, &(0x7f0000000040)={0x1, &(0x7f0000000000)=[{0x6, 0x0, 0x0, 0x7fc00100}]})
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x0, 0x0)
ioctl$SECCOMP_IOCTL_NOTIF_SEND(r2, 0xc0182101, &(0x7f0000000180)={0x0, 0xf86})
syz_emit_ethernet(0x0, 0x0, 0x0)
getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER(0xffffffffffffffff, 0x84, 0x7b, &(0x7f0000000140)={0x0, 0x10000}, 0x0)
ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x14)

program crashed: KASAN: slab-use-after-free Read in tty_write_room
testing program (duration=7m30.80377312s, {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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$nl_route-setsockopt$packet_add_memb-getsockopt$sock_int-openat$ptmx-syz_open_dev$tty1-ioctl$KDGKBDIACR-syz_open_procfs$namespace-socket$alg-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-syz_emit_ethernet-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-ioctl$TIOCSETD
detailed listing:
executing program 0:
socket$nl_route(0x10, 0x3, 0x0)
setsockopt$packet_add_memb(0xffffffffffffffff, 0x107, 0x1, &(0x7f0000000080)={0x0, 0x1, 0x6, @dev}, 0x10)
getsockopt$sock_int(0xffffffffffffffff, 0x1, 0x3, 0x0, &(0x7f0000000080))
r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000400), 0x0, 0x0)
r1 = syz_open_dev$tty1(0xc, 0x4, 0x1)
ioctl$KDGKBDIACR(r1, 0x4b4a, 0x0)
syz_open_procfs$namespace(0x0, 0x0)
socket$alg(0x26, 0x5, 0x0)
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x8, &(0x7f0000000040)={0x1, &(0x7f0000000000)=[{0x6, 0x0, 0x0, 0x7fc00100}]})
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x0, 0x0)
syz_emit_ethernet(0x0, 0x0, 0x0)
getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER(0xffffffffffffffff, 0x84, 0x7b, &(0x7f0000000140)={0x0, 0x10000}, 0x0)
ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x14)

program crashed: KASAN: slab-use-after-free Read in tty_write_room
testing program (duration=7m30.80377312s, {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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$nl_route-setsockopt$packet_add_memb-getsockopt$sock_int-openat$ptmx-syz_open_dev$tty1-ioctl$KDGKBDIACR-syz_open_procfs$namespace-socket$alg-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-syz_emit_ethernet-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-ioctl$TIOCSETD
detailed listing:
executing program 0:
socket$nl_route(0x10, 0x3, 0x0)
setsockopt$packet_add_memb(0xffffffffffffffff, 0x107, 0x1, &(0x7f0000000080)={0x0, 0x1, 0x6, @dev}, 0x10)
getsockopt$sock_int(0xffffffffffffffff, 0x1, 0x3, 0x0, &(0x7f0000000080))
r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000400), 0x0, 0x0)
r1 = syz_open_dev$tty1(0xc, 0x4, 0x1)
ioctl$KDGKBDIACR(r1, 0x4b4a, 0x0)
syz_open_procfs$namespace(0x0, 0x0)
socket$alg(0x26, 0x5, 0x0)
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x8, &(0x7f0000000040)={0x1, &(0x7f0000000000)=[{0x6, 0x0, 0x0, 0x7fc00100}]})
syz_emit_ethernet(0x0, 0x0, 0x0)
getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER(0xffffffffffffffff, 0x84, 0x7b, &(0x7f0000000140)={0x0, 0x10000}, 0x0)
ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x14)

program crashed: KASAN: slab-use-after-free Read in tty_write_room
testing program (duration=7m30.80377312s, {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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$nl_route-setsockopt$packet_add_memb-getsockopt$sock_int-openat$ptmx-syz_open_dev$tty1-ioctl$KDGKBDIACR-syz_open_procfs$namespace-socket$alg-syz_emit_ethernet-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-ioctl$TIOCSETD
detailed listing:
executing program 0:
socket$nl_route(0x10, 0x3, 0x0)
setsockopt$packet_add_memb(0xffffffffffffffff, 0x107, 0x1, &(0x7f0000000080)={0x0, 0x1, 0x6, @dev}, 0x10)
getsockopt$sock_int(0xffffffffffffffff, 0x1, 0x3, 0x0, &(0x7f0000000080))
r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000400), 0x0, 0x0)
r1 = syz_open_dev$tty1(0xc, 0x4, 0x1)
ioctl$KDGKBDIACR(r1, 0x4b4a, 0x0)
syz_open_procfs$namespace(0x0, 0x0)
socket$alg(0x26, 0x5, 0x0)
syz_emit_ethernet(0x0, 0x0, 0x0)
getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER(0xffffffffffffffff, 0x84, 0x7b, &(0x7f0000000140)={0x0, 0x10000}, 0x0)
ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x14)

program did not crash
testing program (duration=7m30.80377312s, {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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$nl_route-setsockopt$packet_add_memb-getsockopt$sock_int-openat$ptmx-syz_open_dev$tty1-ioctl$KDGKBDIACR-syz_open_procfs$namespace-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-syz_emit_ethernet-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-ioctl$TIOCSETD
detailed listing:
executing program 0:
socket$nl_route(0x10, 0x3, 0x0)
setsockopt$packet_add_memb(0xffffffffffffffff, 0x107, 0x1, &(0x7f0000000080)={0x0, 0x1, 0x6, @dev}, 0x10)
getsockopt$sock_int(0xffffffffffffffff, 0x1, 0x3, 0x0, &(0x7f0000000080))
r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000400), 0x0, 0x0)
r1 = syz_open_dev$tty1(0xc, 0x4, 0x1)
ioctl$KDGKBDIACR(r1, 0x4b4a, 0x0)
syz_open_procfs$namespace(0x0, 0x0)
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x8, &(0x7f0000000040)={0x1, &(0x7f0000000000)=[{0x6, 0x0, 0x0, 0x7fc00100}]})
syz_emit_ethernet(0x0, 0x0, 0x0)
getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER(0xffffffffffffffff, 0x84, 0x7b, &(0x7f0000000140)={0x0, 0x10000}, 0x0)
ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x14)

program crashed: KASAN: slab-use-after-free Read in tty_write_room
testing program (duration=7m30.80377312s, {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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$nl_route-setsockopt$packet_add_memb-getsockopt$sock_int-openat$ptmx-syz_open_dev$tty1-ioctl$KDGKBDIACR-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-syz_emit_ethernet-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-ioctl$TIOCSETD
detailed listing:
executing program 0:
socket$nl_route(0x10, 0x3, 0x0)
setsockopt$packet_add_memb(0xffffffffffffffff, 0x107, 0x1, &(0x7f0000000080)={0x0, 0x1, 0x6, @dev}, 0x10)
getsockopt$sock_int(0xffffffffffffffff, 0x1, 0x3, 0x0, &(0x7f0000000080))
r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000400), 0x0, 0x0)
r1 = syz_open_dev$tty1(0xc, 0x4, 0x1)
ioctl$KDGKBDIACR(r1, 0x4b4a, 0x0)
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x8, &(0x7f0000000040)={0x1, &(0x7f0000000000)=[{0x6, 0x0, 0x0, 0x7fc00100}]})
syz_emit_ethernet(0x0, 0x0, 0x0)
getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER(0xffffffffffffffff, 0x84, 0x7b, &(0x7f0000000140)={0x0, 0x10000}, 0x0)
ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x14)

program crashed: KASAN: slab-use-after-free Read in tty_write_room
testing program (duration=7m30.80377312s, {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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$nl_route-setsockopt$packet_add_memb-getsockopt$sock_int-openat$ptmx-syz_open_dev$tty1-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-syz_emit_ethernet-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-ioctl$TIOCSETD
detailed listing:
executing program 0:
socket$nl_route(0x10, 0x3, 0x0)
setsockopt$packet_add_memb(0xffffffffffffffff, 0x107, 0x1, &(0x7f0000000080)={0x0, 0x1, 0x6, @dev}, 0x10)
getsockopt$sock_int(0xffffffffffffffff, 0x1, 0x3, 0x0, &(0x7f0000000080))
r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000400), 0x0, 0x0)
syz_open_dev$tty1(0xc, 0x4, 0x1)
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x8, &(0x7f0000000040)={0x1, &(0x7f0000000000)=[{0x6, 0x0, 0x0, 0x7fc00100}]})
syz_emit_ethernet(0x0, 0x0, 0x0)
getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER(0xffffffffffffffff, 0x84, 0x7b, &(0x7f0000000140)={0x0, 0x10000}, 0x0)
ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x14)

program crashed: KASAN: slab-use-after-free Read in tty_write_room
testing program (duration=7m30.80377312s, {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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$nl_route-setsockopt$packet_add_memb-getsockopt$sock_int-openat$ptmx-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-syz_emit_ethernet-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-ioctl$TIOCSETD
detailed listing:
executing program 0:
socket$nl_route(0x10, 0x3, 0x0)
setsockopt$packet_add_memb(0xffffffffffffffff, 0x107, 0x1, &(0x7f0000000080)={0x0, 0x1, 0x6, @dev}, 0x10)
getsockopt$sock_int(0xffffffffffffffff, 0x1, 0x3, 0x0, &(0x7f0000000080))
r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000400), 0x0, 0x0)
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x8, &(0x7f0000000040)={0x1, &(0x7f0000000000)=[{0x6, 0x0, 0x0, 0x7fc00100}]})
syz_emit_ethernet(0x0, 0x0, 0x0)
getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER(0xffffffffffffffff, 0x84, 0x7b, &(0x7f0000000140)={0x0, 0x10000}, 0x0)
ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x14)

program did not crash
testing program (duration=7m30.80377312s, {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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$nl_route-setsockopt$packet_add_memb-getsockopt$sock_int-syz_open_dev$tty1-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-syz_emit_ethernet-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-ioctl$TIOCSETD
detailed listing:
executing program 0:
socket$nl_route(0x10, 0x3, 0x0)
setsockopt$packet_add_memb(0xffffffffffffffff, 0x107, 0x1, &(0x7f0000000080)={0x0, 0x1, 0x6, @dev}, 0x10)
getsockopt$sock_int(0xffffffffffffffff, 0x1, 0x3, 0x0, &(0x7f0000000080))
syz_open_dev$tty1(0xc, 0x4, 0x1)
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x8, &(0x7f0000000040)={0x1, &(0x7f0000000000)=[{0x6, 0x0, 0x0, 0x7fc00100}]})
syz_emit_ethernet(0x0, 0x0, 0x0)
getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER(0xffffffffffffffff, 0x84, 0x7b, &(0x7f0000000140)={0x0, 0x10000}, 0x0)
ioctl$TIOCSETD(0xffffffffffffffff, 0x5423, &(0x7f0000000040)=0x14)

program did not crash
testing program (duration=7m30.80377312s, {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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$nl_route-setsockopt$packet_add_memb-openat$ptmx-syz_open_dev$tty1-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-syz_emit_ethernet-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-ioctl$TIOCSETD
detailed listing:
executing program 0:
socket$nl_route(0x10, 0x3, 0x0)
setsockopt$packet_add_memb(0xffffffffffffffff, 0x107, 0x1, &(0x7f0000000080)={0x0, 0x1, 0x6, @dev}, 0x10)
r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000400), 0x0, 0x0)
syz_open_dev$tty1(0xc, 0x4, 0x1)
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x8, &(0x7f0000000040)={0x1, &(0x7f0000000000)=[{0x6, 0x0, 0x0, 0x7fc00100}]})
syz_emit_ethernet(0x0, 0x0, 0x0)
getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER(0xffffffffffffffff, 0x84, 0x7b, &(0x7f0000000140)={0x0, 0x10000}, 0x0)
ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x14)

program crashed: KASAN: slab-use-after-free Read in tty_write_room
testing program (duration=7m30.80377312s, {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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): socket$nl_route-openat$ptmx-syz_open_dev$tty1-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-syz_emit_ethernet-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-ioctl$TIOCSETD
detailed listing:
executing program 0:
socket$nl_route(0x10, 0x3, 0x0)
r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000400), 0x0, 0x0)
syz_open_dev$tty1(0xc, 0x4, 0x1)
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x8, &(0x7f0000000040)={0x1, &(0x7f0000000000)=[{0x6, 0x0, 0x0, 0x7fc00100}]})
syz_emit_ethernet(0x0, 0x0, 0x0)
getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER(0xffffffffffffffff, 0x84, 0x7b, &(0x7f0000000140)={0x0, 0x10000}, 0x0)
ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x14)

program crashed: KASAN: slab-use-after-free Read in tty_write_room
testing program (duration=7m30.80377312s, {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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$ptmx-syz_open_dev$tty1-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-syz_emit_ethernet-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-ioctl$TIOCSETD
detailed listing:
executing program 0:
r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000400), 0x0, 0x0)
syz_open_dev$tty1(0xc, 0x4, 0x1)
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x8, &(0x7f0000000040)={0x1, &(0x7f0000000000)=[{0x6, 0x0, 0x0, 0x7fc00100}]})
syz_emit_ethernet(0x0, 0x0, 0x0)
getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER(0xffffffffffffffff, 0x84, 0x7b, &(0x7f0000000140)={0x0, 0x10000}, 0x0)
ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x14)

program crashed: KASAN: slab-use-after-free Read in pty_write_room
testing program (duration=7m30.80377312s, {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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$ptmx-syz_open_dev$tty1-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-syz_emit_ethernet-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-ioctl$TIOCSETD
detailed listing:
executing program 0:
r0 = openat$ptmx(0xffffffffffffff9c, 0x0, 0x0, 0x0)
syz_open_dev$tty1(0xc, 0x4, 0x1)
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x8, &(0x7f0000000040)={0x1, &(0x7f0000000000)=[{0x6, 0x0, 0x0, 0x7fc00100}]})
syz_emit_ethernet(0x0, 0x0, 0x0)
getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER(0xffffffffffffffff, 0x84, 0x7b, &(0x7f0000000140)={0x0, 0x10000}, 0x0)
ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x14)

program did not crash
testing program (duration=7m30.80377312s, {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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$ptmx-syz_open_dev$tty1-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-syz_emit_ethernet-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-ioctl$TIOCSETD
detailed listing:
executing program 0:
r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000400), 0x0, 0x0)
syz_open_dev$tty1(0xc, 0x4, 0x1)
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x8, 0x0)
syz_emit_ethernet(0x0, 0x0, 0x0)
getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER(0xffffffffffffffff, 0x84, 0x7b, &(0x7f0000000140)={0x0, 0x10000}, 0x0)
ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x14)

program did not crash
testing program (duration=7m30.80377312s, {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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$ptmx-syz_open_dev$tty1-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-syz_emit_ethernet-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-ioctl$TIOCSETD
detailed listing:
executing program 0:
r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000400), 0x0, 0x0)
syz_open_dev$tty1(0xc, 0x4, 0x1)
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x8, &(0x7f0000000040)={0x0, 0x0})
syz_emit_ethernet(0x0, 0x0, 0x0)
getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER(0xffffffffffffffff, 0x84, 0x7b, &(0x7f0000000140)={0x0, 0x10000}, 0x0)
ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x14)

program did not crash
testing program (duration=7m30.80377312s, {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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$ptmx-syz_open_dev$tty1-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-syz_emit_ethernet-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-ioctl$TIOCSETD
detailed listing:
executing program 0:
r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000400), 0x0, 0x0)
syz_open_dev$tty1(0xc, 0x4, 0x1)
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x8, &(0x7f0000000040)={0x1, &(0x7f0000000000)=[{0x6, 0x0, 0x0, 0x7fc00100}]})
syz_emit_ethernet(0x0, 0x0, 0x0)
getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER(0xffffffffffffffff, 0x84, 0x7b, 0x0, 0x0)
ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x14)

program crashed: KASAN: slab-use-after-free Read in tty_write_room
testing program (duration=7m30.80377312s, {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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$ptmx-syz_open_dev$tty1-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-syz_emit_ethernet-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-ioctl$TIOCSETD
detailed listing:
executing program 0:
r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000400), 0x0, 0x0)
syz_open_dev$tty1(0xc, 0x4, 0x1)
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x8, &(0x7f0000000040)={0x1, &(0x7f0000000000)=[{0x6, 0x0, 0x0, 0x7fc00100}]})
syz_emit_ethernet(0x0, 0x0, 0x0)
getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER(0xffffffffffffffff, 0x84, 0x7b, 0x0, 0x0)
ioctl$TIOCSETD(r0, 0x5423, 0x0)

program did not crash
extracting C reproducer
testing compiled C program (duration=7m30.80377312s, {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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$ptmx-syz_open_dev$tty1-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-syz_emit_ethernet-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-ioctl$TIOCSETD
program did not crash
simplifying guilty program options
testing program (duration=7m30.80377312s, {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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$ptmx-syz_open_dev$tty1-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-syz_emit_ethernet-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-ioctl$TIOCSETD
detailed listing:
executing program 0:
r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000400), 0x0, 0x0)
syz_open_dev$tty1(0xc, 0x4, 0x1)
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x8, &(0x7f0000000040)={0x1, &(0x7f0000000000)=[{0x6, 0x0, 0x0, 0x7fc00100}]})
syz_emit_ethernet(0x0, 0x0, 0x0)
getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER(0xffffffffffffffff, 0x84, 0x7b, 0x0, 0x0)
ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x14)

program did not crash
testing program (duration=7m30.80377312s, {Threaded:true Repeat:true RepeatTimes:0 Procs:1 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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$ptmx-syz_open_dev$tty1-seccomp$SECCOMP_SET_MODE_FILTER_LISTENER-syz_emit_ethernet-getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER-ioctl$TIOCSETD
detailed listing:
executing program 0:
r0 = openat$ptmx(0xffffffffffffff9c, &(0x7f0000000400), 0x0, 0x0)
syz_open_dev$tty1(0xc, 0x4, 0x1)
seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0x8, &(0x7f0000000040)={0x1, &(0x7f0000000000)=[{0x6, 0x0, 0x0, 0x7fc00100}]})
syz_emit_ethernet(0x0, 0x0, 0x0)
getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER(0xffffffffffffffff, 0x84, 0x7b, 0x0, 0x0)
ioctl$TIOCSETD(r0, 0x5423, &(0x7f0000000040)=0x14)

program did not crash
reproducing took 2h38m2.362596125s
repro crashed as (corrupted=false):
ieee802154 phy0 wpan0: encryption failed: -22
ieee802154 phy1 wpan1: encryption failed: -22
==================================================================
BUG: KASAN: slab-use-after-free in tty_write_room+0x3c/0x8c drivers/tty/tty_ioctl.c:68
Read of size 8 at addr ffff0000e8029020 by task aoe_tx0/2354

CPU: 1 UID: 0 PID: 2354 Comm: aoe_tx0 Not tainted 6.13.0-rc3-syzkaller-g573067a5a685 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call trace:
 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:466 (C)
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:378 [inline]
 print_report+0x198/0x538 mm/kasan/report.c:489
 kasan_report+0xd8/0x138 mm/kasan/report.c:602
 __asan_report_load8_noabort+0x20/0x2c mm/kasan/report_generic.c:381
 tty_write_room+0x3c/0x8c drivers/tty/tty_ioctl.c:68
 handle_tx+0x120/0x604 drivers/net/caif/caif_serial.c:226
 caif_xmit+0x108/0x150 drivers/net/caif/caif_serial.c:282
 __netdev_start_xmit include/linux/netdevice.h:5002 [inline]
 netdev_start_xmit include/linux/netdevice.h:5011 [inline]
 xmit_one net/core/dev.c:3590 [inline]
 dev_hard_start_xmit+0x274/0x904 net/core/dev.c:3606
 __dev_queue_xmit+0x1680/0x35b4 net/core/dev.c:4434
 dev_queue_xmit include/linux/netdevice.h:3168 [inline]
 tx+0x9c/0x1cc drivers/block/aoe/aoenet.c:62
 kthread+0x1ac/0x374 drivers/block/aoe/aoecmd.c:1237
 kthread+0x288/0x310 kernel/kthread.c:389
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862

Allocated by task 10859:
 kasan_save_stack mm/kasan/common.c:47 [inline]
 kasan_save_track+0x40/0x78 mm/kasan/common.c:68
 kasan_save_alloc_info+0x40/0x50 mm/kasan/generic.c:568
 poison_kmalloc_redzone mm/kasan/common.c:377 [inline]
 __kasan_kmalloc+0xac/0xc4 mm/kasan/common.c:394
 kasan_kmalloc include/linux/kasan.h:260 [inline]
 __kmalloc_cache_noprof+0x2cc/0x428 mm/slub.c:4329
 kmalloc_noprof include/linux/slab.h:901 [inline]
 kzalloc_noprof include/linux/slab.h:1037 [inline]
 alloc_tty_struct+0xb8/0x684 drivers/tty/tty_io.c:3116
 tty_init_dev+0x60/0x3ec drivers/tty/tty_io.c:1409
 ptmx_open+0xfc/0x2d0 drivers/tty/pty.c:824
 chrdev_open+0x3b0/0x4bc fs/char_dev.c:414
 do_dentry_open+0xc0c/0x168c fs/open.c:945
 vfs_open+0x48/0x2d4 fs/open.c:1075
 do_open fs/namei.c:3828 [inline]
 path_openat+0x2300/0x2b14 fs/namei.c:3987
 do_filp_open+0x1e8/0x404 fs/namei.c:4014
 do_sys_openat2+0x124/0x1b8 fs/open.c:1402
 do_sys_open fs/open.c:1417 [inline]
 __do_sys_openat fs/open.c:1433 [inline]
 __se_sys_openat fs/open.c:1428 [inline]
 __arm64_sys_openat+0x1f0/0x240 fs/open.c:1428
 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151
 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744
 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600

Freed by task 2260:
 kasan_save_stack mm/kasan/common.c:47 [inline]
 kasan_save_track+0x40/0x78 mm/kasan/common.c:68
 kasan_save_free_info+0x54/0x6c mm/kasan/generic.c:582
 poison_slab_object mm/kasan/common.c:247 [inline]
 __kasan_slab_free+0x64/0x8c mm/kasan/common.c:264
 kasan_slab_free include/linux/kasan.h:233 [inline]
 slab_free_hook mm/slub.c:2353 [inline]
 slab_free mm/slub.c:4613 [inline]
 kfree+0x180/0x478 mm/slub.c:4761
 free_tty_struct drivers/tty/tty_io.c:174 [inline]
 release_one_tty+0x22c/0x24c drivers/tty/tty_io.c:1542
 process_one_work+0x7a8/0x15cc kernel/workqueue.c:3229
 process_scheduled_works kernel/workqueue.c:3310 [inline]
 worker_thread+0x97c/0xeec kernel/workqueue.c:3391
 kthread+0x288/0x310 kernel/kthread.c:389
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862

Last potentially related work creation:
 kasan_save_stack+0x40/0x6c mm/kasan/common.c:47
 __kasan_record_aux_stack+0xb8/0xd0 mm/kasan/generic.c:544
 kasan_record_aux_stack_noalloc+0x14/0x20 mm/kasan/generic.c:554
 insert_work+0x54/0x2d4 kernel/workqueue.c:2183
 __queue_work+0xe20/0x1308 kernel/workqueue.c:2339
 queue_work_on+0xe0/0x1a0 kernel/workqueue.c:2390
 queue_work include/linux/workqueue.h:662 [inline]
 schedule_work include/linux/workqueue.h:723 [inline]
 queue_release_one_tty drivers/tty/tty_io.c:1553 [inline]
 kref_put include/linux/kref.h:65 [inline]
 tty_kref_put+0x14c/0x1c0 drivers/tty/tty_io.c:1566
 release_tty+0x3f0/0x4ac drivers/tty/tty_io.c:1602
 tty_release_struct+0xb4/0xd4 drivers/tty/tty_io.c:1701
 tty_release+0xb64/0x1014 drivers/tty/tty_io.c:1861
 __fput+0x1bc/0x75c fs/file_table.c:450
 ____fput+0x20/0x30 fs/file_table.c:478
 task_work_run+0x230/0x2e0 kernel/task_work.c:239
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 do_notify_resume+0x178/0x1f4 arch/arm64/kernel/entry-common.c:151
 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline]
 el0_svc+0xac/0x168 arch/arm64/kernel/entry-common.c:745
 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600

The buggy address belongs to the object at ffff0000e8029000
 which belongs to the cache kmalloc-cg-2k of size 2048
The buggy address is located 32 bytes inside of
 freed 2048-byte region [ffff0000e8029000, ffff0000e8029800)

The buggy address belongs to the physical page:
page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x128028
head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
memcg:ffff0000e6ae3001
flags: 0x5ffc00000000040(head|node=0|zone=2|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 05ffc00000000040 ffff0000c000f3c0 fffffdffc32a1a00 dead000000000002
raw: 0000000000000000 0000000000080008 00000001f5000000 ffff0000e6ae3001
head: 05ffc00000000040 ffff0000c000f3c0 fffffdffc32a1a00 dead000000000002
head: 0000000000000000 0000000000080008 00000001f5000000 ffff0000e6ae3001
head: 05ffc00000000003 fffffdffc3a00a01 ffffffffffffffff 0000000000000000
head: 0000000f00000008 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected

Memory state around the buggy address:
 ffff0000e8028f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff0000e8028f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff0000e8029000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                               ^
 ffff0000e8029080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff0000e8029100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
Unable to handle kernel paging request at virtual address e0b3406e60000100
KASAN: maybe wild-memory-access in range [0x059e037300000800-0x059e037300000807]
Mem abort info:
  ESR = 0x0000000096000004
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x04: level 0 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000
  CM = 0, WnR = 0, TnD = 0, TagAccess = 0
  GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
[e0b3406e60000100] address between user and kernel address ranges
Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 UID: 0 PID: 2354 Comm: aoe_tx0 Tainted: G    B              6.13.0-rc3-syzkaller-g573067a5a685 #0
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
pstate: 804000c5 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : get_work_pool+0xf8/0x198 kernel/workqueue.c:887
lr : get_work_pool+0xf0/0x198 kernel/workqueue.c:887
sp : ffff8000a19e75c0
x29: ffff8000a19e75c0 x28: ffff80008f9a1168 x27: ffff0000d0b32820
x26: dfff800000000000 x25: ffff80008f99d600 x24: ffff0000c1082000
x23: ffff0000c00311c8 x22: 0000000000000001 x21: 059e0373000008d5
x20: dfff800000000000 x19: 059e037300000800 x18: 0000000000000008
x17: ffff8000858c0e0c x16: ffff80008b6a08bc x15: ffff60001a166501
x14: 1fffe0001a166501 x13: 00000000000000fb x12: ffffffffffffffff
x11: ffff60001a166501 x10: 0000000000ff0100 x9 : 0000000000000000
x8 : 00b3c06e60000100 x7 : 0010a28800000000 x6 : ffff80008037be10
x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff80008036aeac
x2 : 0000000000000000 x1 : 0000000000000004 x0 : 0000000000000000
Call trace:
 get_work_pool+0xf8/0x198 kernel/workqueue.c:887 (P)
 __queue_work+0x6dc/0x1308 kernel/workqueue.c:2281
 queue_work_on+0xe0/0x1a0 kernel/workqueue.c:2390
 queue_work include/linux/workqueue.h:662 [inline]
 tty_insert_flip_string_and_push_buffer+0x2e0/0x32c drivers/tty/tty_buffer.c:564
 pty_write+0xb8/0xec drivers/tty/pty.c:118
 handle_tx+0x200/0x604 drivers/net/caif/caif_serial.c:236
 caif_xmit+0x108/0x150 drivers/net/caif/caif_serial.c:282
 __netdev_start_xmit include/linux/netdevice.h:5002 [inline]
 netdev_start_xmit include/linux/netdevice.h:5011 [inline]
 xmit_one net/core/dev.c:3590 [inline]
 dev_hard_start_xmit+0x274/0x904 net/core/dev.c:3606
 __dev_queue_xmit+0x1680/0x35b4 net/core/dev.c:4434
 dev_queue_xmit include/linux/netdevice.h:3168 [inline]
 tx+0x9c/0x1cc drivers/block/aoe/aoenet.c:62
 kthread+0x1ac/0x374 drivers/block/aoe/aoecmd.c:1237
 kthread+0x288/0x310 kernel/kthread.c:389
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862
Code: 1400000f 940cc912 9277dab3 d343fe68 (38746908) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	1400000f 	b	0x3c
   4:	940cc912 	bl	0x33244c
   8:	9277dab3 	and	x19, x21, #0xfffffffffffffe00
   c:	d343fe68 	lsr	x8, x19, #3
* 10:	38746908 	ldrb	w8, [x8, x20] <-- trapping instruction

final repro crashed as (corrupted=false):
ieee802154 phy0 wpan0: encryption failed: -22
ieee802154 phy1 wpan1: encryption failed: -22
==================================================================
BUG: KASAN: slab-use-after-free in tty_write_room+0x3c/0x8c drivers/tty/tty_ioctl.c:68
Read of size 8 at addr ffff0000e8029020 by task aoe_tx0/2354

CPU: 1 UID: 0 PID: 2354 Comm: aoe_tx0 Not tainted 6.13.0-rc3-syzkaller-g573067a5a685 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call trace:
 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:466 (C)
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:378 [inline]
 print_report+0x198/0x538 mm/kasan/report.c:489
 kasan_report+0xd8/0x138 mm/kasan/report.c:602
 __asan_report_load8_noabort+0x20/0x2c mm/kasan/report_generic.c:381
 tty_write_room+0x3c/0x8c drivers/tty/tty_ioctl.c:68
 handle_tx+0x120/0x604 drivers/net/caif/caif_serial.c:226
 caif_xmit+0x108/0x150 drivers/net/caif/caif_serial.c:282
 __netdev_start_xmit include/linux/netdevice.h:5002 [inline]
 netdev_start_xmit include/linux/netdevice.h:5011 [inline]
 xmit_one net/core/dev.c:3590 [inline]
 dev_hard_start_xmit+0x274/0x904 net/core/dev.c:3606
 __dev_queue_xmit+0x1680/0x35b4 net/core/dev.c:4434
 dev_queue_xmit include/linux/netdevice.h:3168 [inline]
 tx+0x9c/0x1cc drivers/block/aoe/aoenet.c:62
 kthread+0x1ac/0x374 drivers/block/aoe/aoecmd.c:1237
 kthread+0x288/0x310 kernel/kthread.c:389
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862

Allocated by task 10859:
 kasan_save_stack mm/kasan/common.c:47 [inline]
 kasan_save_track+0x40/0x78 mm/kasan/common.c:68
 kasan_save_alloc_info+0x40/0x50 mm/kasan/generic.c:568
 poison_kmalloc_redzone mm/kasan/common.c:377 [inline]
 __kasan_kmalloc+0xac/0xc4 mm/kasan/common.c:394
 kasan_kmalloc include/linux/kasan.h:260 [inline]
 __kmalloc_cache_noprof+0x2cc/0x428 mm/slub.c:4329
 kmalloc_noprof include/linux/slab.h:901 [inline]
 kzalloc_noprof include/linux/slab.h:1037 [inline]
 alloc_tty_struct+0xb8/0x684 drivers/tty/tty_io.c:3116
 tty_init_dev+0x60/0x3ec drivers/tty/tty_io.c:1409
 ptmx_open+0xfc/0x2d0 drivers/tty/pty.c:824
 chrdev_open+0x3b0/0x4bc fs/char_dev.c:414
 do_dentry_open+0xc0c/0x168c fs/open.c:945
 vfs_open+0x48/0x2d4 fs/open.c:1075
 do_open fs/namei.c:3828 [inline]
 path_openat+0x2300/0x2b14 fs/namei.c:3987
 do_filp_open+0x1e8/0x404 fs/namei.c:4014
 do_sys_openat2+0x124/0x1b8 fs/open.c:1402
 do_sys_open fs/open.c:1417 [inline]
 __do_sys_openat fs/open.c:1433 [inline]
 __se_sys_openat fs/open.c:1428 [inline]
 __arm64_sys_openat+0x1f0/0x240 fs/open.c:1428
 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151
 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744
 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600

Freed by task 2260:
 kasan_save_stack mm/kasan/common.c:47 [inline]
 kasan_save_track+0x40/0x78 mm/kasan/common.c:68
 kasan_save_free_info+0x54/0x6c mm/kasan/generic.c:582
 poison_slab_object mm/kasan/common.c:247 [inline]
 __kasan_slab_free+0x64/0x8c mm/kasan/common.c:264
 kasan_slab_free include/linux/kasan.h:233 [inline]
 slab_free_hook mm/slub.c:2353 [inline]
 slab_free mm/slub.c:4613 [inline]
 kfree+0x180/0x478 mm/slub.c:4761
 free_tty_struct drivers/tty/tty_io.c:174 [inline]
 release_one_tty+0x22c/0x24c drivers/tty/tty_io.c:1542
 process_one_work+0x7a8/0x15cc kernel/workqueue.c:3229
 process_scheduled_works kernel/workqueue.c:3310 [inline]
 worker_thread+0x97c/0xeec kernel/workqueue.c:3391
 kthread+0x288/0x310 kernel/kthread.c:389
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862

Last potentially related work creation:
 kasan_save_stack+0x40/0x6c mm/kasan/common.c:47
 __kasan_record_aux_stack+0xb8/0xd0 mm/kasan/generic.c:544
 kasan_record_aux_stack_noalloc+0x14/0x20 mm/kasan/generic.c:554
 insert_work+0x54/0x2d4 kernel/workqueue.c:2183
 __queue_work+0xe20/0x1308 kernel/workqueue.c:2339
 queue_work_on+0xe0/0x1a0 kernel/workqueue.c:2390
 queue_work include/linux/workqueue.h:662 [inline]
 schedule_work include/linux/workqueue.h:723 [inline]
 queue_release_one_tty drivers/tty/tty_io.c:1553 [inline]
 kref_put include/linux/kref.h:65 [inline]
 tty_kref_put+0x14c/0x1c0 drivers/tty/tty_io.c:1566
 release_tty+0x3f0/0x4ac drivers/tty/tty_io.c:1602
 tty_release_struct+0xb4/0xd4 drivers/tty/tty_io.c:1701
 tty_release+0xb64/0x1014 drivers/tty/tty_io.c:1861
 __fput+0x1bc/0x75c fs/file_table.c:450
 ____fput+0x20/0x30 fs/file_table.c:478
 task_work_run+0x230/0x2e0 kernel/task_work.c:239
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 do_notify_resume+0x178/0x1f4 arch/arm64/kernel/entry-common.c:151
 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline]
 el0_svc+0xac/0x168 arch/arm64/kernel/entry-common.c:745
 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600

The buggy address belongs to the object at ffff0000e8029000
 which belongs to the cache kmalloc-cg-2k of size 2048
The buggy address is located 32 bytes inside of
 freed 2048-byte region [ffff0000e8029000, ffff0000e8029800)

The buggy address belongs to the physical page:
page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x128028
head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
memcg:ffff0000e6ae3001
flags: 0x5ffc00000000040(head|node=0|zone=2|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 05ffc00000000040 ffff0000c000f3c0 fffffdffc32a1a00 dead000000000002
raw: 0000000000000000 0000000000080008 00000001f5000000 ffff0000e6ae3001
head: 05ffc00000000040 ffff0000c000f3c0 fffffdffc32a1a00 dead000000000002
head: 0000000000000000 0000000000080008 00000001f5000000 ffff0000e6ae3001
head: 05ffc00000000003 fffffdffc3a00a01 ffffffffffffffff 0000000000000000
head: 0000000f00000008 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected

Memory state around the buggy address:
 ffff0000e8028f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff0000e8028f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff0000e8029000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                               ^
 ffff0000e8029080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff0000e8029100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
Unable to handle kernel paging request at virtual address e0b3406e60000100
KASAN: maybe wild-memory-access in range [0x059e037300000800-0x059e037300000807]
Mem abort info:
  ESR = 0x0000000096000004
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x04: level 0 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000
  CM = 0, WnR = 0, TnD = 0, TagAccess = 0
  GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
[e0b3406e60000100] address between user and kernel address ranges
Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 UID: 0 PID: 2354 Comm: aoe_tx0 Tainted: G    B              6.13.0-rc3-syzkaller-g573067a5a685 #0
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
pstate: 804000c5 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : get_work_pool+0xf8/0x198 kernel/workqueue.c:887
lr : get_work_pool+0xf0/0x198 kernel/workqueue.c:887
sp : ffff8000a19e75c0
x29: ffff8000a19e75c0 x28: ffff80008f9a1168 x27: ffff0000d0b32820
x26: dfff800000000000 x25: ffff80008f99d600 x24: ffff0000c1082000
x23: ffff0000c00311c8 x22: 0000000000000001 x21: 059e0373000008d5
x20: dfff800000000000 x19: 059e037300000800 x18: 0000000000000008
x17: ffff8000858c0e0c x16: ffff80008b6a08bc x15: ffff60001a166501
x14: 1fffe0001a166501 x13: 00000000000000fb x12: ffffffffffffffff
x11: ffff60001a166501 x10: 0000000000ff0100 x9 : 0000000000000000
x8 : 00b3c06e60000100 x7 : 0010a28800000000 x6 : ffff80008037be10
x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff80008036aeac
x2 : 0000000000000000 x1 : 0000000000000004 x0 : 0000000000000000
Call trace:
 get_work_pool+0xf8/0x198 kernel/workqueue.c:887 (P)
 __queue_work+0x6dc/0x1308 kernel/workqueue.c:2281
 queue_work_on+0xe0/0x1a0 kernel/workqueue.c:2390
 queue_work include/linux/workqueue.h:662 [inline]
 tty_insert_flip_string_and_push_buffer+0x2e0/0x32c drivers/tty/tty_buffer.c:564
 pty_write+0xb8/0xec drivers/tty/pty.c:118
 handle_tx+0x200/0x604 drivers/net/caif/caif_serial.c:236
 caif_xmit+0x108/0x150 drivers/net/caif/caif_serial.c:282
 __netdev_start_xmit include/linux/netdevice.h:5002 [inline]
 netdev_start_xmit include/linux/netdevice.h:5011 [inline]
 xmit_one net/core/dev.c:3590 [inline]
 dev_hard_start_xmit+0x274/0x904 net/core/dev.c:3606
 __dev_queue_xmit+0x1680/0x35b4 net/core/dev.c:4434
 dev_queue_xmit include/linux/netdevice.h:3168 [inline]
 tx+0x9c/0x1cc drivers/block/aoe/aoenet.c:62
 kthread+0x1ac/0x374 drivers/block/aoe/aoecmd.c:1237
 kthread+0x288/0x310 kernel/kthread.c:389
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862
Code: 1400000f 940cc912 9277dab3 d343fe68 (38746908) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	1400000f 	b	0x3c
   4:	940cc912 	bl	0x33244c
   8:	9277dab3 	and	x19, x21, #0xfffffffffffffe00
   c:	d343fe68 	lsr	x8, x19, #3
* 10:	38746908 	ldrb	w8, [x8, x20] <-- trapping instruction