lang: en

FreeBSD lock order reversal (LOR) #122

ID 122
state unknown
responsible
reported first
reported last
do you know more? submit update by email
LOR
lock order reversal
 1st 0xc133a9b4 inp (raw6inp) @ sys/netinet6/raw_ip6.c:624
 2nd 0xc0747060 Giant (Giant) @ sys/kern/kern_synch.c:236
		
KDB: stack backtrace:
kdb_backtrace(0,ffffffff,c07543c0,c0756328,c071d1c4) at kdb_backtrace+0x29
witness_checkorder(c0747060,9,c06d8637,ec) at witness_checkorder+0x564
_mtx_lock_flags(c0747060,0,c06d8637,ec) at _mtx_lock_flags+0x5b
msleep(c23f0600,0,4c,c06cfc71,0) at msleep+0x386
usbd_transfer(c23f0600,d350b9d0,c04d0825,c23f0600,246) at usbd_transfer+0x121
usbd_sync_transfer(c23f0600,246,c074c360,d350b9cc,0) at usbd_sync_transfer+0x11
usbd_do_request_flags_pipe(c1574400,c23e5a80,d350ba28,d350ba5e,0)
	at usbd_do_request_flags_pipe+0x5d
usbd_do_request_flags(c1574400,d350ba28,d350ba5e,0,0) at usbd_do_request_flags+0x20
usbd_do_request(c1574400,d350ba28,d350ba5e) at usbd_do_request+0x1a
axe_cmd(c23d4500,200f,0,0,d350ba5e) at axe_cmd+0x74
axe_setmulti(c23d4500,c23b4080,c23b4080,c1564680,c11c9400) at axe_setmulti+0x2f
axe_ioctl(c11c9400,80206932,0) at axe_ioctl+0x13e
if_delmulti(c11c9400,c23ea640) at if_delmulti+0x199
in6_delmulti(c1fe3bc0) at in6_delmulti+0x4f
ip6_freemoptions(c11cb9c0,0) at ip6_freemoptions+0x37
in6_pcbdetach(c133a924,c133a9b4,0,c06ec94e,270) at in6_pcbdetach+0x184
rip6_detach(c14a342c) at rip6_detach+0x96
soclose(c14a342c,c126b5e8,0,d350bb5c,c05045b8) at soclose+0x1e0
soo_close(c126b5e8,c1194780) at soo_close+0x4b
fdrop_locked(c126b5e8,c1194780,c1070784,0,c06d4c2e) at fdrop_locked+0x88
fdrop(c126b5e8,c1194780,d350bba8,c053ff84,c06d4c2e) at fdrop+0x24
closef(c126b5e8,c1194780) at closef+0x35f
fdfree(c1194780,c15fdd94,0,c06db654,6ac) at fdfree+0x473
exit1(c1194780,100,d350bd30,c0696c87,c1194780) at exit1+0x3f6
exit1(c1194780,d350bd04,1,2,296) at exit1
syscall(3b,3b,3b,0,8057300) at syscall+0x22f
Xint0x80_syscall() at Xint0x80_syscall+0x1f
		
comments/references