Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 491614 (CVE-2013-4592) - Kernel : kvm: memory leak when memory slot is moved with assigned device (CVE-2013-4592)
Summary: Kernel : kvm: memory leak when memory slot is moved with assigned device (CVE...
Alias: CVE-2013-4592
Product: Gentoo Security
Classification: Unclassified
Component: Kernel (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Security
Depends on:
Reported: 2013-11-18 19:38 UTC by Agostino Sarubbo
Modified: 2022-03-25 16:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2013-11-18 19:38:14 UTC
From ${URL} :

When a user memory slot is moved (ie. the base_gfn changes), iommu pages are neither unpinned nor 
unmapped.  The memory for these pages then cannot be recovered without rebooting the system.

Local user with ability to assign device (with access to PCI sysfs files for a device) could use 
this flaw to DoS the system.

Upstream fixes:
Comment 1 GLSAMaker/CVETool Bot gentoo-dev 2013-11-27 21:40:17 UTC
CVE-2013-4592 (
  Memory leak in the __kvm_set_memory_region function in virt/kvm/kvm_main.c
  in the Linux kernel before 3.9 allows local users to cause a denial of
  service (memory consumption) by leveraging certain device access to trigger
  movement of memory slots.
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-03-25 16:39:40 UTC
Fixes in 3.4.72 onward