Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755561AbZFHNZl (ORCPT ); Mon, 8 Jun 2009 09:25:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754537AbZFHNZ3 (ORCPT ); Mon, 8 Jun 2009 09:25:29 -0400 Received: from isrv.corpit.ru ([81.13.33.159]:47143 "EHLO isrv.corpit.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754167AbZFHNZ1 (ORCPT ); Mon, 8 Jun 2009 09:25:27 -0400 Message-ID: <4A2D1147.8020101@msgid.tls.msk.ru> Date: Mon, 08 Jun 2009 17:25:27 +0400 From: Michael Tokarev Organization: Telecom Service, JSC User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: Linux-kernel , netdev Subject: [Security, resend] Instant crash with rtl8169 and large packets Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1470 Lines: 45 [Please excuse me for the resend, -- picked the wrong address for netdev again] Hello. This is a resend (sort of) of several months old email. Previous email about this issue has been mostly ignored. The situation is very simple: with an RTL8169 (probably onboard) GigE card which, by default, is configured to have MTU (maximal transmission unit) to be 1500 bytes, it's *trivial* to instantly crash the machine by sending it a *single* packet of size >1500 bytes (provided the network switch can handle jumbo frames). I verified with on several different machines - all I were able to find with this card - and all behaves exactly the same. When sending a packet of size, say, 3000 bytes (ping -s 3000) from another machine to a machine running rtl8169 with no MTU configured, kernel OOPSes. I captured one such OOPS (unfortunately without the first line few lines) here: http://www.corpit.ru/mjt/r8169-mtu-oops.jpg (since the network goes boom at that time, no network console is working). But for anyone familiar with the driver's internals it should be easy to figure the issue out. This is, in my opinion, quite a serious issue. And I've no idea why it is being ignored for several months. Thanks. /mjt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/