<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://cve.radiocsirt.org</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Tue, 06 Oct 2026 17:57:18 +0000</lastBuildDate>
    <item>
      <title>CVE-2021-4440 — x86/xen: Drop USERGS_SYSRET64 paravirt call</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2021-4440</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, linux_kernel&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;x86/xen: Drop USERGS_SYSRET64 paravirt call&lt;/p&gt;
&lt;p&gt;commit afd30525a659ac0ae0904f0cb4a2ca75522c3123 upstream.&lt;/p&gt;
&lt;p&gt;USERGS_SYSRET64 is used to return from a syscall via SYSRET, but
a Xen PV guest will nevertheless use the IRET hypercall, as there
is no sysret PV hypercall defined.&lt;/p&gt;
&lt;p&gt;So instead of testing all the prerequisites for doing a sysret and
then mangling the stack for Xen PV again for doing an iret just use
the iret exit from the beginning.&lt;/p&gt;
&lt;p&gt;This can easily be done via an ALTERNATIVE like it is done for the
sysenter compat case already.&lt;/p&gt;
&lt;p&gt;It should be noted that this drops the optimization in Xen for not
restoring a few registers when returning to user mode, but it seems
as if the saved instructions in the kernel more than compensate for
this drop (a kernel build in a Xen PV guest was slightly faster with
this patch applied).&lt;/p&gt;
&lt;p&gt;While at it remove the stale sysret32 remnants.&lt;/p&gt;
&lt;p&gt;[ pawan: Brad Spengler and Salvatore Bonaccorso &amp;lt;carnil@debian.org&amp;gt;
	   reported a problem with the 5.10 backport commit edc702b4a820
	   (&amp;#34;x86/entry_64: Add VERW just before userspace transition&amp;#34;).&lt;/p&gt;
&lt;p&gt;When CONFIG_PARAVIRT_XXL=y, CLEAR_CPU_BUFFERS is not executed in
	   syscall_return_via_sysret path as USERGS_SYSRET64 is runtime
	   patched to:&lt;/p&gt;
&lt;p&gt;.cpu_usergs_sysret64    = { 0x0f, 0x01, 0xf8,
				    0x48, 0x0f, 0x07 }, // swapgs; sysretq&lt;/p&gt;
&lt;p&gt;which is missing CLEAR_CPU_BUFFERS. It turns out dropping
	   USERGS_SYSRET64 simplifies the cod…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, linux_kernel&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;x86/xen: Drop USERGS_SYSRET64 paravirt call&lt;/p&gt;
&lt;p&gt;commit afd30525a659ac0ae0904f0cb4a2ca75522c3123 upstream.&lt;/p&gt;
&lt;p&gt;USERGS_SYSRET64 is used to return from a syscall via SYSRET, but
a Xen PV guest will nevertheless use the IRET hypercall, as there
is no sysret PV hypercall defined.&lt;/p&gt;
&lt;p&gt;So instead of testing all the prerequisites for doing a sysret and
then mangling the stack for Xen PV again for doing an iret just use
the iret exit from the beginning.&lt;/p&gt;
&lt;p&gt;This can easily be done via an ALTERNATIVE like it is done for the
sysenter compat case already.&lt;/p&gt;
&lt;p&gt;It should be noted that this drops the optimization in Xen for not
restoring a few registers when returning to user mode, but it seems
as if the saved instructions in the kernel more than compensate for
this drop (a kernel build in a Xen PV guest was slightly faster with
this patch applied).&lt;/p&gt;
&lt;p&gt;While at it remove the stale sysret32 remnants.&lt;/p&gt;
&lt;p&gt;[ pawan: Brad Spengler and Salvatore Bonaccorso &amp;lt;carnil@debian.org&amp;gt;
	   reported a problem with the 5.10 backport commit edc702b4a820
	   (&amp;#34;x86/entry_64: Add VERW just before userspace transition&amp;#34;).&lt;/p&gt;
&lt;p&gt;When CONFIG_PARAVIRT_XXL=y, CLEAR_CPU_BUFFERS is not executed in
	   syscall_return_via_sysret path as USERGS_SYSRET64 is runtime
	   patched to:&lt;/p&gt;
&lt;p&gt;.cpu_usergs_sysret64    = { 0x0f, 0x01, 0xf8,
				    0x48, 0x0f, 0x07 }, // swapgs; sysretq&lt;/p&gt;
&lt;p&gt;which is missing CLEAR_CPU_BUFFERS. It turns out dropping
	   USERGS_SYSRET64 simplifies the cod…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2021-4440</guid>
    </item>
  </channel>
</rss>
