<?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>Tue, 29 Sep 2026 05:28:10 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-49493 — ASoC: rt5645: Fix errorenous cleanup order</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2022-49493</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;ASoC: rt5645: Fix errorenous cleanup order&lt;/p&gt;
&lt;p&gt;There is a logic error when removing rt5645 device as the function
rt5645_i2c_remove() first cancel the &amp;amp;rt5645-&amp;gt;jack_detect_work and
delete the &amp;amp;rt5645-&amp;gt;btn_check_timer latter. However, since the timer
handler rt5645_btn_check_callback() will re-queue the jack_detect_work,
this cleanup order is buggy.&lt;/p&gt;
&lt;p&gt;That is, once the del_timer_sync in rt5645_i2c_remove is concurrently
run with the rt5645_btn_check_callback, the canceled jack_detect_work
will be rescheduled again, leading to possible use-after-free.&lt;/p&gt;
&lt;p&gt;This patch fix the issue by placing the del_timer_sync function before
the cancel_delayed_work_sync.&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;ASoC: rt5645: Fix errorenous cleanup order&lt;/p&gt;
&lt;p&gt;There is a logic error when removing rt5645 device as the function
rt5645_i2c_remove() first cancel the &amp;amp;rt5645-&amp;gt;jack_detect_work and
delete the &amp;amp;rt5645-&amp;gt;btn_check_timer latter. However, since the timer
handler rt5645_btn_check_callback() will re-queue the jack_detect_work,
this cleanup order is buggy.&lt;/p&gt;
&lt;p&gt;That is, once the del_timer_sync in rt5645_i2c_remove is concurrently
run with the rt5645_btn_check_callback, the canceled jack_detect_work
will be rescheduled again, leading to possible use-after-free.&lt;/p&gt;
&lt;p&gt;This patch fix the issue by placing the del_timer_sync function before
the cancel_delayed_work_sync.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2022-49493</guid>
    </item>
  </channel>
</rss>
