lang: en

FreeBSD lock order reversal (LOR) #125

ID 125
state unknown
responsible
reported first
reported last
do you know more? submit update by email
LOR
lock order reversal
 1st 0xc1ec0a68 inp (tcpinp) @ sys/netinet/tcp_input.c:742
 2nd 0xc1a161a0 em0 (network driver) @ sys/dev/em/if_em.c:647
		
KDB: stack backtrace:
witness_checkorder(c1a161a0,9,c074b360,287,c1a68d0c) at witness_checkorder+0x526
_mtx_lock_flags(c1a161a0,0,c074b360,287,c1a68c00) at _mtx_lock_flags+0x54
em_start(c1a68c00,0,c0765ec9,195,2) at em_start+0x37
ether_output_frame(c1a68c00,c1cfe300,6,d56a79c4,d56a7940) at ether_output_frame+0x238
ether_output(c1a68c00,c1cfe300,d56a79c4,c1db64a4,c1ec09d8) at ether_output+0x3c8
ip_output(c1cfe300,0,d56a79c0,1,0) at ip_output+0x5f6
tcp_output(c1ec2000,0,c0768a4a,97d,a7c9) at tcp_output+0x97d
tcp_input(c1dbe200,14,c1a68c00,1,0) at tcp_input+0x194f
ip_input(c1dbe200,0,c07664af,e8,c0811a40) at ip_input+0xf5
netisr_processqueue(2,c075df3c,267,c19ae600,c19649c0) at netisr_processqueue+0x15
swi_net(0,0,c075a137,251,2) at swi_net+0x8d
ithread_loop(c1954380,d56a7d38,c0759f51,30d,0) at ithread_loop+0x1fe
fork_exit(c05564d0,c1954380,d56a7d38) at fork_exit+0xa4
fork_trampoline() at fork_trampoline+0x8
		
comments/references