<?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://cve.radiocsirt.org</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>Wed, 07 Oct 2026 13:15:02 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-47659 — smack: tcp: ipv4, fix incorrect labeling</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2024-47659</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;smack: tcp: ipv4, fix incorrect labeling&lt;/p&gt;
&lt;p&gt;Currently, Smack mirrors the label of incoming tcp/ipv4 connections:
when a label &amp;#39;foo&amp;#39; connects to a label &amp;#39;bar&amp;#39; with tcp/ipv4,
&amp;#39;foo&amp;#39; always gets &amp;#39;foo&amp;#39; in returned ipv4 packets. So,
1) returned packets are incorrectly labeled (&amp;#39;foo&amp;#39; instead of &amp;#39;bar&amp;#39;)
2) &amp;#39;bar&amp;#39; can write to &amp;#39;foo&amp;#39; without being authorized to write.&lt;/p&gt;
&lt;p&gt;Here is a scenario how to see this:&lt;/p&gt;
&lt;p&gt;* Take two machines, let&amp;#39;s call them C and S,
   with active Smack in the default state
   (no settings, no rules, no labeled hosts, only builtin labels)&lt;/p&gt;
&lt;p&gt;* At S, add Smack rule &amp;#39;foo bar w&amp;#39;
   (labels &amp;#39;foo&amp;#39; and &amp;#39;bar&amp;#39; are instantiated at S at this moment)&lt;/p&gt;
&lt;p&gt;* At S, at label &amp;#39;bar&amp;#39;, launch a program
   that listens for incoming tcp/ipv4 connections&lt;/p&gt;
&lt;p&gt;* From C, at label &amp;#39;foo&amp;#39;, connect to the listener at S.
   (label &amp;#39;foo&amp;#39; is instantiated at C at this moment)
   Connection succeedes and works.&lt;/p&gt;
&lt;p&gt;* Send some data in both directions.
* Collect network traffic of this connection.&lt;/p&gt;
&lt;p&gt;All packets in both directions are labeled with the CIPSO
of the label &amp;#39;foo&amp;#39;. Hence, label &amp;#39;bar&amp;#39; writes to &amp;#39;foo&amp;#39; without
being authorized, and even without ever being known at C.&lt;/p&gt;
&lt;p&gt;If anybody cares: exactly the same happens with DCCP.&lt;/p&gt;
&lt;p&gt;This behavior 1st manifested in release 2.6.29.4 (see Fixes below)
and it looks unintentional. At least, no explanation was provided.&lt;/p&gt;
&lt;p&gt;I changed returned packes label into the &amp;#39;bar&amp;#39;,
to bring it into line with the Smack doc…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;smack: tcp: ipv4, fix incorrect labeling&lt;/p&gt;
&lt;p&gt;Currently, Smack mirrors the label of incoming tcp/ipv4 connections:
when a label &amp;#39;foo&amp;#39; connects to a label &amp;#39;bar&amp;#39; with tcp/ipv4,
&amp;#39;foo&amp;#39; always gets &amp;#39;foo&amp;#39; in returned ipv4 packets. So,
1) returned packets are incorrectly labeled (&amp;#39;foo&amp;#39; instead of &amp;#39;bar&amp;#39;)
2) &amp;#39;bar&amp;#39; can write to &amp;#39;foo&amp;#39; without being authorized to write.&lt;/p&gt;
&lt;p&gt;Here is a scenario how to see this:&lt;/p&gt;
&lt;p&gt;* Take two machines, let&amp;#39;s call them C and S,
   with active Smack in the default state
   (no settings, no rules, no labeled hosts, only builtin labels)&lt;/p&gt;
&lt;p&gt;* At S, add Smack rule &amp;#39;foo bar w&amp;#39;
   (labels &amp;#39;foo&amp;#39; and &amp;#39;bar&amp;#39; are instantiated at S at this moment)&lt;/p&gt;
&lt;p&gt;* At S, at label &amp;#39;bar&amp;#39;, launch a program
   that listens for incoming tcp/ipv4 connections&lt;/p&gt;
&lt;p&gt;* From C, at label &amp;#39;foo&amp;#39;, connect to the listener at S.
   (label &amp;#39;foo&amp;#39; is instantiated at C at this moment)
   Connection succeedes and works.&lt;/p&gt;
&lt;p&gt;* Send some data in both directions.
* Collect network traffic of this connection.&lt;/p&gt;
&lt;p&gt;All packets in both directions are labeled with the CIPSO
of the label &amp;#39;foo&amp;#39;. Hence, label &amp;#39;bar&amp;#39; writes to &amp;#39;foo&amp;#39; without
being authorized, and even without ever being known at C.&lt;/p&gt;
&lt;p&gt;If anybody cares: exactly the same happens with DCCP.&lt;/p&gt;
&lt;p&gt;This behavior 1st manifested in release 2.6.29.4 (see Fixes below)
and it looks unintentional. At least, no explanation was provided.&lt;/p&gt;
&lt;p&gt;I changed returned packes label into the &amp;#39;bar&amp;#39;,
to bring it into line with the Smack doc…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2024-47659</guid>
    </item>
  </channel>
</rss>
