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.
References
Link | Resource |
---|---|
http://www.securityfocus.com/bid/89937 | Third Party Advisory VDB Entry |
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3901 | Issue Tracking Patch Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2019/05/msg00041.html | Mailing List Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2019/05/msg00042.html | Mailing List Third Party Advisory |
https://security.netapp.com/advisory/ntap-20190517-0005/ | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
Configuration 4 (hide)
AND |
|
History
No history.
Information
Published : 2019-04-22 16:29
Updated : 2024-02-28 17:08
NVD link : CVE-2019-3901
Mitre link : CVE-2019-3901
CVE.ORG link : CVE-2019-3901
JSON object : View
Products Affected
linux
- linux_kernel
debian
- debian_linux
netapp
- snapprotect
- solidfire
- vasa_provider_for_clustered_data_ontap
- virtual_storage_console_for_vmware_vsphere
- cn1610
- cn1610_firmware
- active_iq_unified_manager_for_vmware_vsphere
- hci_management_node
- storage_replication_adapter_for_clustered_data_ontap_for_vmware_vsphere
CWE
CWE-667
Improper Locking