From nobody@FreeBSD.org  Tue May 31 01:01:45 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9F053106566B
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <yuri@tsoft.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: MAC address conflict causes system to freeze
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         157449
>Category:       kern
>Synopsis:       [ath] MAC address conflict causes system to freeze
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-wireless
>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:  Tue May 31 01:58:05 UTC 2011
>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:
Responsible-Changed-From-To: freebsd-bugs->freebsd-wireless 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue May 31 01:57:48 UTC 2011 
Responsible-Changed-Why:  
reclassify and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=157449 
>Unformatted:
