lang: en

FreeBSD lock order reversal (LOR) #59

ID 59
state unknown
responsible
reported first
reported last
do you know more? submit update by email
LOR
lock order reversal
  1st 0xc1a9de28 ath0 (network driver) @ sys/dev/ath/if_ath.c:842
  2nd 0xc1e89eb4 ath0 (802.11 scangen) @ sys/net80211/ieee80211_node.c:1488
		
KDB: stack backtrace:
kdb_backtrace(0,ffffffff,c0797bd0,c0797ab8,c075c9c8) at kdb_backtrace+0x29
witness_checkorder(c15d4c64,9,c072d520,5d2) at witness_checkorder+0x55c
_mtx_lock_flags(c15d4c64,0,c072d520,5d2,c15d4000) at _mtx_lock_flags+0x5b
ieee80211_iterate_nodes(c15d4bb0,c04a9540,c15d4000) at ieee80211_iterate_nodes+0x21
ath_rate_newstate(c15d4000,4) at ath_rate_newstate+0x2f
ath_newstate(c15d4404,4,ffffffff) at ath_newstate+0x1bf
ieee80211_sta_join(c15d4404,c1a4d000,1,0,c15d4404) at ieee80211_sta_join+0xcf
ieee80211_create_ibss(c15d4404,c15d4862) at ieee80211_create_ibss+0x23b
ieee80211_newstate(c15d4404,1,ffffffff,d148bb4c,c06f7b40) at ieee80211_newstate+0x2b8
ath_newstate(c15d4404,1,ffffffff) at ath_newstate+0x2b3
ath_init(c15d4000) at ath_init+0x167
ath_media_change(c15d4000,c15d4f1c,10080,c15bb920,0) at ath_media_change+0x26
ifmedia_ioctl(c15d4000,c1888ba0,c15d4cac,c0206937,0) at ifmedia_ioctl+0x93
ieee80211_ioctl(c15d4404,c0206937,c1888ba0,c1888ba0,c15d4404) at ieee80211_ioctl+0xc1
ath_ioctl(c15d4000,c0206937,c1888ba0,d148bc38,c0539b90) at ath_ioctl+0x174
ifhwioctl(c0206937,c15d4000,c1888ba0,c1a80900,1) at ifhwioctl+0x998
ifioctl(c182de44,c0206937,c1888ba0,c1a80900,0) at ifioctl+0xc3
soo_ioctl(c1800630,c0206937,c1888ba0,c16da680,c1a80900) at soo_ioctl+0x2db
ioctl(c1a80900,d148bd04,3,2,246) at ioctl+0x370
syscall(3b,3b,3b,80553a0,1) at syscall+0x227
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (54, FreeBSD ELF32, ioctl), eip = 0x280c527f, esp = 0xbfbfe35c, ebp = 0xbfbfe378 ---
		
comments/references