[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH v2] xen/sched: don't let XEN_RUNSTATE_UPDATE leak into vcpu_runstate_get()
- To: Juergen Gross <JGross@xxxxxxxx>
- From: Jan Beulich <JBeulich@xxxxxxxx>
- Date: Wed, 25 Sep 2019 06:08:29 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.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=4onE2qZWetvF1RgzihneNNPw2jPuxX3acVvoZ9w6Nus=; b=g5zQADL801paQzTqb/QxogvZeXBs4Gc0sIL5NqD4A3UcXTME4954fboOhhirMoQaOa0iacuuzxOpUd7Pb2N1uXPVdVxt6oavzh7ATqzvuGOFwX+qEfVAuBlXZ9H64cBdCZa5PX0CD4tA8SxsWiZshTc+0DbtMlVItTnOfHqcqhiHw/8UYxxqDGdoUmxa0MXLnmb6c1Slxyk43qGRNFAsYLt1UPPvWn6UX8yFdAxf1u102JQ9kD4Ev8y9nA4OXlCYL96u5WNMTvgIbICdVYiPumkgY7dPZwjbSwM3117rN9kzjfbbfvJAnO/wGHzNJivrF8Y5LHslKzXBSQ2VlNY5LA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kGw2bnNfwls7sbFmbYaYfTlXjTGPHJ4ILqCQl2a43ZX29hCZqGn/JPfZjZ1+yAFRuennIgGnT+k1UJcAxpQUYySkq9YNQznvCNABJ/0Hth5p1FFAixphc7qr7BxT5xdP8BLa2nsQjLJKASmS+3m0t+tNtSZHPPPQjEiqH4Dbmofs+paZfZn+nB7THYICSTsVY+lFNIvU4MjGtbkCiZ0xwALZRzOEPUUXNDgowJFvQzmjnk+BwB3nHbte+pQdjIpMmhxtEEPxALL44YtkfSkccIeNn/B8Q1JJHt2XjSOpNnCDYlTvybQQMk5b8NiBuWhnJExMwajbcoQG+Pm8gyGdJg==
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=JBeulich@xxxxxxxx;
- Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Julien Grall <julien.grall@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
- Delivery-date: Wed, 25 Sep 2019 06:09:30 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHVc1ndKdrgVRDze0yWaCsselS36ac76JMA
- Thread-topic: [PATCH v2] xen/sched: don't let XEN_RUNSTATE_UPDATE leak into vcpu_runstate_get()
On 25.09.2019 06:29, Juergen Gross wrote:
> vcpu_runstate_get() should never return a state entry time with
> XEN_RUNSTATE_UPDATE set. To avoid this let update_runstate_area()
> operate on a local runstate copy.
>
> This problem was introduced with commit 2529c850ea48f036 ("add update
> indicator to vcpu_runstate_info").
>
> Reported-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
Once again
Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|