<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-29T17:55:58.238247+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2025-38398</id>
    <title>CVE-2025-38398 — spi: spi-qpic-snand: reallocate BAM transactions</title>
    <updated>2026-09-29T17:55:58.252399+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>spi: spi-qpic-snand: reallocate BAM transactions</p>
<p>Using the mtd_nandbiterrs module for testing the driver occasionally
results in weird things like below.</p>
<p>1. swiotlb mapping fails with the following message:</p>
<p>[   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)</p>
<p>Rebooting the board after this causes a panic due to a NULL pointer
  dereference.</p>
<p>2. If the swiotlb mapping does not fail, rebooting the board may result
   in a different panic due to a bad spinlock magic:</p>
<p>[  256.104459] BUG: spinlock bad magic on CPU#3, procd/2241
  [  256.104488] Unable to handle kernel paging request at virtual address ffffffff0000049b
  ...</p>
<p>Investigating the issue revealed that these symptoms are results of
memory corruption which is caused by out of bounds access within the
driver.</p>
<p>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 'codewords' which is calculated
from the pagesize of the actual NAND chip.</p>
<p>Although the qcom_nandc_alloc() function allocates m…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2025-38398"/>
  </entry>
</feed>
