lang: en

FreeBSD lock order reversal (LOR) #146

ID 146
state patched
responsible
reported first
reported last
do you know more? submit update by email
LOR
lock order reversal
 1st 0xc1b0d7cc sf0 (network driver) @ sys/pci/if_sf.c:1201
 2nd 0xc07a49e0 Giant (Giant) @ sys/kern/kern_poll.c:460
		
KDB: stack backtrace:
kdb_backtrace(c0742772,c07a49e0,c074dd5f,c074dd5f,c073e09e) at kdb_backtrace+0x2e
witness_checkorder(c07a49e0,9,c073e09e,1cc,18a) at witness_checkorder+0x6c3
_mtx_lock_flags(c07a49e0,0,c073e09e,1cc,c1b0d780) at _mtx_lock_flags+0x8a
ether_poll_deregister(c1af3000,0,c074def0,5c3,c1af3000) at ether_poll_deregister+0x2e
sf_stop(c1b0d780,1,c074def0,4be,c1b0d780) at sf_stop+0x52
sf_init_locked(c1b0d780,0,c074def0,4b1,c1af3000) at sf_init_locked+0x44
sf_init(c1b0d780,c055f18d,c07ac2c0,8020690c,c1b0d780) at sf_init+0x3a
ether_ioctl(c1af3000,8020690c,c1c19a00,c07423ea,0) at ether_ioctl+0x67
sf_ioctl(c1af3000,8020690c,c1c19a00,c1c19a7c,1) at sf_ioctl+0x270
in_ifinit(c1af3000,c1c19a00,c1c6aa10,0,1) at in_ifinit+0x208
in_control(c1e98de8,8040691a,c1c6aa00,c1af3000,c1c16a80) at in_control+0x986
ifioctl(c1e98de8,8040691a,c1c6aa00,c1c16a80,2) at ifioctl+0x1bc
soo_ioctl(c1c57168,8040691a,c1c6aa00,c19d7a80,c1c16a80) at soo_ioctl+0x3ef
ioctl(c1c16a80,d7827d04,c,422,3) at ioctl+0x45d
syscall(3b,3b,3b,8058aa0,0) at syscall+0x2c0
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (54, FreeBSD ELF32, ioctl),
    eip = 0x280d17ef, esp = 0xbfbfe99c, ebp = 0xbfbfe9c8 ---
		
comments/references