svn commit: r344757 - head/sys/fs/ext2fs

Peter Holm pho at freebsd.org
Wed Mar 6 15:00:33 UTC 2019


On Mon, Mar 04, 2019 at 11:33:49AM +0000, Fedor Uporov wrote:
> Author: fsu
> Date: Mon Mar  4 11:33:49 2019
> New Revision: 344757
> URL: https://svnweb.freebsd.org/changeset/base/344757
> 
> Log:
>   Fix double free in case of mount error.
>   
>   Reported by:    Christopher Krah <krah at protonmail.com>
>   Reported as:    FS-9-EXT3-2: Denial Of Service in nmount-5 (vm_fault_hold)
>   Reviewed by:    pfg
>   MFC after:      1 week
>   
>   Differential Revision:    https://reviews.freebsd.org/D19385
> 
> Modified:
>   head/sys/fs/ext2fs/ext2_vfsops.c
> 
> Modified: head/sys/fs/ext2fs/ext2_vfsops.c
> ==============================================================================
> --- head/sys/fs/ext2fs/ext2_vfsops.c	Mon Mar  4 11:27:47 2019	(r344756)

Could this panic be related to your latest ext2fs changes?

20190306 15:27:47 all (309/617): crossmp10.sh
panic: mutex EXT2FS not owned at ../../../kern/kern_mutex.c:281
cpuid = 9
time = 1551882471
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00bfb3f480
vpanic() at vpanic+0x1b4/frame 0xfffffe00bfb3f4e0
panic() at panic+0x43/frame 0xfffffe00bfb3f540
__mtx_unlock_flags() at __mtx_unlock_flags+0x13a/frame 0xfffffe00bfb3f570
ext2_valloc() at ext2_valloc+0x530/frame 0xfffffe00bfb3f620
ext2_makeinode() at ext2_makeinode+0x56/frame 0xfffffe00bfb3f680
ext2_create() at ext2_create+0x2d/frame 0xfffffe00bfb3f6a0
VOP_CREATE_APV() at VOP_CREATE_APV+0x86/frame 0xfffffe00bfb3f6d0
vn_open_cred() at vn_open_cred+0x2c3/frame 0xfffffe00bfb3f820
kern_openat() at kern_openat+0x1fd/frame 0xfffffe00bfb3f990
amd64_syscall() at amd64_syscall+0x291/frame 0xfffffe00bfb3fab0
fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe00bfb3fab0

https://people.freebsd.org/~pho/stress/log/crossmp10-2.txt

- Peter


More information about the svn-src-head mailing list