Bug 2350398 (CVE-2025-21834) - CVE-2025-21834 kernel: seccomp: passthrough uretprobe systemcall without filtering
Summary: CVE-2025-21834 kernel: seccomp: passthrough uretprobe systemcall without filt...
Keywords:
Status: NEW
Alias: CVE-2025-21834
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-06 17:01 UTC by OSIDB Bzimport
Modified: 2025-03-07 11:19 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-03-06 17:01:47 UTC
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]

Comment 1 Avinash Hanwate 2025-03-07 06:04:52 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025030635-CVE-2025-21834-d92c@gregkh/T

Comment 3 Avinash Hanwate 2025-03-07 11:15:47 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025030635-CVE-2025-21834-d92c@gregkh/T


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