From dwmalone@maths.tcd.ie Sat Feb 17 16:57:50 1996 Received: from salmon.maths.tcd.ie (mmdf@salmon.maths.tcd.ie [134.226.81.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id QAA08437 for ; Sat, 17 Feb 1996 16:57:48 -0800 (PST) Received: from synge.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id aa24509; 18 Feb 96 0:57 GMT Received: (from dwmalone@localhost) by synge.maths.tcd.ie (8.6.12/8.6.12) id AAA13877; Sun, 18 Feb 1996 00:57:37 GMT Message-Id: <199602180057.AAA13877@synge.maths.tcd.ie> Date: Sun, 18 Feb 1996 00:57:37 GMT From: dwmalone@maths.tcd.ie Reply-To: nops@maths.tcd.ie To: FreeBSD-gnats-submit@freebsd.org Cc: nops@maths.tcd.ie Subject: mount can panic system. X-Send-Pr-Version: 3.2 >Number: 1031 >Category: kern >Synopsis: mount can panic system. >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 17 17:00:01 PST 1996 >Closed-Date: Sat Feb 17 18:28:32 PST 1996 >Last-Modified: Sat Feb 17 18:29:58 PST 1996 >Originator: David Malone >Release: FreeBSD 2.1-STABLE i386 >Organization: School of Mathematics, Trinity College, Dublin, Ireland. >Environment: FreeBSD 2.1, I've tried the stale version and an earlier snapshot. >Description: Bad command line arguments to mount will either cause processes to hang in the kernel or panic the machine. This seems to happen whenever the device and the directory for the mount point are the same. The panic says: ufs_lock: recursive lock not eexpected, pid: whatever >How-To-Repeat: This panics our 2.1.0-RELEASE and 2.1.0-951020-SNAP system: mount /etc /etc As a normal user you can try : mkdir /tmp/x mount -t msdos /tmp/x /tmp/x This paniced my 2.1.0-951020-SNAP. >Fix: Be more carefull with what arguements you give mount ? >Release-Note: >Audit-Trail: State-Changed-From-To: open->closed State-Changed-By: mpp State-Changed-When: Sat Feb 17 18:28:32 PST 1996 State-Changed-Why: Duplicate of PR# 434. >Unformatted: