Date: Sun, 30 Mar 2025 21:43:32 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 285782] Jail escape via directory rename outside of jail $path. Message-ID: <bug-285782-227-HgRBqP8XfA@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-285782-227@https.bugs.freebsd.org/bugzilla/> References: <bug-285782-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D285782 --- Comment #2 from Konstantin Belousov <kib@FreeBSD.org> --- I suspect this thing can be made into sort-of exploit if nested jails are enabled. There, you would replace the 'host' by upper jail, and the jail is created as subordinate of the upper jail. Then if a process in the sub- ordinate jail owns the file descriptor pointing to the directory that is moved out of the hierarchy of the sub-ord (and upper jail can do that), the process can escape into host namespace. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-285782-227-HgRBqP8XfA>