Bug 2508140 (CVE-2026-18107) - CVE-2026-18107 criu: criu: container escape via rseq critical section hijack during checkpoint/restore
Summary: CVE-2026-18107 criu: criu: container escape via rseq critical section hijack ...
Keywords:
Status: NEW
Alias: CVE-2026-18107
Deadline: 2026-07-28
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-28 17:54 UTC by OSIDB Bzimport
Modified: 2026-07-28 21:09 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-28 17:54:35 UTC
A vulnerability was found in CRIU's handling of restartable sequences (rseq) during checkpoint/restore. When CRIU injects parasite code into a process for checkpointing, if the process's instruction pointer is inside an rseq critical section, the kernel redirects execution to the rseq abort handler. A malicious container process can exploit this by registering an rseq critical section with a crafted abort handler that detects and hijacks CRIU's parasite code injection.

The exploit intercepts the parasite's syscalls during checkpoint, locates and patches the parasite's dump_creds function to return spoofed credentials with full capabilities (all capability sets set to 0x1ffffffffff), zeroed UIDs/GIDs, and cleared no_new_privs/secbits. On restore, CRIU applies these spoofed credentials, granting the container process full DAC-bypass capabilities.

The attack requires that checkpoint/restore is enabled for the container runtime and that the attacker controls the code running inside the container.


Note You need to log in before you can comment on or make changes to this bug.