cve.bz

CVE-2019-3901 Improper Locking

4.7 mediumEPSS 0.3%Fix available

Medium (4.7). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

4.7 medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 28th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-667 Improper Locking
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-3901 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-3901?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-3901?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-3901 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelbefore 4.8
debian:debian_linux8.0
netapp:active_iq_unified_manager_for_vmware_vsphere9.5 and later
netapp:storage_replication_adapter_for_clustered_data_ontap_for_vmware_vsphere7.2 and later
netapp:vasa_provider_for_clustered_data_ontap7.2 and later
netapp:virtual_storage_console_for_vmware_vsphere7.2 and later

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8linux3.16.68-1DLA-1799-1
Debian12, 13, 14linux4.6.1-1DEBIAN-CVE-2019-3901
Ubuntu14.04:LTSlinux-lts-xenial4.4.0-28.47~14.04.1UBUNTU-CVE-2019-3901
Ubuntu16.04:LTSlinux4.4.0-28.47UBUNTU-CVE-2019-3901
Ubuntu16.04:LTSlinux-raspi24.4.0-1016.22UBUNTU-CVE-2019-3901
Ubuntu16.04:LTSlinux-snapdragon4.4.0-1019.22UBUNTU-CVE-2019-3901
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 3 moreno fix listedUBUNTU-CVE-2019-3901
Ubuntu22.04:LTSlinux-riscv, linux-realtime, linux-intel-iot-realtimeno fix listedUBUNTU-CVE-2019-3901
Ubuntu24.04:LTSlinux-gcp-6.11, linux-hwe-6.11, linux-azure-6.11 and 2 moreno fix listedUBUNTU-CVE-2019-3901
UbuntuPro:14.04:LTSlinuxno fix listedUBUNTU-CVE-2019-3901
UbuntuPro:20.04:LTSlinux-azure-fde-5.15no fix listedUBUNTU-CVE-2019-3901
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstationperf, kernel, bpftool and 16 more0:3.10.0-1127.el7RHSA-2020:1016
Red Hatenterprise_linux:7::hypervisorperf, python-perf, kernel-devel0:3.10.0-957.56.1.el7RHSA-2020:2851
Red Hatenterprise_linux:7::serverperf, kernel, bpftool and 23 more0:3.10.0-1127.el7RHSA-2020:1016
Red Hatrhel_eus:7.6::computenodeperf, kernel, bpftool and 15 more0:3.10.0-957.56.1.el7RHSA-2020:2851
Red Hatrhel_eus:7.6::serverperf, kernel, bpftool and 22 more0:3.10.0-957.56.1.el7RHSA-2020:2851
Red Hatrhel_eus:7.7::computenodeperf, kernel, bpftool and 16 more0:3.10.0-1062.26.1.el7RHSA-2020:2522
Red Hatrhel_eus:7.7::serverperf, kernel, bpftool and 23 more0:3.10.0-1062.26.1.el7RHSA-2020:2522
Red Hatrhel_extras_rt:7kernel-rt, kernel-rt-doc, kernel-rt-kvm and 14 more0:3.10.0-1127.rt56.1093.el7RHSA-2020:1070

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7kernel-rt-0:3.10.0-1127.rt56.1093.el7Fixed 2020-03-31RHSA-2020:1070
Red Hat Enterprise Linux 7kernel-0:3.10.0-1127.el7Fixed 2020-03-31RHSA-2020:1016
Red Hat Enterprise Linux 7.6 Extended Update Supportkernel-0:3.10.0-957.56.1.el7Fixed 2020-07-07RHSA-2020:2851
Red Hat Enterprise Linux 7.7 Extended Update Supportkernel-0:3.10.0-1062.26.1.el7Fixed 2020-06-11RHSA-2020:2522
Red Hat Virtualization 4.2 for Red Hat Enterprise Linux 7.6 EUSkernel-0:3.10.0-957.56.1.el7Fixed 2020-07-07RHSA-2020:2851
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 6kernelWill not fix
Red Hat Enterprise Linux 7kernel-altNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise MRG 2kernel-rtOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-3901.

Attack patterns (CAPEC)

  • CAPEC-25 Forced Deadlock Likelihood: Low · Severity: High
  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON