NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: kern/56489: NetBSD 9.99.92/amd64 panicked by aircrack-ng



The following reply was made to PR kern/56489; it has been noted by GNATS.

From: John Klos <john%ziaspace.com@localhost>
To: matthew green <mrg%eterna.com.au@localhost>
Cc: gnats-bugs%netbsd.org@localhost, kern-bug-people%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: re: kern/56489: NetBSD 9.99.92/amd64 panicked by aircrack-ng
Date: Mon, 8 Nov 2021 20:57:40 +0000 (UTC)

 > can you try this?  there are two cases i see this being
 > problematic, but this change handles both.  the above
 > path, and, also another path thru urtwn_ioctl() via the
 > 80211 ic_reset() calback.
 >
 >
 > Index: if_urtwn.c
 > ===================================================================
 
 Tried, and got this:
 
 [    78.456879] Mutex error: mutex_vector_enter,549: locking against 
 myself
 
 [    78.456879] lock address : 0xffffb10086d17210
 [    78.456879] current cpu  :                  0
 [    78.456879] current lwp  : 0xfffffe4657111a00
 [    78.456879] owner field  : 0xfffffe4657111a00 wait/spin: 
 0/0
 
 [    78.456879] panic: lock error: Mutex: mutex_vector_enter,549: locking 
 against myself: lock 0xffffb10086d17210 cpu 0 lwp 0xfffffe4657111a00
 [    78.456879] cpu0: Begin traceback...
 [    78.456879] vpanic() at netbsd:vpanic+0x156
 [    78.456879] device_printf() at netbsd:device_printf
 [    78.456879] lockdebug_abort() at netbsd:lockdebug_abort+0xd3
 [    78.456879] mutex_vector_enter() at netbsd:mutex_vector_enter+0x40c
 [    78.456879] urtwn_ioctl() at netbsd:urtwn_ioctl+0x42
 [    78.456879] in6_update_ifa1() at netbsd:in6_update_ifa1+0x7d5
 [    78.456879] in6_update_ifa() at netbsd:in6_update_ifa+0x32
 [    78.456879] in6_ifattach() at netbsd:in6_ifattach+0x425
 [    78.456879] in6_if_up() at netbsd:in6_if_up+0x14
 [    78.456879] if_up_locked() at netbsd:if_up_locked+0x75
 [    78.456879] ifioctl_common() at netbsd:ifioctl_common+0x490
 [    78.456879] urtwn_ioctl() at netbsd:urtwn_ioctl+0x107
 [    78.466879] doifioctl() at netbsd:doifioctl+0x30e
 [    78.466879] sys_ioctl() at netbsd:sys_ioctl+0x56d
 [    78.466879] syscall() at netbsd:syscall+0x196
 [    78.466879] --- syscall (number 54) ---
 [    78.466879] netbsd:syscall+0x196:
 [    78.466879] cpu0: End traceback...
 
 [    78.466879] dumping to dev 19,1 (offset=8, size=16759586):
 [    78.466879] dump
 


Home | Main Index | Thread Index | Old Index