Bug 2420412 (CVE-2025-40341)
| Summary: | CVE-2025-40341 kernel: futex: Don't leak robust_list pointer on exec race | ||
|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | OSIDB Bzimport <bzimport> |
| Component: | vulnerability | Assignee: | Product Security DevOps Team <prodsec-dev> |
| Status: | NEW --- | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | unspecified | Keywords: | Security |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: |
A race condition flaw was found in the Linux kernel's futex subsystem. The sys_get_robust_list() and compat_get_robust_list() functions use ptrace_may_access() to verify permissions before accessing another task's robust_list pointer. However, this check is not synchronized with concurrent exec() calls in the target process. An attacker can exploit this race window by calling get_robust_list() on a process just before it executes a setuid binary. The permission check passes while the target is unprivileged, but the robust_list pointer is read after the target transitions to privileged state, potentially leaking memory addresses from a privileged process.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
OSIDB Bzimport
2025-12-09 05:01:38 UTC
|