<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Tue, 29 Sep 2026 20:19:10 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-26923 — af_unix: Fix garbage collector racing against connect()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-26923</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens RUGGEDCOM RST2428P, Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family, Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family, Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP, Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP, Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;af_unix: Fix garbage collector racing against connect()&lt;/p&gt;
&lt;p&gt;Garbage collector does not take into account the risk of embryo getting
enqueued during the garbage collection. If such embryo has a peer that
carries SCM_RIGHTS, two consecutive passes of scan_children() may see a
different set of children. Leading to an incorrectly elevated inflight
count, and then a dangling pointer within the gc_inflight_list.&lt;/p&gt;
&lt;p&gt;sockets are AF_UNIX/SOCK_STREAM
S is an unconnected socket
L is a listening in-flight socket bound to addr, not in fdtable
V&amp;#39;s fd will be passed via sendmsg(), gets inflight count bumped&lt;/p&gt;
&lt;p&gt;connect(S, addr)	sendmsg(S, [V]); close(V)	__unix_gc()
----------------	-------------------------	-----------&lt;/p&gt;
&lt;p&gt;NS = unix_create1()
skb1 = sock_wmalloc(NS)
L = unix_find_other(addr)
unix_state_lock(L)
unix_peer(S) = NS
			// V count=1 inflight=0&lt;/p&gt;
&lt;p&gt;NS = unix_peer(S)
 			skb2 = sock_alloc()
			skb_queue_tail(NS, skb2[V])&lt;/p&gt;
&lt;p&gt;// V became in-flight
			// V count=2 inflight=1&lt;/p&gt;
&lt;p&gt;close(V)&lt;/p&gt;
&lt;p&gt;// V count=1 inflight=1
			// GC candidate condition met&lt;/p&gt;
&lt;p&gt;for u in gc_inflight_list:
						  if (total_refs == inflight_refs)
						    add u to gc_candidates&lt;/p&gt;
&lt;p&gt;// gc_candidates={L, V}&lt;/p&gt;
&lt;p&gt;for u in gc_candidates:
						  scan_children(u, dec_inflight)&lt;/p&gt;
&lt;p&gt;// embryo (skb1) was not
						// reachable from L yet, so V&amp;#39;s
						// inflight remains unchanged
__skb_queue_tail(L, skb1)
unix_state_unlock(L)
						for u in gc_cand…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens RUGGEDCOM RST2428P, Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family, Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family, Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP, Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP, Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;af_unix: Fix garbage collector racing against connect()&lt;/p&gt;
&lt;p&gt;Garbage collector does not take into account the risk of embryo getting
enqueued during the garbage collection. If such embryo has a peer that
carries SCM_RIGHTS, two consecutive passes of scan_children() may see a
different set of children. Leading to an incorrectly elevated inflight
count, and then a dangling pointer within the gc_inflight_list.&lt;/p&gt;
&lt;p&gt;sockets are AF_UNIX/SOCK_STREAM
S is an unconnected socket
L is a listening in-flight socket bound to addr, not in fdtable
V&amp;#39;s fd will be passed via sendmsg(), gets inflight count bumped&lt;/p&gt;
&lt;p&gt;connect(S, addr)	sendmsg(S, [V]); close(V)	__unix_gc()
----------------	-------------------------	-----------&lt;/p&gt;
&lt;p&gt;NS = unix_create1()
skb1 = sock_wmalloc(NS)
L = unix_find_other(addr)
unix_state_lock(L)
unix_peer(S) = NS
			// V count=1 inflight=0&lt;/p&gt;
&lt;p&gt;NS = unix_peer(S)
 			skb2 = sock_alloc()
			skb_queue_tail(NS, skb2[V])&lt;/p&gt;
&lt;p&gt;// V became in-flight
			// V count=2 inflight=1&lt;/p&gt;
&lt;p&gt;close(V)&lt;/p&gt;
&lt;p&gt;// V count=1 inflight=1
			// GC candidate condition met&lt;/p&gt;
&lt;p&gt;for u in gc_inflight_list:
						  if (total_refs == inflight_refs)
						    add u to gc_candidates&lt;/p&gt;
&lt;p&gt;// gc_candidates={L, V}&lt;/p&gt;
&lt;p&gt;for u in gc_candidates:
						  scan_children(u, dec_inflight)&lt;/p&gt;
&lt;p&gt;// embryo (skb1) was not
						// reachable from L yet, so V&amp;#39;s
						// inflight remains unchanged
__skb_queue_tail(L, skb1)
unix_state_unlock(L)
						for u in gc_cand…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-26923</guid>
    </item>
  </channel>
</rss>
