Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 445254 - <app-emulation/xen-4.2.1: Multiple vulnerabilities (CVE-2012-{3494,3495,3496,3497,3498,3515,4411,4535,4536,4537,4538,4539,6030,6031,6032,6033,6034,6035,6036})
Summary: <app-emulation/xen-4.2.1: Multiple vulnerabilities (CVE-2012-{3494,3495,3496,...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Security
URL:
Whiteboard: B1 [glsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-29 20:57 UTC by GLSAMaker/CVETool Bot
Modified: 2016-04-05 06:59 UTC (History)
1 user (show)

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


Attachments
XSA-15 commit log (xsa15_log.txt,7.75 KB, text/plain)
2014-06-11 02:45 UTC, Yixun Lan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description GLSAMaker/CVETool Bot gentoo-dev 2012-11-29 20:57:34 UTC
CVE-2012-6036 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-6036):
  The (1) memc_save_get_next_page, (2) tmemc_restore_put_page and (3)
  tmemc_restore_flush_page functions in the Transcendent Memory (TMEM) in Xen
  4.0, 4.1, and 4.2 do not check for negative id pools, which allows local
  guest OS users to cause a denial of service (memory corruption and host
  crash) or possibly execute arbitrary code via unspecified vectors.  NOTE:
  this issue was originally published as part of CVE-2012-3497, which was too
  general; CVE-2012-3497 has been SPLIT into this ID and others.

CVE-2012-6035 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-6035):
  The do_tmem_destroy_pool function in the Transcendent Memory (TMEM) in Xen
  4.0, 4.1, and 4.2 does not properly validate pool ids, which allows local
  guest OS users to cause a denial of service (memory corruption and host
  crash) or execute arbitrary code via unspecified vectors.  NOTE: this issue
  was originally published as part of CVE-2012-3497, which was too general;
  CVE-2012-3497 has been SPLIT into this ID and others.

CVE-2012-6034 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-6034):
  The (1) tmemc_save_get_next_page and (2) tmemc_save_get_next_inv functions
  and the (3) TMEMC_SAVE_GET_POOL_UUID sub-operation in the Transcendent
  Memory (TMEM) in Xen 4.0, 4.1, and 4.2 "do not check incoming guest output
  buffer pointers," which allows local guest OS users to cause a denial of
  service (memory corruption and host crash) or execute arbitrary code via
  unspecified vectors.  NOTE: this issue was originally published as part of
  CVE-2012-3497, which was too general; CVE-2012-3497 has been SPLIT into this
  ID and others.

CVE-2012-6033 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-6033):
  The do_tmem_control function in the Transcendent Memory (TMEM) in Xen 4.0,
  4.1, and 4.2 does not properly check privileges, which allows local guest OS
  users to access control stack operations via unspecified vectors.  NOTE:
  this issue was originally published as part of CVE-2012-3497, which was too
  general; CVE-2012-3497 has been SPLIT into this ID and others.

CVE-2012-6032 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-6032):
  Multiple integer overflows in the (1) tmh_copy_from_client and (2)
  tmh_copy_to_client functions in the Transcendent Memory (TMEM) in Xen 4.0,
  4.1, and 4.2 allow local guest OS users to cause a denial of service (memory
  corruption and host crash) via unspecified vectors. NOTE: this issue was
  originally published as part of CVE-2012-3497, which was too general;
  CVE-2012-3497 has been SPLIT into this ID and others.

CVE-2012-6031 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-6031):
  The do_tmem_get function in the Transcendent Memory (TMEM) in Xen 4.0, 4.1,
  and 4.2 allow local guest OS users to cause a denial of service (CPU hang
  and host crash) via unspecified vectors related to a spinlock being held in
  the "bad_copy error path." NOTE: this issue was originally published as part
  of CVE-2012-3497, which was too general; CVE-2012-3497 has been SPLIT into
  this ID and others.

CVE-2012-6030 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-6030):
  The do_tmem_op function in the Transcendent Memory (TMEM) in Xen 4.0, 4.1,
  and 4.2 allow local guest OS users to cause a denial of service (host crash)
  and possibly have other unspecified impacts via unspecified vectors related
  to "broken locking checks" in an "error path." NOTE: this issue was
  originally published as part of CVE-2012-3497, which was too general;
  CVE-2012-3497 has been SPLIT into this ID and others.

CVE-2012-4539 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4539):
  Xen 4.0 through 4.2, when running 32-bit x86 PV guests on 64-bit
  hypervisors, allows local guest OS administrators to cause a denial of
  service (infinite loop and hang or crash) via invalid arguments to
  GNTTABOP_get_status_frames, aka "Grant table hypercall infinite loop DoS
  vulnerability."

CVE-2012-4538 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4538):
  The HVMOP_pagetable_dying hypercall in Xen 4.0, 4.1, and 4.2 does not
  properly check the pagetable state when running on shadow pagetables, which
  allows a local HVM guest OS to cause a denial of service (hypervisor crash)
  via unspecified vectors.

CVE-2012-4537 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4537):
  Xen 3.4 through 4.2, and possibly earlier versions, does not properly
  synchronize the p2m and m2p tables when the set_p2m_entry function fails,
  which allows local HVM guest OS administrators to cause a denial of service
  (memory consumption and assertion failure), aka "Memory mapping failure DoS
  vulnerability."

CVE-2012-4536 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4536):
  The (1) domain_pirq_to_emuirq and (2) physdev_unmap_pirq functions in Xen
  2.2 allows local guest OS administrators to cause a denial of service (Xen
  crash) via a crafted pirq value that triggers an out-of-bounds read.

CVE-2012-4535 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4535):
  Xen 3.4 through 4.2, and possibly earlier versions, allows local guest OS
  administrators to cause a denial of service (Xen infinite loop and physical
  CPU consumption) by setting a VCPU with an "inappropriate deadline."

CVE-2012-4411 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4411):
  The graphical console in Xen 4.0, 4.1 and 4.2 allows local OS guest
  administrators to obtain sensitive host resource information via the qemu
  monitor.  NOTE: this might be a duplicate of CVE-2007-0998.

CVE-2012-3515 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-3515):
  Qemu, as used in Xen 4.0, 4.1 and possibly other products, when emulating
  certain devices with a virtual console backend, allows local OS guest users
  to gain privileges via a crafted escape VT100 sequence that triggers the
  overwrite of a "device model's address space."

CVE-2012-3498 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-3498):
  PHYSDEVOP_map_pirq in Xen 4.1 and 4.2 and Citrix XenServer 6.0.2 and earlier
  allows local HVM guest OS kernels to cause a denial of service (host crash)
  and possibly read hypervisor or guest memory via vectors related to a
  missing range check of map->index.

CVE-2012-3497 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-3497):
  (1) TMEMC_SAVE_GET_CLIENT_WEIGHT, (2) TMEMC_SAVE_GET_CLIENT_CAP, (3)
  TMEMC_SAVE_GET_CLIENT_FLAGS and (4) TMEMC_SAVE_END in the Transcendent
  Memory (TMEM) in Xen 4.0, 4.1, and 4.2 allow local guest OS users to cause a
  denial of service (NULL pointer dereference or memory corruption and host
  crash) or possibly have other unspecified impacts via a NULL client id.

CVE-2012-3496 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-3496):
  XENMEM_populate_physmap in Xen 4.0, 4.1, and 4.2, and Citrix XenServer 6.0.2
  and earlier, when translating paging mode is not used, allows local PV OS
  guest kernels to cause a denial of service (BUG triggered and host crash)
  via invalid flags such as MEMF_populate_on_demand.

CVE-2012-3495 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-3495):
  The physdev_get_free_pirq hypercall in arch/x86/physdev.c in Xen 4.1.x and
  Citrix XenServer 6.0.2 and earlier uses the return value of the
  get_free_pirq function as an array index without checking that the return
  value indicates an error, which allows guest OS users to cause a denial of
  service (invalid memory write and host crash) and possibly gain privileges
  via unspecified vectors.

CVE-2012-3494 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-3494):
  The set_debugreg hypercall in include/asm-x86/debugreg.h in Xen 4.0, 4.1,
  and 4.2, and Citrix XenServer 6.0.2 and earlier, when running on x86-64
  systems, allows local OS guest users to cause a denial of service (host
  crash) by writing to the reserved bits of the DR7 debug control register.


Fixed in upstream patches: CVE-2012-{3494,3495,3496,3498,3515,4411,4535,4536,4537,4538,4539}

Not yet fixed upstream: CVE-2012-{3497,6030,6031,6032,6033,6034,6035,6036}
Comment 1 Yixun Lan archtester gentoo-dev 2014-06-11 02:45:07 UTC
Created attachment 378664 [details]
XSA-15 commit log

Quote:
Fixed in upstream patches: CVE-2012-{3494,3495,3496,3498,3515,4411,4535,4536,4537,4538,4539}

for those already fixed (has patches) in upstream, I've surely they already included in our ebuilds,
current in tree version: 
 xen-4.2.4-r2  xen-4.3.2-r2  xen-4.4.0-r3
 xen-tools-4.2.4-r2 xen-tools-4.3.2-r2 xen-tools-4.4.0-r5

Quote:
Not yet fixed upstream: CVE-2012-{3497,6030,6031,6032,6033,6034,6035,6036}

this is XSA-15, and already fixed in >=xen-4.2.1, see attached commit log for detail info.
Comment 2 Aaron Bauman (RETIRED) gentoo-dev 2016-03-12 11:00:18 UTC
Added to existing GLSA.
Comment 3 GLSAMaker/CVETool Bot gentoo-dev 2016-04-05 06:59:50 UTC
This issue was resolved and addressed in
 GLSA 201604-03 at https://security.gentoo.org/glsa/201604-03
by GLSA coordinator Yury German (BlueKnight).