<?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-04T13:05:41.655855+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-2023-53728</id>
    <title>CVE-2023-53728 — posix-timers: Ensure timer ID search-loop limit is valid</title>
    <updated>2026-10-04T13:05:42.921043+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>posix-timers: Ensure timer ID search-loop limit is valid</p>
<p>posix_timer_add() tries to allocate a posix timer ID by starting from the
cached ID which was stored by the last successful allocation.</p>
<p>This is done in a loop searching the ID space for a free slot one by
one. The loop has to terminate when the search wrapped around to the
starting point.</p>
<p>But that's racy vs. establishing the starting point. That is read out
lockless, which leads to the following problem:</p>
<p>CPU0	  	      	     	   CPU1
posix_timer_add()
  start = sig-&gt;posix_timer_id;
  lock(hash_lock);
  ...				   posix_timer_add()
  if (++sig-&gt;posix_timer_id &lt; 0)
      			             start = sig-&gt;posix_timer_id;
     sig-&gt;posix_timer_id = 0;</p>
<p>So CPU1 can observe a negative start value, i.e. -1, and the loop break
never happens because the condition can never be true:</p>
<p>if (sig-&gt;posix_timer_id == start)
     break;</p>
<p>While this is unlikely to ever turn into an endless loop as the ID space is
huge (INT_MAX), the racy read of the start value caught the attention of
KCSAN and Dmitry unearthed that incorrectness.</p>
<p>Rewrite it so that all id operations are under the hash lock.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2023-53728"/>
  </entry>
</feed>
