Closed cpaasch closed 3 months ago
Another reproducer on k7:
# {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:namespace SandboxArg:0 Leak:false NetInjection:true NetDevices:true 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:true HandleSegv:false Repro:false Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}
r0 = socket$inet6_tcp(0xa, 0x1, 0x0)
r1 = socket$inet6_mptcp(0xa, 0x1, 0x106)
dup2(r0, r1)
bind$inet6(r1, &(0x7f0000000180)={0xa, 0x4e23, 0x0, @empty}, 0x1c)
listen(r1, 0x0)
setsockopt$SO_ATTACH_FILTER(r1, 0x1, 0x1a, &(0x7f0000000040)={0x1, &(0x7f0000000000)=[{0x6, 0x0, 0x0, 0x4}]}, 0x10)
r2 = socket$inet6_mptcp(0xa, 0x1, 0x106)
connect$inet6(r2, &(0x7f00000000c0)={0xa, 0x4e23, 0x0, @loopback}, 0x63)
sendto$inet6(r2, &(0x7f0000000100)="640e1add0339d84cc557841eb73a912c72ad2db5c8ea919008ed8984bf10ec44b088b460b49e2627ca29972f062454aa3215724132654a0f98858e490916c036cec14a561ad1285d4a8ceb1a943cbf2a4d1b81341e7d15996b350338d09cd4c4d2e38b1151780ed7154652cc9b1ce7ecb2ea85413ce59ebc", 0xfffffffffffffe37, 0x40064880, 0x0, 0x0)
C-repro: repro.c.txt
this should be solve in current git, after commit 8031b58c3a9b mptcp: ensure snd_una is properly initialized on connect
@cpaasch: could you please verify the above?
Yes, this did not happen anymore in the latest HEADs.
syzkaller-id: 1a7fbf9ed6cbc80305d5bf808b47edb978a3803c
Trace:
Happening on K7
THE REPRODUCERS DON'T WORK FOR ME THOUGH.
Reproducer:
C-repro: repro.c.txt