<?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-07T06:58:31.458985+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-98372</id>
    <title>CVE-2026-98372 — xfrm: iptfs: fix stack OOB read in iptfs_skb_reset_frag_walk()</title>
    <updated>2026-10-07T06:58:31.461503+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>xfrm: iptfs: fix stack OOB read in iptfs_skb_reset_frag_walk()</p>
<p>iptfs_skb_reset_frag_walk() advances to the fragment containing @offset
with an unbounded loop:</p>
<p>while (offset &gt;= walk-&gt;past + walk-&gt;frags[walk-&gt;fragi].len)
		walk-&gt;past += walk-&gt;frags[walk-&gt;fragi++].len;</p>
<p>walk-&gt;fragi is advanced and walk-&gt;frags[walk-&gt;fragi] is dereferenced
without ever checking fragi against walk-&gt;nr_frags. When the requested
offset is at or beyond the total length spanned by the walk's fragments,
fragi runs past nr_frags and off the end of the fixed-size on-stack
frags[MAX_SKB_FRAGS + 1] array, reading out-of-bounds stack memory.</p>
<p>The two callers behave differently: iptfs_skb_add_frags() already guards
against this with</p>
<p>if (!walk-&gt;nr_frags ||
	    offset &gt;= walk-&gt;total + walk-&gt;initial_offset)
		return len;</p>
<p>but iptfs_skb_can_add_frags() has no such guard and calls
iptfs_skb_reset_frag_walk() unconditionally, so it performs the
out-of-range walk. Its own "fragi &lt; walk-&gt;nr_frags" bound check runs only
afterwards, too late to prevent the read.</p>
<p>This is reachable from the receive path: a crafted IP-TFS (AGGFRAG)
payload delivered to an IPTFS SA drives iptfs_reassem_cont() -&gt;
iptfs_skb_can_add_frags() with an offset past the fragment total, e.g.:</p>
<p>BUG: KASAN: stack-out-of-bounds in iptfs_skb_reset_frag_walk+0x235/0x250
  Read of size 4 at addr ffff888008ad7210 by task repro/345
   iptfs_skb_reset_frag_walk+0x235/0x250 net/xfr…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-98372"/>
  </entry>
</feed>
