<?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-10-04T12:57:16.732250+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-2026-53165</id>
    <title>CVE-2026-53165 — iomap: avoid potential null folio-&gt;mapping deref during error reporting</title>
    <updated>2026-10-04T12:57:16.746857+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>iomap: avoid potential null folio-&gt;mapping deref during error reporting</p>
<p>When a buffered read fails, iomap_finish_folio_read() reports the error
with fserror_report_io(folio-&gt;mapping-&gt;host, ...). This is called after
ifs-&gt;read_bytes_pending has been decremented by the bytes attempted to
be read.</p>
<p>For a folio split across multiple read completions, the folio is only
guaranteed to stay locked while read_bytes_pending &gt; 0. Once
iomap_finish_folio_read() decrements read_bytes_pending, another
in-flight read can complete and end the read on the folio, which unlocks
it. This allows truncate logic to run and detach the folio (set
folio-&gt;mapping to NULL). The error reporting path then can dereference a
NULL folio-&gt;mapping. As reported by Sam Sun, this is the race that can
occur:</p>
<p>CPU0: failed completion      CPU1: final completion     CPU2: truncate
-----------------------      ----------------------     --------------
read_bytes_pending -= len
finished = false
/* preempted before
   fserror_report_io() */
			     read_bytes_pending -= len
			     finished = true
			     folio_end_read()
							truncate clears
							folio-&gt;mapping
fserror_report_io(
  folio-&gt;mapping-&gt;host, ...)
	      ^ NULL deref</p>
<p>Fix this by reporting the error first before decrementing
ifs-&gt;read_bytes_pending.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-53165"/>
  </entry>
</feed>
