5.5medium
seccomp: passthrough uretprobe systemcall without filtering
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.18% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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]
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from ff474a78cef5cb5f32be52fe25b78441327a2e7c before 5a262628f4cf2437d863fe41f9d427177b87664c, from ff474a78cef5cb5f32be52fe25b78441327a2e7c before fa80018aa5be10c35e9fa896b7b4061a8dce3eed, from ff474a78cef5cb5f32be52fe25b78441327a2e7c before cf6cb56ef24410fb5308f9655087f1eddf4452e6, 6.11 Not affected: before 6.11, from 6.12.14 up to 6.12.*, from 6.13.3 up to 6.13.*, from 6.14 up to * | CVE List |
| linux linux_kernel | from 6.11 before 6.12.14, from 6.13 before 6.13.3, 6.14 | NVD |
What each source says
CVE List
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]
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: seccomp: pasar a través de la llamada al sistema uretprobe sin filtrar Al adjuntar uretprobes a procesos que se ejecutan dentro de docker, el proceso adjunto sufre un error de segmentación al encontrar retprobe. La razón es que ahora que uretprobe es una llamada al sistema, los filtros seccomp predeterminados en docker lo bloquean ya que solo permiten un conjunto específico de llamadas al sistema conocidas. Esto es cierto para otras aplicaciones de espacio de usuario que usan seccomp para controlar su superficie de llamada al sistema. Dado que uretprobe es una llamada al sistema de "detalle de implementación del kernel" que no es utilizada directamente por el código de la aplicación de espacio de usuario, no es práctica y no tiene mucho sentido forzar a todas las aplicaciones de espacio de usuario a permitirla explícitamente para evitar que se bloqueen los procesos rastreados. Pase esta llamada al sistema a través de seccomp sin depender de la configuración. Nota: uretprobe actualmente solo es x86_64 y no se espera que sea compatible con i386. [kees: se minimizaron los cambios para facilitar la adaptación, se modificó el registro de confirmaciones]
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-21834 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-21834 changed 2026-06-17 | Public domain |