lang: en

FreeBSD lock order reversal (LOR) #129

ID 129
state patched
responsible
reported first
reported last
do you know more? submit update by email
LOR
lock order reversal
 1st 0xffffff003d684600 pcm0 (sound cdev) @
	sys/modules/sound/sound/../../../dev/sound/pcm/dsp.c:214
 2nd 0xffffffff8081e860 Giant (Giant) @ sys/kern/kern_synch.c:236
		
KDB: stack backtrace:
witness_checkorder() at witness_checkorder+0x4ba
_mtx_lock_flags() at _mtx_lock_flags+0x4a
msleep() at msleep+0x28a
kmem_malloc() at kmem_malloc+0x22f
uma_large_malloc() at uma_large_malloc+0x45
malloc() at malloc+0x12b
sndbuf_remalloc() at sndbuf_remalloc+0x97
chn_setblocksize() at chn_setblocksize+0x1d0
chn_tryspeed() at chn_tryspeed+0x13b
chn_tryformat() at chn_tryformat+0xe7
chn_setformat() at chn_setformat+0x20
chn_reset() at chn_reset+0xdb
dsp_open() at dsp_open+0x20a
devfs_open() at devfs_open+0x256
VOP_OPEN_APV() at VOP_OPEN_APV+0x74
vn_open_cred() at vn_open_cred+0x38c
kern_open() at kern_open+0xfd
open() at open+0x25
syscall() at syscall+0x4b2
Xfast_syscall() at Xfast_syscall+0xa8
--- syscall (5, FreeBSD ELF64, open),
    rip = 0x801ad87fc, rsp = 0x7fffffffa748, rbp = 0x1 ---
		
comments/references