[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] x86/mem_sharing: fix uninitialized 'preempted' variable


  • To: Tamas K Lengyel <tamas@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Mon, 18 Jan 2021 17:25:30 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sDoyoagrww/FWo5trHHJP/vUj5Q13LqYtH0JoFDQQuY=; b=U5grQD/j2UQGAamdeEepteXJEf3vptwfHCXKkv20Xm2PjniCL1V7CHM07K6YrfmrQjp2nQzCT9j5uZTSZmzZ+QUOgGPXug7+wxi/ozSrF14rkT1e8zz4K75Ezfsu2YAzIJRafAeGj3q8Fq9nXBO5GlQHhVtjyMweEaMScZ8o5QC59vF8TtwDM28zI1qdhGNRfwnBk+wwyaZZ52Vs2e+6DKbgWmsnaJ3bHiZ0S2I3hh1m3v/7yq+f731lZdnz+B9i5VVB6KSiM558Y3U8RjIcyPVkkw64diG7HibRW3ZPcDlKzF409yWGDU9sLWKVBXq+2IDGDDyRRE/oz0n/PYSU8A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AHAUXPw1zv/IEv/x8uCoDR3eH+gt4zGwFcZXPggbbhK4fEjuRU62UAD1YBjg68To6E023jgNlMWb4IuHKIYlyz8WJpPw1d22I1ffYo5bVDRj3rLbw4zAmkCfZU2/YHmSBlzWtsvb0A5lUF1v382efj9oIEtIITf993PcSwNDTgc71orPqrfgKZvuDF4DFndQB3QjEBjJQxhB0k6SMKjvhTiJcI9yA6UP+OEkfHiekI5q9hZY2YSojwiqXtRUo/smPLOFbf9zTAuz/QNCm+DMAnO4rvdUi4FDotUgDuu0qIxkodb7p6mP6UkpV1jmW/ePCBFke3KwtmX6XyY9mCcXZg==
  • Authentication-results: esa1.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: Jan Beulich <jbeulich@xxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Mon, 18 Jan 2021 17:25:45 +0000
  • Ironport-sdr: jwDqrmhLei65WFcdCm3MWIarvndBwb5GVCdhzWzDpsBmt1g7ts7W2GW590bEA7BUpbWIHFchzR 6PSAhIq/JnXaFgssWXoUQWEq8cqNH20Qt9txowgHrGQRuwPhvz0HnSHBxlFnacqucDF885CJ7Z 0LLGYjZFdaODbAeGlXOgfdDiuuF6Rn4vFJHtd1BSUHkMmP+15FYqUyLwMqrYSMssQIohrn2ksu 98ti58wADL9q60kW/evgWrbiMVGCSqMwfcW7LytoB2mcGerGsZ2JnlyPuBNPK+q48bE9tNxvO5 NBw=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 18/01/2021 17:23, Tamas K Lengyel wrote:
> UBSAN catches an uninitialized use of the 'preempted' variable in
> fork_hap_allocation when there is no preemption.

Fixes: 41548c5472a ("mem_sharing: VM forking")

> Signed-off-by: Tamas K Lengyel <tamas@xxxxxxxxxxxxx>

Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.