News for hackers. Stuff that matters.
Re:Copy Fail – CVE-2026-31431 by CGamesPlay on Wednesday April 29, 2026 @11:05PM (#47957587)
It's worth pointing out that you cannot, definitionally, get "real UID 0" in a "rootless" container, because then it wouldn't be a rootless container. This is relevant because this exploit doesn't claim to be able to bypass user namespaces, and that getting "real UID 0" would be a different exploit.
Re:Copy Fail – CVE-2026-31431 by rcxdude on Thursday April 30, 2026 @07:45AM (#47961046)
The underlying exploit allows writing arbitrary values to the page cache, independent of any namespacing, so it should be assumed to allow container escapes even if the given PoC code doesn't do that.
Re:Copy Fail – CVE-2026-31431 by CGamesPlay on Thursday April 30, 2026 @08:35AM (#47961479)
That's fair (although it doesn't have anything to do with getting "real root" in a userns in that case). I guess one approach would be something like modifying the host's logrotate binary and waiting for it to trigger, or something like that. Would escape the container to root on the host directly. I imagine it wouldn't be a sure thing to pull off, either, but definitely straightforward enough that any APT should be asking Claude to develop it.