lang: en

FreeBSD lock order reversal (LOR) #69

ID 69
state unknown
responsible
reported first
reported last
do you know more? submit update by email
LOR
lock order reversal
 1st 0xc16443c0 em0 (network driver) @ sys/dev/em/if_em.c:637
 2nd 0xc1685a1c bpf interface lock (bpf interface lock) @ sys/net/bpf.c:1160
		
KDB: stack backtrace:
kdb_backtrace(0,ffffffff,c065dfc0,c065f410,c0625128) at kdb_backtrace+0x29
witness_checkorder(c1685a1c,9,c0600199,488) at witness_checkorder+0x54c
_mtx_lock_flags(c1685a1c,0,c0600199,488,c1644000) at _mtx_lock_flags+0x5b
bpf_tap(c1685a00,c1aeba32,b2,c1644000,c1644000) at bpf_tap+0x2b
bpf_mtap(c1685a00,c1aeba00) at bpf_mtap+0x34
em_start_locked(c1644000,c16443c0,0,c05edb32,27d) at em_start_locked+0x28b
em_start(c1644000) at em_start+0x28
if_start(c1644000) at if_start+0x7b
ether_output_frame(c1644000,c1aeba00,c00,0,0) at ether_output_frame+0x1d9
ether_output(c1644000,c1aeba00,d6762ac8,c1921d68,0) at ether_output+0x388
ip_output(c1aeba00,0,d6762ac4,0,0) at ip_output+0x7dd
tcp_output(c19e78d4,c19e5ca8,0,70,c1924600) at tcp_output+0xdd8
tcp_usr_send(c187b7c8,0,c1924600,0,0) at tcp_usr_send+0x14f
sosend(c187b7c8,0,d6762c88,c1924600,0) at sosend+0x5e7
soo_write(c17eb5e8,d6762c88,c1b2fc00,0,c17e6960) at soo_write+0x46
dofilewrite(c17e6960,c17eb5e8,3,807e000,70) at dofilewrite+0x7c
write(c17e6960,d6762d14,3,2d,206) at write+0x39
syscall(2f,bfbf002f,bfbf002f,bfbfde88,806edc8) at syscall+0x1ef
Xint0x80_syscall() at Xint0x80_syscall+0x1f
		
comments/references
  • private mail from glebius@