Lucene search
+L
Xen ProjectRecent

521 matches found

Xen Project
Xen Project
•added 2017/08/15 12:00 p.m.•407 views

linux: Fix Xen block IO merge-ability calculation

ISSUE DESCRIPTION The block layer in Linux may choose to merge adjacent block IO requests. When Linux is running as a Xen guest, the default merging algorithm is replaced with a Xen-specific one. When Linux is running as an x86 PV guest, some BIO's are erroneously merged, corrupting the data stre...

8.8CVSS0.3AI score0.00497EPSS
SaveExploits0
Xen Project
Xen Project
•added 2017/08/15 12:00 p.m.•347 views

x86: PV privilege escalation via map_grant_ref

ISSUE DESCRIPTION When mapping a grant reference, a guest must inform Xen of where it would like the grant mapped. For PV guests, this is done by nominating an existing linear address, or an L1 pagetable entry, to be altered. Neither of these PV paths check for alignment of the passed parameter...

8.8CVSS6.9AI score0.00437EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2017/08/15 12:00 p.m.•376 views

grant_table: possibly premature clearing of GTF_writing / GTF_reading

ISSUE DESCRIPTION Xen maintains the GTFread,writing bits as appropriate, to inform the guest that a grant is in use. A guest is expected not to modify the grant details while it is in use, whereas the guest is free to modify/reuse the grant entry when it is not in use. Under some circumstances, X...

6.5CVSS0.9AI score0.00398EPSS
SaveExploits0
Xen Project
Xen Project
•added 2017/08/15 12:00 p.m.•378 views

multiple problems with transitive grants

ISSUE DESCRIPTION 1 Code to handle copy operations on transitive grants has built in retry logic, involving a function reinvoking itself with unchanged parameters. Such use assumes that the compiler would also translate this to a so called "tail call" when generating machine code. Empirically, th...

8.8CVSS0.5AI score0.00452EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2017/06/20 12:00 p.m.•61 views

x86: PKRU and BND* leakage between vCPU-s

ISSUE DESCRIPTION Memory Protection Extensions MPX and Protection Key PKU are features in newer processors, whose state is intended to be per-thread and context switched along with all other XSAVE state. Xen's vCPU context switch code would save and restore the state only if the guest had set the...

7.5CVSS8AI score0.01349EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2017/06/20 12:00 p.m.•72 views

Races in the grant table unmap code

ISSUE DESCRIPTION We have discovered two bugs in the code unmapping grant references. When a grant had been mapped twice by a backend domain, and then unmapped by two concurrent unmap calls, the frontend may be informed that the page had no further mappings when the first call completed rather th...

9.8CVSS0.4AI score0.02815EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2017/06/20 12:00 p.m.•84 views

grant table operations mishandle reference counts

ISSUE DESCRIPTION We have discovered a number of bugs in the code mapping and unmapping grant references. If a grant is mapped with both the GNTMAPdevicemap and GNTMAPhostmap flags, but unmapped only with hostmap, the devicemap portion remains but the page reference counts are lowered as though i...

10CVSS0.5AI score0.02549EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2017/06/20 12:00 p.m.•70 views

NULL pointer deref in event channel poll

ISSUE DESCRIPTION When polling event channels, in general arbitrary port numbers can be specified. Specifically, there is no requirement that a polled event channel ports has ever been created. When the code was generalised from an earlier implementation, introducing some intermediate pointers, a...

9.4CVSS3.4AI score0.02567EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2017/06/20 12:00 p.m.•49 views

x86: insufficient reference counts during shadow emulation

ISSUE DESCRIPTION When using shadow paging, writes to guest pagetables must be trapped and emulated, so the shadows can be suitably adjusted as well. When emulating the write, Xen maps the guests pagetables to make the final adjustment and leave the guest's view of its state consistent. However,...

9CVSS7.1AI score0.01669EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2017/06/20 12:00 p.m.•100 views

blkif responses leak backend stack data

ISSUE DESCRIPTION The block interface response structure has some discontiguous fields. Certain backends populate the structure fields of an otherwise uninitialized instance of this structure on their stacks, leaking data through the internal or trailing padding field. IMPACT A malicious...

6.5CVSS1.4AI score0.00462EPSS
SaveExploits0
Xen Project
Xen Project
•added 2017/06/20 12:00 p.m.•66 views

page transfer may allow PV guest to elevate privilege

ISSUE DESCRIPTION Domains controlling other domains are permitted to map pages owned by the domain being controlled. If the controlling domain unmaps such a page without flushing the TLB, and if soon after the domain being controlled transfers this page to another PV domain via GNTTABOPtransfer o...

10CVSS7.1AI score0.02668EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2017/06/20 12:00 p.m.•62 views

ARM guest disabling interrupt may crash Xen

ISSUE DESCRIPTION Virtual interrupt injection could be triggered by a guest when sending an SGI e.g IPI to any vCPU or by configuring timers. When the virtual interrupt is masked, a missing check in the injection path may result in reading invalid hardware register or crashing the host. IMPACT A...

6.5CVSS2.1AI score0.019EPSS
SaveExploits0
Xen Project
Xen Project
•added 2017/06/20 12:00 p.m.•75 views

arm: vgic: Out-of-bound access when sending SGIs

ISSUE DESCRIPTION ARM guests can send SGI i.e. IPI targeting a list of vCPUs using the MMIO register GICDSGIR GICv2 or System Register ICCSGI1R GICv3. However, the emulation code does not sanitize the list and will directly access an array without checking whether the array index is within bounds...

6.5CVSS2.4AI score0.01804EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2017/06/20 12:00 p.m.•69 views

stale P2M mappings due to insufficient error checking

ISSUE DESCRIPTION Certain actions require removing pages from a guest's P2M Physical-to-Machine mapping. When large pages are in use to map guest pages in the 2nd-stage page tables, such a removal operation may incur a memory allocation to replace a large mapping with individual smaller ones. If...

10CVSS0.3AI score0.0367EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2017/05/02 12:00 p.m.•77 views

possible memory corruption via failsafe callback

ISSUE DESCRIPTION Under certain special conditions Xen reports an exception resulting from returning to guest mode not via ordinary exception entry points, but via a so call failsafe callback. This callback, unlike exception handlers, takes 4 extra arguments on the stack the saved data selectors...

8.8CVSS1.7AI score0.00421EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2017/05/02 12:00 p.m.•98 views

grant transfer allows PV guest to elevate privileges

ISSUE DESCRIPTION The GNTTABOPtransfer operation allows one guest to transfer a page to another guest. The internal processing of this, however, does not include zapping the previous type of the page being transferred. This makes it possible for a PV guest to transfer a page previously used as pa...

8.8CVSS1.4AI score0.00421EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2017/05/02 12:00 p.m.•82 views

x86: 64bit PV guest breakout via pagetable use-after-mode-change

ISSUE DESCRIPTION 64-bit PV guests typically use separate root page tables for their kernel and user modes. Hypercalls are accessible to guest kernel context only, which certain hypercall handlers make assumptions on. The IRET hypercall replacing the identically name CPU instruction is used by...

8.8CVSS6.7AI score0.0049EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2017/04/04 12:00 p.m.•85 views

x86: broken check in memory_exchange() permits PV guest breakout

ISSUE DESCRIPTION The XSA-29 fix introduced an insufficient check on XENMEMexchange input, allowing the caller to drive hypervisor memory accesses outside of the guest provided input/output arrays. IMPACT A malicious or buggy 64-bit PV guest may be able to access all of system memory, allowing fo...

8.2CVSS1.3AI score0.01569EPSS
SaveExploits3Affected Software1
Xen Project
Xen Project
•added 2017/03/28 12:00 p.m.•57 views

xenstore denial of service via repeated update

ISSUE DESCRIPTION xenstored supports transactions, such that if writes which would invalidate assumptions of a transaction occur, the entire transaction fails. Typical response on a failed transaction is to simply retry the transaction until it succeeds. Unprivileged domains may issue writes to...

2.8AI score
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2017/03/14 12:00 p.m.•123 views

Cirrus VGA Heap overflow via display refresh

ISSUE DESCRIPTION When a graphics update command gets passed to the VGA emulator, there are 3 possible modes that can be used to update the display: blank - Clears the display text - Treats the display as showing text graph - Treats the display as showing graphics After the display geometry gets...

9.9CVSS7.6AI score0.04448EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2017/02/23 4:28 p.m.•49 views

arm: memory corruption when freeing p2m pages

ISSUE DESCRIPTION When freeing pages used for stage-2 page tables, the freeing routine failed to remove these pages from an internally managed list they were put on during allocation. The same list node elements are also used by the hypervisor's page allocator. Subsequent manipulation of ARM's...

2.2AI score
SaveExploits0
Xen Project
Xen Project
•added 2017/02/21 12:00 p.m.•98 views

cirrus_bitblt_cputovideo does not check if memory region is safe

ISSUE DESCRIPTION In CIRRUSBLTMODEMEMSYSSRC mode the bitblit copy routine cirrusbitbltcputovideo fails to check wethehr the specified memory region is safe. IMPACT A malicious guest administrator can cause an out of bounds memory write, very likely exploitable as a privilege escalation. VULNERABL...

9.9CVSS2.5AI score0.03559EPSS
SaveExploits0
Xen Project
Xen Project
•added 2017/02/15 12:00 p.m.•55 views

memory leak when destroying guest without PT devices

ISSUE DESCRIPTION Certain internal state is set up, during domain construction, in preparation for possible pass-through device assignment. On ARM and AMD V-i hardware this setup includes memory allocation. On guest teardown, cleanup was erroneously only performed when the guest actually had a...

0.6AI score
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2017/02/10 12:43 p.m.•156 views

oob access in cirrus bitblt copy

ISSUE DESCRIPTION When doing bitblt copy backwards, qemu should negate the blit width. This avoids an oob access before the start of video memory. IMPACT A malicious guest administrator can cause an out of bounds memory access, leading to information disclosure or privilege escalation. VULNERABLE...

9.1CVSS2.1AI score0.03575EPSS
SaveExploits0
Xen Project
Xen Project
•added 2016/12/21 12:00 p.m.•86 views

x86: missing NULL pointer check in VMFUNC emulation

ISSUE DESCRIPTION When support for the Intel VMX VMFUNC leaf 0 was added, a new optional function pointer hvmemulvmfunc was added to the hvmemulateops table. As is intended, that new function pointer is NULL on non-VMX hardware, including AMD SVM hardware. However at a call site, the necessary NU...

5.5CVSS0.8AI score0.00451EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2016/12/21 12:00 p.m.•81 views

x86 PV guests may be able to mask interrupts

ISSUE DESCRIPTION Certain PV guest kernel operations page table writes in particular need emulation, and use Xen's general x86 instruction emulator. This allows a malicious guest kernel which asynchronously modifies its instruction stream to effect the clearing of EFLAGS.IF from the state used to...

6CVSS0.3AI score0.0043EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2016/12/19 3:37 p.m.•81 views

x86: Mishandling of SYSCALL singlestep during emulation

ISSUE DESCRIPTION The typical behaviour of singlestepping exceptions is determined at the start of the instruction, with a DB trap being raised at the end of the instruction. SYSCALL and SYSRET, although we don't implement it behave differently because the typical behaviour allows userspace to...

7.8CVSS0.9AI score0.00424EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2016/12/13 12:00 p.m.•70 views

x86 CMPXCHG8B emulation fails to ignore operand size override

ISSUE DESCRIPTION The x86 instruction CMPXCHG8B is supposed to ignore legacy operand size overrides; it only honors the REX.W override making it CMPXCHG16B. So, the operand size is always 8 or 16. When support for CMPXCHG16B emulation was added to the instruction emulator, this restriction on the...

3.3CVSS0.7AI score0.00421EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2016/12/06 12:00 p.m.•83 views

qemu ioport array overflow

ISSUE DESCRIPTION The code in qemu which implements ioport read/write looks up the specified ioport address in a dispatch table. The argument to the dispatch function is a uint32t, and is used without a range check, even though the table has entries for only 2^16 ioports. When qemu is used as a...

7.5CVSS0.00364EPSS
SaveExploits0
Xen Project
Xen Project
•added 2016/11/29 2:48 p.m.•98 views

ARM guests may induce host asynchronous abort

ISSUE DESCRIPTION Depending on how the hardware and firmware have been integrated, guest-triggered asynchronous aborts SError on ARMv8 may be received by the hypervisor. The current action is to crash the host. A guest might trigger an asynchronous abort when accessing memory mapped hardware in a...

6.5CVSS0.3AI score0.00471EPSS
SaveExploits0
Xen Project
Xen Project
•added 2016/11/22 12:00 p.m.•88 views

guest 32-bit ELF symbol table load leaking host data

ISSUE DESCRIPTION Along with their main kernel binary, unprivileged guests may arrange to have their Xen environment load kernel symbol tables for their use. The ELF image metadata created for this purpose has a few unused bytes when the symbol table binary is in 32-bit ELF format. These unused...

6.5CVSS0.9AI score0.00386EPSS
SaveExploits0
Xen Project
Xen Project
•added 2016/11/22 12:00 p.m.•72 views

qemu incautious about shared ring processing

ISSUE DESCRIPTION The compiler can emit optimizations in qemu which can lead to double fetch vulnerabilities. Specifically data on the rings shared between qemu and the hypervisor which the guest under control can obtain mappings of can be fetched twice during which time the guest can alter the...

7.5CVSS2.3AI score0.00292EPSS
SaveExploits0
Xen Project
Xen Project
•added 2016/11/22 12:00 p.m.•105 views

x86 segment base write emulation lacking canonical address checks

ISSUE DESCRIPTION Both writes to the FS and GS register base MSRs as well as the WRFSBASE and WRGSBASE instructions require their input values to be canonical, or a GP fault will be raised. When the use of those instructions by the hypervisor was enabled, the previous guard against GP faults havi...

6CVSS2.1AI score0.00428EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2016/11/22 12:00 p.m.•94 views

x86 task switch to VM86 mode mis-handled

ISSUE DESCRIPTION LDTR, just like TR, is purely a protected mode facility. Hence even when switching to a VM86 mode task, LDTR loading needs to follow protected mode semantics. This was violated by the code. IMPACT On SVM AMD hardware: a malicious unprivileged guest process can escalate its...

7.8CVSS1.4AI score0.00448EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2016/11/22 12:00 p.m.•67 views

x86 software interrupt injection mis-handled

ISSUE DESCRIPTION There are two closely-related bugs. When Xen emulates instructions which generate software interrupts it needs to perform a privilege check involving an IDT lookup. This check is sometimes erroneously conducted as if the IDT had the format for a 32-bit guest, when in fact it is ...

5.5CVSS0.4AI score0.0039EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2016/11/22 12:00 p.m.•84 views

delimiter injection vulnerabilities in pygrub

ISSUE DESCRIPTION pygrub, the boot loader emulator, fails to quote or sanity check its results when reporting them to its caller. pygrub supports a number of output formats. When the S-expression output format is requested, putting string quotes and S-expressions in the bootloader configuration...

7.9CVSS7.5AI score0.00437EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2016/11/22 12:00 p.m.•57 views

x86 64-bit bit test instruction emulation broken

ISSUE DESCRIPTION The x86 instructions BT, BTC, BTR, and BTS, when used with a destination memory operand and a source register rather than an immediate operand, access a memory location offset from that specified by the memory operand as specified by the high bits of the register source. When Xe...

8.8CVSS0.9AI score0.00505EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2016/11/22 12:00 p.m.•87 views

x86 null segments not always treated as unusable

ISSUE DESCRIPTION The Xen x86 emulator erroneously failed to consider the unusability of segments when performing memory accesses. The intended behaviour is as follows: The user data segment %ds, %es, %fs and %gs selectors may be NULL in 32-bit to prevent access. In 64-bit, NULL has a special...

7.8CVSS0.6AI score0.00446EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2016/10/04 12:00 p.m.•62 views

CR0.TS and CR0.EM not always honored for x86 HVM guests

ISSUE DESCRIPTION Instructions touching FPU, MMX, or XMM registers are required to raise a Device Not Available Exception NM when either CR0.EM or CR0.TS are set. Their AVX or AVX-512 extensions would consider only CR0.TS. While during normal operation this is ensured by the hardware, if a guest...

6.3CVSS0.8AI score0.00303EPSS
SaveExploits0
Xen Project
Xen Project
•added 2016/09/08 12:00 p.m.•58 views

x86: Disallow L3 recursive pagetable for 32-bit PV guests

ISSUE DESCRIPTION On real hardware, a 32-bit PAE guest must leave the USER and RW bit clear in L3 pagetable entries, but the pagetable walk behaves as if they were set. The L3 entries are cached in processor registers, and don't actually form part of the pagewalk. When running a 32-bit PV guest o...

8.2CVSS0.2AI score0.00402EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2016/09/08 12:00 p.m.•72 views

x86: Mishandling of instruction pointer truncation during emulation

ISSUE DESCRIPTION When emulating HVM instructions, Xen uses a small i-cache for fetches from guest memory. The code that handles cache misses does not check if the address from which it fetched lies within the cache before blindly writing to it. As such it is possible for the guest to overwrite...

8.2CVSS0.6AI score0.00425EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2016/09/08 12:00 p.m.•64 views

use after free in FIFO event channel code

ISSUE DESCRIPTION When the EVTCHNOPinitcontrol operation is called with a bad guest frame number, it takes an error path which frees a control structure without also clearing the corresponding pointer. Certain subsequent operations EVTCHNOPexpandarray or another EVTCHNOPinitcontrol, upon finding...

7.2CVSS1.8AI score0.00502EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2016/09/08 12:00 p.m.•72 views

x86 HVM: Overflow of sh_ctxt->seg_reg[]

ISSUE DESCRIPTION x86 HVM guests running with shadow paging use a subset of the x86 emulator to handle the guest writing to its own pagetables. There are situations a guest can provoke which result in exceeding the space allocated for internal state. IMPACT A malicious HVM guest administrator can...

4.1CVSS0.00392EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2016/07/27 3:00 p.m.•93 views

virtio: unbounded memory allocation issue

ISSUE DESCRIPTION A guest can submit virtio requests without bothering to wait for completion and is therefore not bound by virtqueue size. This requires reusing vring descriptors in more than one request, which is incorrect but possible. Processing a request allocates a VirtQueueElement and...

5.5CVSS0.5AI score0.0052EPSS
SaveExploits0
Xen Project
Xen Project
•added 2016/07/26 12:00 p.m.•88 views

x86: Privilege escalation in PV guests

ISSUE DESCRIPTION The PV pagetable code has fast-paths for making updates to pre-existing pagetable entries, to skip expensive re-validation in safe cases e.g. clearing only Access/Dirty bits. The bits considered safe were too broad, and not actually safe. IMPACT A malicous PV guest administrator...

8.8CVSS1AI score0.004EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2016/07/26 12:00 p.m.•64 views

x86: Missing SMAP whitelisting in 32-bit exception / event delivery

ISSUE DESCRIPTION Supervisor Mode Access Prevention is a hardware feature designed to make an Operating System more robust, by raising a pagefault rather than accidentally following a pointer into userspace. However, legitimate accesses into userspace require whitelisting, and the exception...

6.2CVSS6.2AI score0.00639EPSS
SaveExploits0
Xen Project
Xen Project
•added 2016/06/03 9:47 a.m.•73 views

arm: Host crash caused by VMID exhaustion

ISSUE DESCRIPTION VMIDs are a finite hardware resource, and allocated as part of domain creation. If no free VMIDs are available when trying to create a new domain, a bug in the error path causes a NULL pointer to be used, resulting in a Data Abort and host crash. IMPACT Attempting to create too...

5.6CVSS1.8AI score0.00342EPSS
SaveExploits0Affected Software1
Xen Project
Xen Project
•added 2016/06/02 12:00 p.m.•75 views

Unsanitised driver domain input in libxl device handling

ISSUE DESCRIPTION libxl's device-handling code freely uses and trusts information from the backend directories in xenstore. The backend domain driver domain can store bogus data in the backend, causing libxl's enquiry functions to fail, confusing management tools. A driver domain can also remove...

4.7CVSS1.6AI score0.00297EPSS
SaveExploits0
Xen Project
Xen Project
•added 2016/06/02 12:00 p.m.•96 views

Unsanitised guest input in libxl device handling code

ISSUE DESCRIPTION Various parts of libxl device-handling code inappropriately use information from partially guest controlled areas of xenstore principally the frontend directory /local/domain/GUEST/device/TYPE/DEVID, henceforth referred to as FE. The problems vary by device type: For almost all...

6.8CVSS0.5AI score0.00399EPSS
SaveExploits0
Xen Project
Xen Project
•added 2016/05/23 5:09 p.m.•77 views

Unrestricted qemu logging

ISSUE DESCRIPTION When the libxl toolstack launches qemu for HVM guests, it pipes the output of stderr to a file in /var/log/xen. This output is not rate-limited in any way. The guest can easily cause qemu to print messages to stderr, causing this file to become arbitrarily large. IMPACT The disk...

6.5CVSS6.6AI score0.00491EPSS
SaveExploits0Affected Software1
Total number of security vulnerabilities521