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.
In short
CVE-2013-2094 (Linux Kernel Privilege Escalation) has a CVSS 3.1 base score of 8.4, rated high. CISA added it to the Known Exploited Vulnerabilities catalog on 15 Sept 2022. Fixed in Linux Kernel 3.2.45 or later.
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 breakdown
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HAffected products
- Linux Kernel≥ 3.1 < 3.2.45 · ≥ 3.3 < 3.4.42 · ≥ 3.5 < 3.8.9 · < 3.0.75
Remediation
Fixed in- Linux Kernel≥ 3.2.45
References
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=8176cced706b5e5d15887584150764894e94e02f
- http://lists.centos.org/pipermail/centos-announce/2013-May/019729.html
- http://lists.centos.org/pipermail/centos-announce/2013-May/019733.html
- http://lists.opensuse.org/opensuse-security-announce/2013-05/msg00008.html
- http://lists.opensuse.org/opensuse-security-announce/2013-05/msg00018.html
- http://lists.opensuse.org/opensuse-security-announce/2013-06/msg00005.html
- http://lists.opensuse.org/opensuse-security-announce/2013-06/msg00009.html
- http://lists.opensuse.org/opensuse-security-announce/2013-06/msg00017.html
- http://lkml.indiana.edu/hypermail/linux/kernel/1304.1/03652.html
- http://lkml.indiana.edu/hypermail/linux/kernel/1304.1/03976.html
and 20 more references
Related CVEs
Exploited and critical vulnerabilities in the same product or from the same vendor.
Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.
