CVE-2012-2137
What it is
Buffer overflow in virt/kvm/irq_comm.c in the KVM subsystem in the Linux kernel before 3.2.24 allows local users to cause a denial of service (crash) and possibly execute arbitrary code via vectors related to Message Signaled Interrupts (MSI), irq routing entries, and an incorrect check by the setup_routing_entry function before invoking the kvm_set_irq function.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.5% in the next 30 days (EPSS).
- Severity: 6.9 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.5% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- Linux Kernel < 3.0.72
- Linux Kernel < 3.2.24
- Linux Kernel < 3.4.81
- Canonical Ubuntu Linux 10.04
- Canonical Ubuntu Linux 11.10
- Canonical Ubuntu Linux 12.04
Attack profile CVSS 2.0 · 6.9
- Attack vector
- Local
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:L/AC:M/Au:N/C:C/I:C/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-2137.md and follow it. Check whether this project is affected by CVE-2012-2137. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=f2ebd422f71cda9c791f76f85d2ca102ae34a1ed
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.2.24
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=f2ebd422f71cda9c791f76f85d2ca102ae34a1ed
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.2.24
References
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=f2ebd422f71cda9c791f76f85d2ca102ae34a1ed
- http://lists.opensuse.org/opensuse-security-announce/2013-06/msg00005.html
- http://marc.info/?l=bugtraq&m=139447903326211&w=2
- http://rhn.redhat.com/errata/RHSA-2012-0743.html
- http://secunia.com/advisories/50952
- http://secunia.com/advisories/50961
- http://ubuntu.5.n6.nabble.com/PATCH-Oneiric-CVE-2012-2137-KVM-Fix-buffer-overflow-in-kvm-set-irq-td4990566.html
- http://ubuntu.com/usn/usn-1529-1
- http://ubuntu.com/usn/usn-1607-1
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.2.24
- http://www.securityfocus.com/bid/54063
- http://www.ubuntu.com/usn/USN-1594-1
- http://www.ubuntu.com/usn/USN-1606-1
- http://www.ubuntu.com/usn/USN-1609-1
- https://bugzilla.redhat.com/show_bug.cgi?id=816151
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=f2ebd422f71cda9c791f76f85d2ca102ae34a1ed
- http://lists.opensuse.org/opensuse-security-announce/2013-06/msg00005.html
- http://marc.info/?l=bugtraq&m=139447903326211&w=2
- http://rhn.redhat.com/errata/RHSA-2012-0743.html
- http://secunia.com/advisories/50952
- http://secunia.com/advisories/50961
- http://ubuntu.5.n6.nabble.com/PATCH-Oneiric-CVE-2012-2137-KVM-Fix-buffer-overflow-in-kvm-set-irq-td4990566.html
- http://ubuntu.com/usn/usn-1529-1
- http://ubuntu.com/usn/usn-1607-1
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.2.24