<?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://vulnerability.circl.lu</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>Mon, 28 Sep 2026 08:07:48 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-50569 — xfrm: Update ipcomp_scratches with NULL when freed</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2022-50569</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;xfrm: Update ipcomp_scratches with NULL when freed&lt;/p&gt;
&lt;p&gt;Currently if ipcomp_alloc_scratches() fails to allocate memory
ipcomp_scratches holds obsolete address. So when we try to free the
percpu scratches using ipcomp_free_scratches() it tries to vfree non
existent vm area. Described below:&lt;/p&gt;
&lt;p&gt;static void * __percpu *ipcomp_alloc_scratches(void)
{
        ...
        scratches = alloc_percpu(void *);
        if (!scratches)
                return NULL;
ipcomp_scratches does not know about this allocation failure.
Therefore holding the old obsolete address.
        ...
}&lt;/p&gt;
&lt;p&gt;So when we free,&lt;/p&gt;
&lt;p&gt;static void ipcomp_free_scratches(void)
{
        ...
        scratches = ipcomp_scratches;
Assigning obsolete address from ipcomp_scratches&lt;/p&gt;
&lt;p&gt;if (!scratches)
                return;&lt;/p&gt;
&lt;p&gt;for_each_possible_cpu(i)
               vfree(*per_cpu_ptr(scratches, i));
Trying to free non existent page, causing warning: trying to vfree
existent vm area.
        ...
}&lt;/p&gt;
&lt;p&gt;Fix this breakage by updating ipcomp_scrtches with NULL when scratches
is freed&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;xfrm: Update ipcomp_scratches with NULL when freed&lt;/p&gt;
&lt;p&gt;Currently if ipcomp_alloc_scratches() fails to allocate memory
ipcomp_scratches holds obsolete address. So when we try to free the
percpu scratches using ipcomp_free_scratches() it tries to vfree non
existent vm area. Described below:&lt;/p&gt;
&lt;p&gt;static void * __percpu *ipcomp_alloc_scratches(void)
{
        ...
        scratches = alloc_percpu(void *);
        if (!scratches)
                return NULL;
ipcomp_scratches does not know about this allocation failure.
Therefore holding the old obsolete address.
        ...
}&lt;/p&gt;
&lt;p&gt;So when we free,&lt;/p&gt;
&lt;p&gt;static void ipcomp_free_scratches(void)
{
        ...
        scratches = ipcomp_scratches;
Assigning obsolete address from ipcomp_scratches&lt;/p&gt;
&lt;p&gt;if (!scratches)
                return;&lt;/p&gt;
&lt;p&gt;for_each_possible_cpu(i)
               vfree(*per_cpu_ptr(scratches, i));
Trying to free non existent page, causing warning: trying to vfree
existent vm area.
        ...
}&lt;/p&gt;
&lt;p&gt;Fix this breakage by updating ipcomp_scrtches with NULL when scratches
is freed&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2022-50569</guid>
    </item>
  </channel>
</rss>
