<?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-30T07:55:45.466964+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-68187</id>
    <title>CVE-2026-68187 — exec: fix unsigned loop counter wrap in transfer_args_to_stack()</title>
    <updated>2026-09-30T07:55:45.483523+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>exec: fix unsigned loop counter wrap in transfer_args_to_stack()</p>
<p>The stop value is derived from bprm-&gt;p &gt;&gt; PAGE_SHIFT. The index variable
is an unsigned long. If bprm-&gt;p drops below PAGE_SIZE and stop becomes
zero the loop condition index &gt;= stop is always true.</p>
<p>After the index == 0 iteration the decrement wraps to ULONG_MAX and
bprm-&gt;page[ULONG_MAX] reads sizeof(void *) bytes in front of the array.
The pointer has wrapped to -1. That garbage pointer is then passed to
kmap_local_page() and PAGE_SIZE bytes are copied from wherever that
lands into the stack of the process being created. And the loop doesn't
terminate either...</p>
<p>Getting there only requires bprm-&gt;p &lt; PAGE_SIZE. On !MMU
bprm_set_stack_limit() and bprm_hit_stack_limit() are empty. So the only
constraint on how far bprm-&gt;p is pushed down is valid_arg_len(), i.e.
that each individual string still fits in what is left.</p>
<p>bprm-&gt;p starts at PAGE_SIZE * MAX_ARG_PAGES - sizeof(void *) so a
single argument or environment string of a little over 31 pages leaves
it in the first page:</p>
<p>Oops - load access fault [#1]
  CPU: 0 UID: 0 PID: 1 Comm: victim Not tainted 7.2.0-rc4 #1
  epc : __memcpy+0xd4/0xf8
   ra : transfer_args_to_stack+0xaa/0xae
   s4 : ffffffffffffffff   s2 : 0000000000000000
   a1 : ffffffdc98000000   a2 : 0000000000001000
  status: 0000000a00001880 badaddr: ffffffdc98000000 cause: 0000000000000005
  [&lt;801a5324&gt;] __memcpy+0xd4/0xf8
  [&lt;800…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-68187"/>
  </entry>
</feed>
