NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/40055: efs does not handle specfs properly



>Number:         40055
>Category:       kern
>Synopsis:       efs does not handle specfs properly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 28 14:45:00 +0000 2008
>Originator:     Antti Kantee
>Release:        
>Organization:
>Environment:
>Description:
Or maybe the kernel can't handle efs?  Anyway...

wapbl code assumes that for all vnodes of type VBLK v_specmountpoint is valid.  
efs does not do spec_node_init() or set the specops vector for VBLK vnodes.  As 
a result, you get a kernel panic in vn_lock() -> wapbl_vphaswapbl() -> 
wapbl_vptomp().

Might not happen on a kernel without DIAGNOSTIC (didn't check).
>How-To-Repeat:
Use efs with block device nodes on it.
>Fix:



Home | Main Index | Thread Index | Old Index