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 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.
References
Link Resource
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
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=59839dfff5eabca01cc4e20b45797a60a80af8cb
http://secunia.com/advisories/35675 Broken Link
http://secunia.com/advisories/36045 Broken Link
http://secunia.com/advisories/36054 Broken Link
http://sourceforge.net/tracker/?func=detail&atid=893831&aid=2687641&group_id=180599 Third Party Advisory
http://www.debian.org/security/2009/dsa-1845 Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2010:198 Broken Link
http://www.openwall.com/lists/oss-security/2009/06/30/1 Mailing List Patch Third Party Advisory
http://www.ubuntu.com/usn/usn-807-1 Third Party Advisory
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
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=59839dfff5eabca01cc4e20b45797a60a80af8cb
http://secunia.com/advisories/35675 Broken Link
http://secunia.com/advisories/36045 Broken Link
http://secunia.com/advisories/36054 Broken Link
http://sourceforge.net/tracker/?func=detail&atid=893831&aid=2687641&group_id=180599 Third Party Advisory
http://www.debian.org/security/2009/dsa-1845 Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2010:198 Broken Link
http://www.openwall.com/lists/oss-security/2009/06/30/1 Mailing List Patch Third Party Advisory
http://www.ubuntu.com/usn/usn-807-1 Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:8.10:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:9.04:*:*:*:*:*:*:*

Configuration 3 (hide)

OR cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:5.0:*:*:*:*:*:*:*

History

21 Nov 2024, 01:04

Type Values Removed Values Added
References () 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 - () 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 -
References () http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=59839dfff5eabca01cc4e20b45797a60a80af8cb - () http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=59839dfff5eabca01cc4e20b45797a60a80af8cb -
References () http://secunia.com/advisories/35675 - Broken Link () http://secunia.com/advisories/35675 - Broken Link
References () http://secunia.com/advisories/36045 - Broken Link () http://secunia.com/advisories/36045 - Broken Link
References () http://secunia.com/advisories/36054 - Broken Link () http://secunia.com/advisories/36054 - Broken Link
References () http://sourceforge.net/tracker/?func=detail&atid=893831&aid=2687641&group_id=180599 - Third Party Advisory () http://sourceforge.net/tracker/?func=detail&atid=893831&aid=2687641&group_id=180599 - Third Party Advisory
References () http://www.debian.org/security/2009/dsa-1845 - Third Party Advisory () http://www.debian.org/security/2009/dsa-1845 - Third Party Advisory
References () http://www.mandriva.com/security/advisories?name=MDVSA-2010:198 - Broken Link () http://www.mandriva.com/security/advisories?name=MDVSA-2010:198 - Broken Link
References () http://www.openwall.com/lists/oss-security/2009/06/30/1 - Mailing List, Patch, Third Party Advisory () http://www.openwall.com/lists/oss-security/2009/06/30/1 - Mailing List, Patch, Third Party Advisory
References () http://www.ubuntu.com/usn/usn-807-1 - Third Party Advisory () http://www.ubuntu.com/usn/usn-807-1 - Third Party Advisory

07 Nov 2023, 02:04

Type Values Removed Values Added
References
  • {'url': 'http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git;a=blob;f=queue-2.6.30/kvm-x86-check-for-cr3-validity-in-ioctl_set_sregs.patch;h=b48a47dad2cf76358b327368f80c0805e6370c68;hb=e7c45b24f298b5d9efd7d401150f64a1b51aaac4', 'name': 'http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git;a=blob;f=queue-2.6.30/kvm-x86-check-for-cr3-validity-in-ioctl_set_sregs.patch;h=b48a47dad2cf76358b327368f80c0805e6370c68;hb=e7c45b24f298b5d9efd7d401150f64a1b51aaac4', 'tags': ['Mailing List', 'Patch', 'Vendor Advisory'], 'refsource': 'CONFIRM'}
  • {'url': 'http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=59839dfff5eabca01cc4e20b45797a60a80af8cb', 'name': 'http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=59839dfff5eabca01cc4e20b45797a60a80af8cb', 'tags': ['Mailing List', 'Patch', 'Vendor Advisory'], 'refsource': 'CONFIRM'}
  • () http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commitdiff%3Bh=59839dfff5eabca01cc4e20b45797a60a80af8cb -
  • () 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 -

Information

Published : 2009-07-01 13:00

Updated : 2024-11-21 01:04


NVD link : CVE-2009-2287

Mitre link : CVE-2009-2287

CVE.ORG link : CVE-2009-2287


JSON object : View

Products Affected

debian

  • debian_linux

linux

  • linux_kernel

canonical

  • ubuntu_linux
CWE
CWE-476

NULL Pointer Dereference