CVE-2025-21834 seccomp: passthrough uretprobe systemcall without filtering
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Linux KernelDockerDebian
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]
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/linux(Debian 13) | < 6.12.15-1 | 6.12.15-1 | Fixed |
| debian/linux(Debian 14) | < 6.12.15-1 | 6.12.15-1 | Fixed |
| Linux kernel | < 6.12.14; < 6.13.3; < 6.14; = 6.11 +6 more | 5a262628f4cf2437d863fe41f9d427177b87664c, 6.12.14, 6.13.3, 6.14, cf6cb56ef24410fb5308f9655087f1eddf4452e6, fa80018aa5be10c35e9fa896b7b4061a8dce3eed | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/linux(Debian:13) | < 6.12.15-1 | 6.12.15-1 |
| debian/linux(Debian:14) | < 6.12.15-1 | 6.12.15-1 |
| Linux kernel | >= ff474a78cef5cb5f32be52fe25b78441327a2e7c, < 5a262628f4cf2437d863fe41f9d427177b87664c | 5a262628f4cf2437d863fe41f9d427177b87664c |
| Linux kernel | >= ff474a78cef5cb5f32be52fe25b78441327a2e7c, < fa80018aa5be10c35e9fa896b7b4061a8dce3eed | fa80018aa5be10c35e9fa896b7b4061a8dce3eed |
| Linux kernel | >= ff474a78cef5cb5f32be52fe25b78441327a2e7c, < cf6cb56ef24410fb5308f9655087f1eddf4452e6 | cf6cb56ef24410fb5308f9655087f1eddf4452e6 |
| Linux kernel | = 6.11 | No fix listed |
| Linux kernel | < 6.12.14 | 6.12.14 |
| Linux kernel | < 6.13.3 | 6.13.3 |
| Linux kernel | < 6.14 | 6.14 |
| Linux kernel | >= 6.11, < 6.12.14 | 6.12.14 |
| Linux kernel | >= 6.13, < 6.13.3 | 6.13.3 |
| Linux kernel | = 6.14-rc1 | No fix listed |
References
- Debian Security Tracker CVE-2025-21834 vendor-advisory
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- Ubuntu CVE tracker vendor-advisory
- USN-7379-1 vendor-advisory
- USN-7380-1 vendor-advisory
- USN-7381-1 vendor-advisory
- USN-7382-1 vendor-advisory
- USN-7379-2 vendor-advisory
- www.cve.org