lang: en

FreeBSD lock order reversal (LOR) #40

ID 40
state unknown
responsible
reported first
reported last
do you know more? submit update by email
LOR
lock order reversal
 1st 0xc1e81124 dc0 (network driver) @ sys/modules/dc/../../pci/if_dc.c:2339
 2nd 0xc071b004 user map (user map) @ sys/vm/vm_map.c:2997
		
KDB: stack backtrace:
kdb_backtrace(0,ffffffff,c07242a8,c0725810,c06f4fec) at kdb_backtrace+0x29
witness_checkorder(c071b004,9,c06ceb04,bb5) at witness_checkorder+0x544
_sx_xlock(c071b004,c06ceb04,bb5) at _sx_xlock+0x50
_vm_map_lock_read(c071afc0,c06ceb04,bb5,2000000,c15d192c) at _vm_map_lock_read+0x37
vm_map_lookup(cc75ab04,0,2,cc75ab08,cc75aaf8) at vm_map_lookup+0x28
vm_fault(c071afc0,0,2,8,c15d2640) at vm_fault+0x65
trap_pfault(cc75abcc,0,30) at trap_pfault+0xd2
trap(c0740018,c1e80010,c0720010,6,c1e80000) at trap+0x321
calltrap() at calltrap+0x5
--- trap 0xc, eip = 0xc0660ec6, esp = 0xcc75ac0c, ebp = 0xcc75ac10 ---
bus_dmamap_destroy(0,0,c15d9a80,c1e80000,cc75ac70) at bus_dmamap_destroy+0x2e
dc_detach(c1e72100,0,c1e72100,cc75ac54,0) at dc_detach+0x12e
dc_attach(c1e72100) at dc_attach+0xe14
device_attach(c1e72100,0,c1870000,0,c15d7880) at device_attach+0x58
device_probe_and_attach(c1e72100,c1870000,c15d9a80,c1e72100,c1e72100,c1870000,c1870004)
		at device_probe_and_attach+0xb4
cardbus_attach_card(c15d9a80) at cardbus_attach_card+0x167
cbb_insert(c1595000) at cbb_insert+0xd6
cbb_event_thread(c1595000,cc75ad48,c1595000,c0491354,0) at cbb_event_thread+0x129
fork_exit(c0491354,c1595000,cc75ad48) at fork_exit+0xa4
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xcc75ad7c, ebp = 0 ---
		
comments/references