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...
Status: RESOLVED FIXED
Alias: CVE-2013-4592
Product: Gentoo Security
Classification: Unclassified
Component: Kernel (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Kernel Security
URL: https://bugzilla.redhat.com/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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: ---


Attachments

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:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=12d6e7538e2d418c08f082b1b44ffa5fb7270ed8
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=e40f193f5bb022e927a57a4f5d5194e4f12ddb74
Comment 1 GLSAMaker/CVETool Bot gentoo-dev 2013-11-27 21:40:17 UTC
CVE-2013-4592 (http://nvd.nist.gov/nvd.cfm?cvename=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