<?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>Fri, 02 Oct 2026 19:36:44 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-56717 — net: mscc: ocelot: fix incorrect IFH SRC_PORT field in ocelot_ifh_set_basic()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-56717</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;net: mscc: ocelot: fix incorrect IFH SRC_PORT field in ocelot_ifh_set_basic()&lt;/p&gt;
&lt;p&gt;Packets injected by the CPU should have a SRC_PORT field equal to the
CPU port module index in the Analyzer block (ocelot-&amp;gt;num_phys_ports).&lt;/p&gt;
&lt;p&gt;The blamed commit copied the ocelot_ifh_set_basic() call incorrectly
from ocelot_xmit_common() in net/dsa/tag_ocelot.c. Instead of calling
with &amp;#34;x&amp;#34;, it calls with BIT_ULL(x), but the field is not a port mask,
but rather a single port index.&lt;/p&gt;
&lt;p&gt;[ side note: this is the technical debt of code duplication :( ]&lt;/p&gt;
&lt;p&gt;The error used to be silent and doesn&amp;#39;t appear to have other
user-visible manifestations, but with new changes in the packing
library, it now fails loudly as follows:&lt;/p&gt;
&lt;p&gt;------------[ cut here ]------------
Cannot store 0x40 inside bits 46-43 - will truncate
sja1105 spi2.0: xmit timed out
WARNING: CPU: 1 PID: 102 at lib/packing.c:98 __pack+0x90/0x198
sja1105 spi2.0: timed out polling for tstamp
CPU: 1 UID: 0 PID: 102 Comm: felix_xmit
Tainted: G        W        N 6.13.0-rc1-00372-gf706b85d972d-dirty #2605
Call trace:
 __pack+0x90/0x198 (P)
 __pack+0x90/0x198 (L)
 packing+0x78/0x98
 ocelot_ifh_set_basic+0x260/0x368
 ocelot_port_inject_frame+0xa8/0x250
 felix_port_deferred_xmit+0x14c/0x258
 kthread_worker_fn+0x134/0x350
 kthread+0x114/0x138&lt;/p&gt;
&lt;p&gt;The code path pertains to the ocelot switchdev driver and to the felix
secondary DSA tag protocol, ocelot-8021q. Here seen with ocelot-8021q.&lt;/p&gt;
&lt;p&gt;The messenge…&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;net: mscc: ocelot: fix incorrect IFH SRC_PORT field in ocelot_ifh_set_basic()&lt;/p&gt;
&lt;p&gt;Packets injected by the CPU should have a SRC_PORT field equal to the
CPU port module index in the Analyzer block (ocelot-&amp;gt;num_phys_ports).&lt;/p&gt;
&lt;p&gt;The blamed commit copied the ocelot_ifh_set_basic() call incorrectly
from ocelot_xmit_common() in net/dsa/tag_ocelot.c. Instead of calling
with &amp;#34;x&amp;#34;, it calls with BIT_ULL(x), but the field is not a port mask,
but rather a single port index.&lt;/p&gt;
&lt;p&gt;[ side note: this is the technical debt of code duplication :( ]&lt;/p&gt;
&lt;p&gt;The error used to be silent and doesn&amp;#39;t appear to have other
user-visible manifestations, but with new changes in the packing
library, it now fails loudly as follows:&lt;/p&gt;
&lt;p&gt;------------[ cut here ]------------
Cannot store 0x40 inside bits 46-43 - will truncate
sja1105 spi2.0: xmit timed out
WARNING: CPU: 1 PID: 102 at lib/packing.c:98 __pack+0x90/0x198
sja1105 spi2.0: timed out polling for tstamp
CPU: 1 UID: 0 PID: 102 Comm: felix_xmit
Tainted: G        W        N 6.13.0-rc1-00372-gf706b85d972d-dirty #2605
Call trace:
 __pack+0x90/0x198 (P)
 __pack+0x90/0x198 (L)
 packing+0x78/0x98
 ocelot_ifh_set_basic+0x260/0x368
 ocelot_port_inject_frame+0xa8/0x250
 felix_port_deferred_xmit+0x14c/0x258
 kthread_worker_fn+0x134/0x350
 kthread+0x114/0x138&lt;/p&gt;
&lt;p&gt;The code path pertains to the ocelot switchdev driver and to the felix
secondary DSA tag protocol, ocelot-8021q. Here seen with ocelot-8021q.&lt;/p&gt;
&lt;p&gt;The messenge…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-56717</guid>
    </item>
  </channel>
</rss>
