Content-Type: multipart/mixed; boundary="===============5648892890876349341==" MIME-Version: 1.0 From: Florian Westphal To: mptcp at lists.01.org Subject: [MPTCP] Re: [syzkaller] possible deadlock in do_ip_setsockopt Date: Sun, 26 Jan 2020 17:50:58 +0100 Message-ID: <20200126165058.GB795@breakpoint.cc> In-Reply-To: 20200124173304.GI60524@MacBook-Pro-64.local X-Status: X-Keywords: X-UID: 3516 --===============5648892890876349341== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Christoph Paasch wrote: > C-reproducer for the IPv6-version of the crash: > = > // autogenerated by syzkaller (https://github.com/google/syzkaller) > = > #define _GNU_SOURCE > = > #include > #include > #include > #include > #include > #include > #include > #include > = > uint64_t r[2] =3D { 0xffffffffffffffff, 0xffffffffffffffff }; > = > int main(void) > { > syscall(__NR_mmap, 0x20000000ul, 0x1000000ul, 3ul, 0x32ul, -1, 0); > intptr_t res =3D 0; > res =3D syscall(__NR_socket, 0xaul, 1ul, 0x106ul); > if (res !=3D -1) > r[0] =3D res; > syscall(__NR_setsockopt, r[0], 0x29ul, 1ul, 0ul, 0ul); > res =3D syscall(__NR_socket, 0xaul, 1ul, 0ul); > if (res !=3D -1) > r[1] =3D res; > syscall(__NR_setsockopt, r[1], 0x29ul, 0x30ul, 0ul, 0ul); > return 0; > } Doesn't trigger anymore with http://patchwork.ozlabs.org/patch/1229391/ applied on net-next.git. --===============5648892890876349341==--