CVE-2025-21834

seccomp: passthrough uretprobe systemcall without filtering

published March 6, 2025

CVSS
—
EPSS
0%
Percentile
7.1
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

seccomp: passthrough uretprobe systemcall without filtering

When attaching uretprobes to processes running inside docker, the attached

process is segfaulted when encountering the retprobe.

The reason is that now that uretprobe is a system call the default seccomp

filters in docker block it as they only allow a specific set of known

syscalls. This is true for other userspace applications which use seccomp

to control their syscall surface.

Since uretprobe is a "kernel implementation detail" system call which is

not used by userspace application code directly, it is impractical and

there's very little point in forcing all userspace applications to

explicitly allow it in order to avoid crashing tracked processes.

Pass this systemcall through seccomp without depending on configuration.

Note: uretprobe is currently only x86_64 and isn't expected to ever be

supported in i386.

[kees: minimized changes for easier backporting, tweaked commit log]

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00178 · 7.1th percentile
Published
2025-03-06T16:22Z
EPSS history
Timeline
  • 06 MAR 16:22Z
    seccomp: passthrough uretprobe systemcall without filtering
    cvelistv5