kern/117820: rum related kernel panic

Christian Spiel e9800675 at
Sun Nov 4 08:50:01 PST 2007

>Number:         117820
>Category:       kern
>Synopsis:       rum related kernel panic
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 04 16:50:01 UTC 2007
>Originator:     Christian Spiel
>Release:        7.0-CURRENT
Vienna University of Technology
Using the rum driver with WPA enabled the kernel panics within a few minutes when downloading stuff.

I have backtraced the problem using the coredump and kgdb. It shows that in if_rum.c at line 842 a null pointer dereference occurs.

842:        if (data->m->m_flags & M_TXCB)
                    843:                ieee80211_process_callback(data->ni, data->m,
                    844:                        status == USBD_NORMAL_COMPLETION ? 0 : ETIMEDOUT);

data is NULL because the function rum_txeof was called with priv==NULL. 
Easily repeatable
I have added a check against null pointer in this function and it improves the stability of the system considerably although that is of course not the correct solution.


More information about the freebsd-bugs mailing list