← Vulnerability feed

Vulnerability record · CVE-2013-2094 · published 14 May 2013

CVE-2013-2094: Linux Kernel perf_swevent_init Integer Type Flaw Enables Local Privilege Escalation

Linux · Linux Kernel

The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, allowing a local user to escalate privileges via a crafted perf_event_open system call. Because the flaw is in core kernel event handling, any unprivileged local account on an affected system can potentially obtain root. It is a well-known, widely exploited local privilege escalation issue.

8.4 CVSS 3.1 High CISA KEV since 15 Sep 2022 EPSS 48% · top 1.2% CWE-189 · CWE-189
8.4CVSS 3.1 base score, v2 7.2
48%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
1Affected product versions listed by NVD
59References, 2 tagged exploit
16 Jun 2026Last modified by NVD

Description

The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call.

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

high priorityAlthough the CVSS score is 8.4 (High) and the flaw requires local access, it is listed in CISA KEV with a very high EPSS percentile, confirming active exploitation and making it a top remediation priority for any unpatched Linux host.

What it is

The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, allowing a local user to escalate privileges via a crafted perf_event_open system call. Because the flaw is in core kernel event handling, any unprivileged local account on an affected system can potentially obtain root. It is a well-known, widely exploited local privilege escalation issue.

Impact

An attacker with local access gains full root privileges, including the ability to read or modify any data, install persistent malware, or disable security controls. This is a complete compromise of the host's confidentiality, integrity, and availability.

Attack surface

Reached locally by invoking the perf_event_open system call with crafted arguments; no authentication beyond an existing local user session is required, and no user interaction is needed. The CVSS vector confirms local access (AV:L), no privileges (PR:N), and no user interaction (UI:N).

Exploitation

CISA added this to the Known Exploited Vulnerabilities catalog on 2022-09-15, and public exploit code exists (e.g., the semtex.c exploit on Packet Storm and Exploit-DB). EPSS gives a 30-day exploitation probability of 0.477 (98.8th percentile), indicating active exploitation is likely.

What to do

  • Apply the Linux kernel 3.8.9 or later update, or the corresponding vendor kernel update from Red Hat, CentOS, Ubuntu, openSUSE, or Mandriva.
  • If immediate patching is not possible, restrict local shell access and use mandatory access control (SELinux/AppArmor) to limit unprivileged users' ability to invoke perf_event_open.
  • Disable or restrict the perf_event subsystem for unprivileged users via the kernel.perf_event_paranoid sysctl where operationally feasible.
  • Audit all Linux hosts for kernel versions before 3.8.9 and prioritize remediation on multi-user or internet-facing systems.
  • Monitor for and remove any unauthorized local accounts or persistence mechanisms that may have been established before patching.

Detection

  • Monitor process execution for known exploit binaries or scripts that call perf_event_open with unusual arguments, such as semtex.c or similar privilege escalation tools.
  • Audit system logs for unexpected root-level process creation or privilege changes originating from unprivileged user sessions.
  • Use host-based intrusion detection to flag anomalous use of the perf_event_open syscall by non-root users.
  • Check for signs of post-exploitation activity such as new SUID binaries, modified kernel modules, or unauthorized cron jobs.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2013-2094 to the Known Exploited Vulnerabilities catalog on 15 September 2022 as "Linux Kernel Privilege Escalation Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 6 October 2022.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=8176cced706b5e5d15887584150764894e94e02f Not Applicable
http://lists.centos.org/pipermail/centos-announce/2013-May/019729.html Third Party AdvisoryVDB Entry
http://lists.centos.org/pipermail/centos-announce/2013-May/019733.html Third Party AdvisoryVDB Entry
http://lists.opensuse.org/opensuse-security-announce/2013-05/msg00008.html Third Party AdvisoryVDB Entry
http://lists.opensuse.org/opensuse-security-announce/2013-05/msg00018.html Third Party AdvisoryVDB Entry
http://lists.opensuse.org/opensuse-security-announce/2013-06/msg00005.html Third Party AdvisoryVDB Entry
http://lists.opensuse.org/opensuse-security-announce/2013-06/msg00009.html Third Party AdvisoryVDB Entry
http://lists.opensuse.org/opensuse-security-announce/2013-06/msg00017.html Third Party AdvisoryVDB Entry
http://lkml.indiana.edu/hypermail/linux/kernel/1304.1/03652.html Third Party AdvisoryVDB Entry
http://lkml.indiana.edu/hypermail/linux/kernel/1304.1/03976.html Third Party AdvisoryVDB Entry
http://lkml.indiana.edu/hypermail/linux/kernel/1304.1/04302.html Third Party Advisory
http://news.ycombinator.com/item?id=5703758 Third Party Advisory
http://packetstormsecurity.com/files/121616/semtex.c ExploitThird Party AdvisoryVDB Entry
http://rhn.redhat.com/errata/RHSA-2013-0830.html Third Party Advisory
http://twitter.com/djrbliss/statuses/334301992648331267 Patch
http://www.exploit-db.com/exploits/33589 Third Party AdvisoryVDB Entry
http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.9 Not Applicable
http://www.mandriva.com/security/advisories?name=MDVSA-2013:176 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2013/05/14/6 Mailing ListThird Party Advisory
http://www.osvdb.org/93361 Broken Link
http://www.reddit.com/r/netsec/comments/1eb9iw Third Party Advisory
http://www.ubuntu.com/usn/USN-1825-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-1826-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-1827-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-1828-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-1836-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-1838-1 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=962792 Issue Tracking
https://github.com/torvalds/linux/commit/8176cced706b5e5d15887584150764894e94e02f Third Party Advisory
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=8176cced706b5e5d15887584150764894e94e02f Not Applicable
http://lists.centos.org/pipermail/centos-announce/2013-May/019729.html Third Party AdvisoryVDB Entry
http://lists.centos.org/pipermail/centos-announce/2013-May/019733.html Third Party AdvisoryVDB Entry
http://lists.opensuse.org/opensuse-security-announce/2013-05/msg00008.html Third Party AdvisoryVDB Entry
http://lists.opensuse.org/opensuse-security-announce/2013-05/msg00018.html Third Party AdvisoryVDB Entry
http://lists.opensuse.org/opensuse-security-announce/2013-06/msg00005.html Third Party AdvisoryVDB Entry
http://lists.opensuse.org/opensuse-security-announce/2013-06/msg00009.html Third Party AdvisoryVDB Entry
http://lists.opensuse.org/opensuse-security-announce/2013-06/msg00017.html Third Party AdvisoryVDB Entry
http://lkml.indiana.edu/hypermail/linux/kernel/1304.1/03652.html Third Party AdvisoryVDB Entry
http://lkml.indiana.edu/hypermail/linux/kernel/1304.1/03976.html Third Party AdvisoryVDB Entry
http://lkml.indiana.edu/hypermail/linux/kernel/1304.1/04302.html Third Party Advisory

Track CVE-2013-2094 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.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed8.8CVE-2026-53266Linux kernel ebtables SNAT out-of-bounds write in ARP rewriteThe ebtables SNAT target rewrites the ARP sender hardware address via skb_store_bits() without first making that range writable. When the ARP SHA byt…KEVEPSS 0.65%analysed8.8CVE-2023-3079Google Chrome V8 type confusion enables heap corruptionCVE-2023-3079 is a type confusion flaw in the V8 JavaScript engine in Google Chrome before 114.0.5735.110. A crafted HTML page can trigger the confus…KEVEPSS 32%analysed8.8CVE-2013-6282Linux kernel ARM get_user/put_user missing address validationThe get_user and put_user API functions in the Linux kernel before 3.5.5 on v6k and v7 ARM platforms fail to validate certain addresses, allowing cra…KEVEPSS 40%analysed8.4CVE-2022-0185Linux Kernel Filesystem Context Heap Buffer OverflowThe legacy_parse_param function in the Linux kernel's Filesystem Context functionality fails to properly verify supplied parameter lengths, causing a…KEVEPSS 25%analysed7.8CVE-2026-53362Linux kernel IPv6 UDP paged allocation out-of-bounds write__ip6_append_data() in the Linux kernel mis-accounts fraggap on the paged-allocation path, leaving the linear skb area undersized while pagedlen is o…KEVEPSS 0.71%analysed7.8CVE-2026-31431Linux kernel algif_aead in-place crypto operation flawThe Linux kernel's algif_aead AF_ALG AEAD interface operated in-place on buffers that come from different mappings, a flaw the fix resolves by revert…KEVEPSS 3.4%analysed7.8CVE-2025-38352Linux kernel POSIX CPU timer TOCTOU race enables local privilege escalationA time-of-check to time-of-use race exists in the Linux kernel between handle_posix_cpu_timers() and posix_cpu_timer_del(). When an exiting non-autor…KEVEPSS 1.3%analysed

Source: NIST National Vulnerability Database (record CVE-2013-2094), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.