CVE-2011-2521
The x86_assign_hw_event function in arch/x86/kernel/cpu/perf_event.c in the Performance Events subsystem in the Linux kernel before 2.6.39 does not properly calculate counter values, which allows local users to cause a denial of service (panic) via the perf program.
What to do
Fixed builds are available from Red Hat: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel | Fixed | 0:2.6.32-131.17.1.el6 | RHSA-2011:1350 |
| Red Hat Enterprise Linux 6 | kernel-bootwrapper | Fixed | 0:2.6.32-131.17.1.el6 | RHSA-2011:1350 |
| Red Hat Enterprise Linux 6 | kernel-debug | Fixed | 0:2.6.32-131.17.1.el6 | RHSA-2011:1350 |
| Red Hat Enterprise Linux 6 | kernel-debug-devel | Fixed | 0:2.6.32-131.17.1.el6 | RHSA-2011:1350 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-i686 | Fixed | 0:2.6.32-131.17.1.el6 | RHSA-2011:1350 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-ppc64 | Fixed | 0:2.6.32-131.17.1.el6 | RHSA-2011:1350 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-s390x | Fixed | 0:2.6.32-131.17.1.el6 | RHSA-2011:1350 |
| Red Hat Enterprise Linux 6 | kernel-debuginfo-common-x86_64 | Fixed | 0:2.6.32-131.17.1.el6 | RHSA-2011:1350 |
| Red Hat Enterprise Linux 6 | kernel-devel | Fixed | 0:2.6.32-131.17.1.el6 | RHSA-2011:1350 |
| Red Hat Enterprise Linux 6 | kernel-doc | Fixed | 0:2.6.32-131.17.1.el6 | RHSA-2011:1350 |
| Red Hat Enterprise Linux 6 | kernel-firmware | Fixed | 0:2.6.32-131.17.1.el6 | RHSA-2011:1350 |
| Red Hat Enterprise Linux 6 | kernel-headers | Fixed | 0:2.6.32-131.17.1.el6 | RHSA-2011:1350 |
| Red Hat Enterprise Linux 6 | kernel-kdump | Fixed | 0:2.6.32-131.17.1.el6 | RHSA-2011:1350 |
| Red Hat Enterprise Linux 6 | kernel-kdump-devel | Fixed | 0:2.6.32-131.17.1.el6 | RHSA-2011:1350 |
| Red Hat Enterprise Linux 6 | perf | Fixed | 0:2.6.32-131.17.1.el6 | RHSA-2011:1350 |
| Red Hat Enterprise Linux 5 | kernel | Not affected | ||
| Red Hat Enterprise Linux 4 | kernel | Not affected |
References
- https://github.com/torvalds/linux/commit/fc66c5210ec2539e800e87d7b3a985323c7be96e
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=fc66c5210ec2539e800e87d7b3a985323c7be96e
- http://ftp.osuosl.org/pub/linux/kernel/v2.6/ChangeLog-2.6.39
- http://www.openwall.com/lists/oss-security/2011/07/06/4
- https://bugzilla.redhat.com/show_bug.cgi?id=719228
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.