ZeroHour

CVE-2013-2094

KEVmass

Out-of-Bounds Access in Linux Kernel perf Events Enables Privilege Escalation

CISA: Linux Kernel Privilege Escalation Vulnerability

CVSS
EPSS
48%p99
Published
KEV added
AI analysis

The Linux kernel's perf event subsystem fails to validate all 64 bits of the attr.config value supplied from user space, causing an out-of-bounds access to the perf_swevent_enabled array in sw_perf_event_destroy(). A local attacker triggers the flaw by creating a perf event with a crafted attr.config value, and the out-of-bounds access occurs when that event is destroyed, corrupting adjacent kernel memory. By corrupting memory this way, an attacker can escalate privileges from an unprivileged local user to kernel-level (root) privileges on the affected system. Any system running an affected Linux kernel where perf events are available is exposed; the provided data does not specify exact affected kernel version ranges, so operators should confirm against vendor advisories. The vulnerability is actively exploited: it was added to CISA's Known Exploited Vulnerabilities catalog on 2022-09-15, and EPSS assigns it a 47.7% probability of exploitation within 30 days (99th percentile).

What to do: Apply kernel updates per vendor instructions as required by CISA, then reboot so the system runs the patched kernel. As interim mitigation, restrict unprivileged access to perf events (e.g., by raising the perf_event_paranoid sysctl) and limit untrusted local shell access. Verify the running kernel version against your distribution's advisory for this CVE before and after remediation.

Affected
Linux Kernel
Estimated exposure
masspotentially millions of Linux systems (kernel ubiquity across servers, cloud instances, and embedded devices; exact count of systems running the vulnerable… — Linux dominates server and cloud operating system share with tens of millions of deployed instances, but only systems running the specific vulnerable kernel versions and exposing perf_event_open to local users are actually exploitable, so…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Linux kernel fails to check all 64 bits of attr.config passed by user space, resulting to out-of-bounds access of the perf_swevent_enabled array in sw_perf_event_destroy(). Explotation allows for privilege escalation.

CISA Known Exploited Vulnerability
Affected
Linux Kernel
Required action
Apply updates per vendor instructions.
Due date
Ransomware use
Unknown
Vendors
Linux
Products
Kernel
Weakness
CWE-189

In the news