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 |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3901 | Issue Tracking Patch Third Party Advisory |
http://www.securityfocus.com/bid/89937 | Third Party Advisory VDB Entry |
https://security.netapp.com/advisory/ntap-20190517-0005/ | 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 |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
Configuration 4 (hide)
AND |
|
Information
Published : 2019-04-22 09:29
Updated : 2023-02-12 15:38
NVD link : CVE-2019-3901
Mitre link : CVE-2019-3901
JSON object : View
CWE
CWE-667
Improper Locking
Products Affected
netapp
- vasa_provider_for_clustered_data_ontap
- storage_replication_adapter_for_clustered_data_ontap_for_vmware_vsphere
- cn1610
- solidfire
- hci_management_node
- active_iq_unified_manager_for_vmware_vsphere
- virtual_storage_console_for_vmware_vsphere
- cn1610_firmware
- snapprotect
linux
- linux_kernel
debian
- debian_linux