{"push_id":835450961,"size":1,"distinct_size":1,"ref":"refs/heads/mm6.0","head":"74641b0ac233211994def546faf29735e048116b","before":"c9eb4197eabcf740b3b6d68aafdae18b5d724fa7","commits":[{"sha":"74641b0ac233211994def546faf29735e048116b","author":{"email":"8a741aa8cbd77ebc4a56ddb528ce9fd15d42f034@xmission.com","name":"Eric W. Biederman"},"message":"mnt: Prevent pivot_root from creating a loop in the mount tree\n\nAndy Lutomirski recently demonstrated that when chroot is used to set\nthe root path below the path for the new ``root'' passed to pivot_root\nthe pivot_root system call succeeds and leaks mounts.\n\nIn examining the code I see that starting with a new root that is\nbelow the current root in the mount tree will result in a loop in the\nmount tree after the mounts are detached and then reattached to one\nanother.  Resulting in all kinds of ugliness including a leak of that\nmounts involved in the leak of the mount loop.\n\nPrevent this problem by ensuring that the new mount is reachable from\nthe current root of the mount tree.\n\n[Added stable cc.  Fixes CVE-2014-7970.  --Andy]\n\nCc: stable@vger.kernel.org\nReported-by: Andy Lutomirski <luto@amacapital.net>\nReviewed-by: Andy Lutomirski <luto@amacapital.net>\nLink: http://lkml.kernel.org/r/87bnpmihks.fsf@x220.int.ebiederm.org\nSigned-off-by: \"Eric W. Biederman\" <ebiederm@xmission.com>\nSigned-off-by: Andy Lutomirski <luto@amacapital.net>\n(backported from commit 0d0826019e529f21c84687521d03f60cd241ca7d)\nCVE-2014-7970\nBugLink: http://bugs.launchpad.net/bugs/1383356\nSigned-off-by: Luis Henriques <luis.henriques@canonical.com>\nAcked-by: Stefan Bader <stefan.bader@canonical.com>\nAcked-by: Andy Whitcroft <apw@canonical.com>\nSigned-off-by: Andy Whitcroft <apw@canonical.com>\n\nChange-Id: I0fe1d090eeb4765cc49401784e44a430f9585498","distinct":true,"url":"https://api.github.com/repos/SlimRoms/kernel_samsung_espresso10/commits/74641b0ac233211994def546faf29735e048116b"}]}