CVE-2026-31431: Copy Fail vs. rootless containers
dragonsreach.it
CVE-2026-31431: Copy Fail vs. rootless containers
1–10 of 140 posts
Re: CVE-2026-31431: Copy Fail vs. rootless containers
#2>This is not raw shellcode — it is a fully formed ELF executable
Re: CVE-2026-31431: Copy Fail vs. rootless containers
#3Re: CVE-2026-31431: Copy Fail vs. rootless containers
#4Re: CVE-2026-31431: Copy Fail vs. rootless containers
#5Re: CVE-2026-31431: Copy Fail vs. rootless containers
#6But… does this escape the container? If not (the author seems to indicate it does not) then does it matter if you are in Docker or rootless Podman, right, since the end result is always: you have elevated to root within the container. If the rest of the container filesystem isolation does its job, the end result is the same? Though I guess another chained exploit to escape the container would be worse in Docker? Do I have that right?
Re: CVE-2026-31431: Copy Fail vs. rootless containers
#7Please post a tl;dr at the top or even in the subject. Many of us are scrambling to patch/reboot our **.
Re: CVE-2026-31431: Copy Fail vs. rootless containers
#81. I would hope the default seccomp policy blocks AF_ALG in these containers. I bet it doesn’t. Oh well.
2. The write-to-RO-page-cache primitive STILL WORKED! It’s just that the particular exploit used had no meaningful effect in the already-root-in-a-container context. If you think you are safe, you’re probably wrong. All you need to make a new exploit is an fd representing something that you aren’t supposed to be able to write. This likely includes CoW things where you are supposed to be able to write after CoW but you aren’t supposed to be able to write to the source.
So:
- Are you using these containers with a common image or even a common layer in an image to isolate dangerous workloads from each other. Oops, they can modify the image layers and corrupt each other. There goes any sort of cross-tenant isolation.
- What if you get an fd backed by the zero page and write to it? This can’t result in anything that the administrator would approve of.
- What if you ro-bind-mount something in? It’s not ro any more.
Re: CVE-2026-31431: Copy Fail vs. rootless containers
#9Re: CVE-2026-31431: Copy Fail vs. rootless containers
#10Please post a tl;dr at the top or even in the subject. Many of us are scrambling to patch/reboot our **.