Improper Locking Affecting kernel-devel package, versions <0:3.10.0-1127.el7
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-CENTOS7-KERNELDEVEL-2152471
- published 26 Jul 2021
- disclosed 25 Apr 2016
Introduced: 25 Apr 2016
CVE-2019-3901 Open this link in a new tabHow to fix?
Upgrade Centos:7
kernel-devel
to version 0:3.10.0-1127.el7 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream kernel-devel
package and not the kernel-devel
package as distributed by Centos
.
See How to fix?
for Centos:7
relevant fixed versions and status.
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
- http://www.securityfocus.com/bid/89937
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3901
- https://security.netapp.com/advisory/ntap-20190517-0005/
- https://access.redhat.com/security/cve/CVE-2019-3901
- https://lists.debian.org/debian-lts-announce/2019/05/msg00041.html
- https://lists.debian.org/debian-lts-announce/2019/05/msg00042.html
- https://access.redhat.com/errata/RHSA-2020:1016
- https://bugzilla.redhat.com/show_bug.cgi?id=1701245