From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yves-Alexis Perez Subject: Re: [PATCH] usbnet: ipheth: fix potential recvmsg bug and recvmsg bug 2 Date: Fri, 23 Nov 2018 14:07:18 +0100 Message-ID: References: <1542977486-15363-1-git-send-email-3ernd.Eckstein@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Cc: linux-usb@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, 3ernd.Eckstein@gmail.com, Oliver Zweigle To: Bernd Eckstein <3erndeckstein@gmail.com>, davem@davemloft.net Return-path: In-Reply-To: <1542977486-15363-1-git-send-email-3ernd.Eckstein@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Fri, 2018-11-23 at 13:51 +0100, Bernd Eckstein wrote: > This causes the following problems: > - double free of the skb or potential memory leak > - in dmesg: 'recvmsg bug' and 'recvmsg bug 2' and eventually > general protection fault For what it's worth, Bernd contacted me because it looks like this was the cause of https://lore.kernel.org/lkml/20180605085450.GA3506@scapa.corsac.net/ I wanted to try Bernd patch, unfortunately I wasn't able to reproduce the freezes on more recent kernels, so right now I can't add a Tested-By, but I'd be happy to be kept on CC. Regards, - -- Yves-Alexis -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE8vi34Qgfo83x35gF3rYcyPpXRFsFAlv3+4YACgkQ3rYcyPpX RFuuoQgAhJHvzpl1yr7ZM215DviNj8Q/n7WpiWSk6ik5Ts8n4qsgIRcXojhEPfkw KAmpJ7G1zRgxRtZayiKLUl7RE3uWNOjTph3pzztBmMI+P7C/R4pVdZeRlandGsju YH6G32u+BB55tJw/TYrahlG3Ni0HNDoL+QfgJJno6/dr9V+YFr+opTCuDchaBHeJ acVsogUkyclvAutHt3UMjiDvVB12mW6IFz997y1Fv3JMT9HTQrDT9VdMUSr2WC5s rb9ONoim1ADDgTBN10mbPWZ80aooR8GtNEGpFa2EL0vPdNVlqyZqV46hYbLuZZ42 tMF3AD6hrQqxitCS3QGJpWjFFscFMA== =OkrF -----END PGP SIGNATURE-----