<?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 10:45:43 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-38398 — spi: spi-qpic-snand: reallocate BAM transactions</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-38398</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;spi: spi-qpic-snand: reallocate BAM transactions&lt;/p&gt;
&lt;p&gt;Using the mtd_nandbiterrs module for testing the driver occasionally
results in weird things like below.&lt;/p&gt;
&lt;p&gt;1. swiotlb mapping fails with the following message:&lt;/p&gt;
&lt;p&gt;[   85.926216] qcom_snand 79b0000.spi: swiotlb buffer is full (sz: 4294967294 bytes), total 512 (slots), used 0 (slots)
  [   85.932937] qcom_snand 79b0000.spi: failure in mapping desc
  [   87.999314] qcom_snand 79b0000.spi: failure to write raw page
  [   87.999352] mtd_nandbiterrs: error: write_oob failed (-110)&lt;/p&gt;
&lt;p&gt;Rebooting the board after this causes a panic due to a NULL pointer
  dereference.&lt;/p&gt;
&lt;p&gt;2. If the swiotlb mapping does not fail, rebooting the board may result
   in a different panic due to a bad spinlock magic:&lt;/p&gt;
&lt;p&gt;[  256.104459] BUG: spinlock bad magic on CPU#3, procd/2241
  [  256.104488] Unable to handle kernel paging request at virtual address ffffffff0000049b
  ...&lt;/p&gt;
&lt;p&gt;Investigating the issue revealed that these symptoms are results of
memory corruption which is caused by out of bounds access within the
driver.&lt;/p&gt;
&lt;p&gt;The driver uses a dynamically allocated structure for BAM transactions,
which structure must have enough space for all possible variations of
different flash operations initiated by the driver. The required space
heavily depends on the actual number of &amp;#39;codewords&amp;#39; which is calculated
from the pagesize of the actual NAND chip.&lt;/p&gt;
&lt;p&gt;Although the qcom_nandc_alloc() function allocates m…&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;spi: spi-qpic-snand: reallocate BAM transactions&lt;/p&gt;
&lt;p&gt;Using the mtd_nandbiterrs module for testing the driver occasionally
results in weird things like below.&lt;/p&gt;
&lt;p&gt;1. swiotlb mapping fails with the following message:&lt;/p&gt;
&lt;p&gt;[   85.926216] qcom_snand 79b0000.spi: swiotlb buffer is full (sz: 4294967294 bytes), total 512 (slots), used 0 (slots)
  [   85.932937] qcom_snand 79b0000.spi: failure in mapping desc
  [   87.999314] qcom_snand 79b0000.spi: failure to write raw page
  [   87.999352] mtd_nandbiterrs: error: write_oob failed (-110)&lt;/p&gt;
&lt;p&gt;Rebooting the board after this causes a panic due to a NULL pointer
  dereference.&lt;/p&gt;
&lt;p&gt;2. If the swiotlb mapping does not fail, rebooting the board may result
   in a different panic due to a bad spinlock magic:&lt;/p&gt;
&lt;p&gt;[  256.104459] BUG: spinlock bad magic on CPU#3, procd/2241
  [  256.104488] Unable to handle kernel paging request at virtual address ffffffff0000049b
  ...&lt;/p&gt;
&lt;p&gt;Investigating the issue revealed that these symptoms are results of
memory corruption which is caused by out of bounds access within the
driver.&lt;/p&gt;
&lt;p&gt;The driver uses a dynamically allocated structure for BAM transactions,
which structure must have enough space for all possible variations of
different flash operations initiated by the driver. The required space
heavily depends on the actual number of &amp;#39;codewords&amp;#39; which is calculated
from the pagesize of the actual NAND chip.&lt;/p&gt;
&lt;p&gt;Although the qcom_nandc_alloc() function allocates m…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-38398</guid>
    </item>
  </channel>
</rss>
