CVE-2025-21834

seccomp: passthrough uretprobe systemcall without filtering

State
Published
Severity
Not scored
Published
Mar 6, 2025
Updated
May 11, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

Description

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]

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ff474a78cef5cb5f32be52fe25b78441327a2e7c to before 5a262628f4cf2437d863fe41f9d427177b87664cAffected
  • ff474a78cef5cb5f32be52fe25b78441327a2e7c to before fa80018aa5be10c35e9fa896b7b4061a8dce3eedAffected
  • ff474a78cef5cb5f32be52fe25b78441327a2e7c to before cf6cb56ef24410fb5308f9655087f1eddf4452e6Affected
LinuxLinux
  • 6.11Affected
  • before 6.11Not affected
  • 6.12.14 through 6.12.*Not affected
  • 6.13.3 through 6.13.*Not affected
  • 6.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.