Bug 121385 - [unionfs] unionfs cross mount -> kernel panic
Summary: [unionfs] unionfs cross mount -> kernel panic
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-fs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-05 11:20 UTC by Rick van der Zwet
Modified: 2014-03-06 22:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rick van der Zwet 2008-03-05 11:20:03 UTC
Able to crash/freeze kernel when accidentally mounting to directories on
top of each-other using unionfs

Fix: 

Workaround: carefully check your syntax when mounting
How-To-Repeat: # mkdir -p /unionfs/disk1
# mkdir -p /unionfs/disk2
# mount -t unionfs /unionfs/disk1 /unionfs/disk2
# mount -t unionfs /unionfs/disk2 /unionfs/disk1
# touch /unionfs/disk1/foo
<freeze or crash>
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2008-03-05 16:54:40 UTC
Responsible Changed
From-To: freebsd-bugs->daichi

Over to maintainer.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2013-07-03 01:50:32 UTC
State Changed
From-To: open->open

commit bit has been taken in for safekeeping. 


Comment 3 Mark Linimon freebsd_committer freebsd_triage 2013-07-03 01:50:32 UTC
Responsible Changed
From-To: daichi->freebsd-fs
Comment 4 olivier 2013-10-08 18:53:16 UTC
Hi,

this problem is still reproductible on 10.0-ALPHA4.

Regards,

Olivier
Comment 5 Bryan Drewery freebsd_committer freebsd_triage 2014-03-06 22:30:07 UTC
State Changed
From-To: open->closed

duplicate of kern/172334