<?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>Wed, 30 Sep 2026 01:26:51 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-50422 — scsi: libsas: Fix use-after-free bug in smp_execute_task_sg()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2022-50422</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;scsi: libsas: Fix use-after-free bug in smp_execute_task_sg()&lt;/p&gt;
&lt;p&gt;When executing SMP task failed, the smp_execute_task_sg() calls del_timer()
to delete &amp;#34;slow_task-&amp;gt;timer&amp;#34;. However, if the timer handler
sas_task_internal_timedout() is running, the del_timer() in
smp_execute_task_sg() will not stop it and a UAF will happen. The process
is shown below:&lt;/p&gt;
&lt;p&gt;(thread 1)               |        (thread 2)
smp_execute_task_sg()          | sas_task_internal_timedout()
 ...                           |
 del_timer()                   |
 ...                           |  ...
 sas_free_task(task)           |
  kfree(task-&amp;gt;slow_task) //FREE|
                               |  task-&amp;gt;slow_task-&amp;gt;... //USE&lt;/p&gt;
&lt;p&gt;Fix by calling del_timer_sync() in smp_execute_task_sg(), which makes sure
the timer handler have finished before the &amp;#34;task-&amp;gt;slow_task&amp;#34; is
deallocated.&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;scsi: libsas: Fix use-after-free bug in smp_execute_task_sg()&lt;/p&gt;
&lt;p&gt;When executing SMP task failed, the smp_execute_task_sg() calls del_timer()
to delete &amp;#34;slow_task-&amp;gt;timer&amp;#34;. However, if the timer handler
sas_task_internal_timedout() is running, the del_timer() in
smp_execute_task_sg() will not stop it and a UAF will happen. The process
is shown below:&lt;/p&gt;
&lt;p&gt;(thread 1)               |        (thread 2)
smp_execute_task_sg()          | sas_task_internal_timedout()
 ...                           |
 del_timer()                   |
 ...                           |  ...
 sas_free_task(task)           |
  kfree(task-&amp;gt;slow_task) //FREE|
                               |  task-&amp;gt;slow_task-&amp;gt;... //USE&lt;/p&gt;
&lt;p&gt;Fix by calling del_timer_sync() in smp_execute_task_sg(), which makes sure
the timer handler have finished before the &amp;#34;task-&amp;gt;slow_task&amp;#34; is
deallocated.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2022-50422</guid>
    </item>
  </channel>
</rss>
