From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: [PATCH v7 00/22] XSA55 libelf fixes for Xen 4.2 Date: Tue, 11 Jun 2013 19:22:18 +0100 Message-ID: <1370974960-19824-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xensource.com Cc: andrew.cooper3@citrix.com, mattjd@gmail.com, security@xen.org List-Id: xen-devel@lists.xenproject.org This is a backport of my series to try to fix libelf and the domain loader. It corresponds to v7 of the xen-unstable series. This is available via git: http://xenbits.xen.org/gitweb/?p=people/iwj/xen-unstable.git;a=summary git://xenbits.xen.org/people/iwj/xen-unstable.git in the commits xsa55-4.2-base-rebasing..xsa55-4.2-rebasing Here is a summary of the series: 01/21 libelf: abolish libelf-relocate.c 02/21 libxc: introduce xc_dom_seg_to_ptr_pages 03/21 libxc: Fix range checking in xc_dom_pfn_to_ptr etc. 04/21 libelf: add `struct elf_binary*' parameter to elf_load_image 05/21 libelf: abolish elf_sval and elf_access_signed 06/21 libelf: move include of to top of file 07/21 libelf/xc_dom_load_elf_symtab: Do not use "syms" uninitialised 08/21 libxl: introduce macros for memory access and pointer handling 09/21 tools/xcutils/readnotes: adjust print_l1_mfn_valid_note 10/21 libelf: check nul-terminated strings properly 11/21 libxl: check all pointer accesses 12/21 libxl: Check pointer references in elf_is_elfbinary 13/21 libelf: Make all callers call elf_check_broken 14/21 libelf: use C99 bool for booleans 15/21 libelf: use only unsigned integers 16/21 libelf: check loops for running away 17/21 libelf: abolish obsolete macros 18/21 libxc: Add range checking to xc_dom_binloader 19/21 libxc: check failure of xc_dom_*_to_ptr, xc_map_foreign_range 20/21 libxc: check return values from malloc 21/21 libxc: range checks in xc_dom_p2m_host and _guest 22/22 libxc: check blob size before proceeding in xc_dom_check_gzip Please refer to the 00 -unstable message for more information.