<?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 03:30:11 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-53106 — nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-53106</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;nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition&lt;/p&gt;
&lt;p&gt;This bug influences both st_nci_i2c_remove and st_nci_spi_remove.
Take st_nci_i2c_remove as an example.&lt;/p&gt;
&lt;p&gt;In st_nci_i2c_probe, it called ndlc_probe and bound &amp;amp;ndlc-&amp;gt;sm_work
with llt_ndlc_sm_work.&lt;/p&gt;
&lt;p&gt;When it calls ndlc_recv or timeout handler, it will finally call
schedule_work to start the work.&lt;/p&gt;
&lt;p&gt;When we call st_nci_i2c_remove to remove the driver, there
may be a sequence as follows:&lt;/p&gt;
&lt;p&gt;Fix it by finishing the work before cleanup in ndlc_remove&lt;/p&gt;
&lt;p&gt;CPU0                  CPU1&lt;/p&gt;
&lt;p&gt;|llt_ndlc_sm_work
st_nci_i2c_remove   |
  ndlc_remove       |
     st_nci_remove  |
     nci_free_device|
     kfree(ndev)    |
//free ndlc-&amp;gt;ndev   |
                    |llt_ndlc_rcv_queue
                    |nci_recv_frame
                    |//use ndlc-&amp;gt;ndev&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;nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition&lt;/p&gt;
&lt;p&gt;This bug influences both st_nci_i2c_remove and st_nci_spi_remove.
Take st_nci_i2c_remove as an example.&lt;/p&gt;
&lt;p&gt;In st_nci_i2c_probe, it called ndlc_probe and bound &amp;amp;ndlc-&amp;gt;sm_work
with llt_ndlc_sm_work.&lt;/p&gt;
&lt;p&gt;When it calls ndlc_recv or timeout handler, it will finally call
schedule_work to start the work.&lt;/p&gt;
&lt;p&gt;When we call st_nci_i2c_remove to remove the driver, there
may be a sequence as follows:&lt;/p&gt;
&lt;p&gt;Fix it by finishing the work before cleanup in ndlc_remove&lt;/p&gt;
&lt;p&gt;CPU0                  CPU1&lt;/p&gt;
&lt;p&gt;|llt_ndlc_sm_work
st_nci_i2c_remove   |
  ndlc_remove       |
     st_nci_remove  |
     nci_free_device|
     kfree(ndev)    |
//free ndlc-&amp;gt;ndev   |
                    |llt_ndlc_rcv_queue
                    |nci_recv_frame
                    |//use ndlc-&amp;gt;ndev&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-53106</guid>
    </item>
  </channel>
</rss>
