From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: [PATCH v6 00/22] XSA55 libelf fixes for Xen 4.2 Date: Fri, 7 Jun 2013 19:35:09 +0100 Message-ID: <1370630131-7306-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 v6 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 state of series: a 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. A 04/21 libelf: add `struct elf_binary*' parameter to elf_load_image a 05/21 libelf: abolish elf_sval and elf_access_signed A 06/21 libelf: move include of to top of file a 07/21 libelf/xc_dom_load_elf_symtab: Do not use "syms" uninitialised 08/21 libxl: introduce macros for memory access and pointer handling a 09/21 tools/xcutils/readnotes: adjust print_l1_mfn_valid_note A 10/21 libelf: check nul-terminated strings properly 11/21 libxl: check all pointer accesses A 12/21 libxl: Check pointer references in elf_is_elfbinary a# 13/21 libelf: Make all callers call elf_check_broken a 14/21 libelf: use C99 bool for booleans 15/21 libelf: use only unsigned integers 16/21 libelf: check loops for running away a 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 Key to symbols: a Acked/reviwed by one reviewer. } Refers to acks of A Acked/reviwed by more than one reviewer. } -unstable series. # Nontrivial differences between series for -unstable and 4.2. Please refer to the v6 00/22 -unstable message for more information.