From owner-freebsd-bugs@FreeBSD.ORG Tue May 31 01:10:09 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9C7C106566B for ; Tue, 31 May 2011 01:10:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id ADBFA8FC12 for ; Tue, 31 May 2011 01:10:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p4V1A9Sl025632 for ; Tue, 31 May 2011 01:10:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4V1A9R8025631; Tue, 31 May 2011 01:10:09 GMT (envelope-from gnats) Resent-Date: Tue, 31 May 2011 01:10:09 GMT Resent-Message-Id: <201105310110.p4V1A9R8025631@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yuri Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F053106566B for ; Tue, 31 May 2011 01:01:45 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 8F7DE8FC08 for ; Tue, 31 May 2011 01:01:45 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p4V11jjZ029603 for ; Tue, 31 May 2011 01:01:45 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p4V11j7f029601; Tue, 31 May 2011 01:01:45 GMT (envelope-from nobody) Message-Id: <201105310101.p4V11j7f029601@red.freebsd.org> Date: Tue, 31 May 2011 01:01:45 GMT From: Yuri To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/157449: MAC address conflict causes system to freeze X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2011 01:10:10 -0000 >Number: 157449 >Category: kern >Synopsis: MAC address conflict causes system to freeze >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue May 31 01:10:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Yuri >Release: 8.2-STABLE >Organization: n/a >Environment: >Description: I had a bug in my setup script that was setting the same MAC address to several computers. This situation of course is not normal and should not normally occur. But I noticed the side effect that causes me to worry: 8.2-STABLE host was periodically freezing in such situation. My understanding is that such situation will cause all packets sent to this MAC address be accepted by every host in conflict and for example many garbage TCP packets will arrive to each machine. But why should it freeze the system? It looks like there is some bug in the code rejecting garbage traffic and my setup exposed it. This could also be a security issue when some other host on the same network can cause FreeBSD to freeze by sending some rogue packets to it. I should also note that I am talking about the wireless device ath0 and passwordless WEP network. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: