lang: en

FreeBSD lock order reversal (LOR) #221

ID 221
state unknown
responsible
reported first 2007-07-13
reported last 2008-09-15
do you know more? submit update by email
LOR
lock order reversal:
 1st 0xc623f92c pf task mtx (pf task mtx) @ sys/modules/pf/../../contrib/pf/net/pf_ioctl.c:3157
 2nd 0xc0c3a72c ifnet (ifnet) @ sys/net/if.c:1494
		
KDB: stack backtrace:
db_trace_self_wrapper(c0ad6218,e78d29e4,c07934ce,c0ad86df,c0c3a72c,...) at db_trace_self_wrapper+0x26
kdb_backtrace(c0ad86df,c0c3a72c,c0adfab5,c0adfab5,c0adf8eb,...) at kdb_backtrace+0x29
witness_checkorder(c0c3a72c,9,c0adf8eb,5d6,c0bf3654,...) at witness_checkorder+0x6de
_mtx_lock_flags(c0c3a72c,0,c0adf8eb,5d6,c627d000,...) at _mtx_lock_flags+0xbc
ifunit(c627d000,c0792cac,0,c0c39d20,c623dd09,...) at ifunit+0x2f
hfsc_pfattach(c627d000,e78d2a80,c622a8ce,c627d000,cf,...) at hfsc_pfattach+0x12
altq_pfattach(c627d000,cf,0,0,c5c7e800,...) at altq_pfattach+0x4c
pf_commit_altq(2,0,c623dd09,c55,2,...) at pf_commit_altq+0x5e
pfioctl(c56aae00,c00c4452,c56536a0,3,c5bb7200,...) at pfioctl+0x45c1
devfs_ioctl_f(c567a7e0,c00c4452,c56536a0,c4f85800,c5bb7200,...) at devfs_ioctl_f+0xc9
kern_ioctl(c5bb7200,3,c00c4452,c56536a0,1000000,...) at kern_ioctl+0x243
ioctl(c5bb7200,e78d2cfc,c,c0b0855b,c0b83470,...) at ioctl+0x134
syscall(e78d2d38) at syscall+0x2b3
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (54, FreeBSD ELF32, ioctl), eip = 0x281a8e23, esp = 0xbfbfde6c, ebp = 0xbfbfde98 ---
		
KDB: stack backtrace:
db_trace_self_wrapper(c09ab14c,d5166a38,c06fd0a6,c09ad5ee,c0af61ac,...) at db_trace_self_wrapper+0x26
kdb_backtrace(c09ad5ee,c0af61ac,c09b49e2,c09b49e2,c09b4848,...) at kdb_backtrace+0x29
witness_checkorder(c0af61ac,9,c09b483f,5d6,0,...) at witness_checkorder+0x6d6
_mtx_lock_flags(c0af61ac,0,c09b483f,5d6,c303e260,...) at _mtx_lock_flags+0xbc
ifunit(c303e260,0,c0972988,518,c0af5790,...) at ifunit+0x2f
pfioctl(c2fc9200,c0104414,c303e260,3,c2fcc440,...) at pfioctl+0x234f
devfs_ioctl_f(c3057000,c0104414,c303e260,c2d75500,c2fcc440,...) at devfs_ioctl_f+0xd5
kern_ioctl(c2fcc440,3,c0104414,c303e260,1000000,...) at kern_ioctl+0x253
ioctl(c2fcc440,d5166cfc,c,c09d6159,c0a44c50,...) at ioctl+0x13f
syscall(d5166d38) at syscall+0x2f3
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (54, FreeBSD ELF32, ioctl), eip = 0x281a6c43, esp = 0xbfbfde5c, ebp = 0xbfbfde88 ---
		
comments/references