Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2012 21:33:46 GMT
From:      Takanori Watanabe <takawata@init-main.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/170096: Dyanamically-attached network interface will crash with VIMAGE enabled kernel
Message-ID:  <201207232133.q6NLXkvE025692@red.freebsd.org>
Resent-Message-ID: <201207232140.q6NLe9EW077190@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         170096
>Category:       kern
>Synopsis:       Dyanamically-attached network interface will crash with VIMAGE enabled kernel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 23 21:40:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Takanori Watanabe
>Release:        FreeBSD 10.0-CURRENT
>Organization:
>Environment:
FreeBSD konata.init-main.com 10.0-CURRENT FreeBSD 10.0-CURRENT #7 r222214:238558M: Thu Jul 19 02:07:57 JST 2012     takawata@konata.init-main.com:/sys/i386/compile/LIEUTENANT  i386

>Description:
In VIMAGE network stack, curvnet macro is frequently referenced. It is actually reference td_vnet member in curthread structure. Usual user thread has valid pointer in td_vnet, but kernel thread, by which some dynamic interface attached, have initialized with NULL, so kernel will crash when curvnet is referenced.


>How-To-Repeat:
Plug dynamic network interface, like USB wlan, bluetooth or something, and kernel will crash where VNET() is refenced, like ng_make_node_common();
(I confirmed in USB only, but it may not limited in USB if my idea is correct.)
>Fix:
None yet.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207232133.q6NLXkvE025692>