Vulnerability record · CVE-2019-3901 · published 22 April 2019
CVE-2019-3901: Linux kernel vulnerability
Linux · Linux Kernel
A race condition in perf_event_open() allows local attackers to leak sensitive data from setuid programs. As no relevant locks (in particular the cred_guard_mutex) are held during the ptrace_may_access() call, it is possible for the specified target task to perform an execve() syscall with setuid execution before perf_event_alloc() actually attaches to it, allowing an attacker to bypass the ptrace_may_access() check and the perf_event_exit_task(current) call that is performed in install_exec_creds() during privileged execve() calls. This issue affects kernel versions before 4.8.
Description
A race condition in perf_event_open() allows local attackers to leak sensitive data from setuid programs. As no relevant locks (in particular the cred_guard_mutex) are held during the ptrace_may_access() call, it is possible for the specified target task to perform an execve() syscall with setuid execution before perf_event_alloc() actually attaches to it, allowing an attacker to bypass the ptrace_may_access() check and the perf_event_exit_task(current) call that is performed in install_exec_creds() during privileged execve() calls. This issue affects kernel versions before 4.8.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Affected products
10 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://www.securityfocus.com/bid/89937 | Third Party AdvisoryVDB Entry |
| https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3901 | Issue TrackingPatchThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2019/05/msg00041.html | Mailing ListThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2019/05/msg00042.html | Mailing ListThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20190517-0005/ | Third Party Advisory |
| http://www.securityfocus.com/bid/89937 | Third Party AdvisoryVDB Entry |
| https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3901 | Issue TrackingPatchThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2019/05/msg00041.html | Mailing ListThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2019/05/msg00042.html | Mailing ListThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20190517-0005/ | Third Party Advisory |
Track CVE-2019-3901 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2019-3901), CISA KEV, FIRST EPSS (scores of 2026-10-14). This page is refreshed as NVD updates the record.