[SRU][Trusty][PATCH 0/1] umount: Do not allow unmounting rootfs.

Joseph Salisbury joseph.salisbury at canonical.com
Fri Feb 12 19:51:59 UTC 2016


BugLink: http://bugs.launchpad.net/bugs/1541313


== SRU Justification ==
A kernel oops occurs if the root user tries to unmout rootfs.  This problem can
be avoided by setting MNT_LOCKED on the rootfs mount point.

This commit was included in mainline in 3.19-rc1, but it was not cc'd to stable.


== Fix ==
commit da362b09e42ee0bcaf0356afee6078b4f324baff
Author: Eric W. Biederman <ebiederm at xmission.com>
Date:   Tue Oct 7 12:19:53 2014 -0700

    umount: Do not allow unmounting rootfs.


== Test Case ==

A test kernel was built with this patch and tested by the original bug reporter.
The bug reporter states the test kernel resolved the bug.




Eric W. Biederman (1):
  umount: Do not allow unmounting rootfs.

 fs/namespace.c | 1 +
 1 file changed, 1 insertion(+)

-- 
1.9.1





More information about the kernel-team mailing list