<?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://db.gcve.eu</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>Sat, 05 Dec 2026 12:43:18 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-143349 — net/mlx5: macsec: free struct mlx5_fs_id after an RCU grace period</title>
      <link>https://db.gcve.eu/vuln/cve-2026-143349</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/mlx5: macsec: free struct mlx5_fs_id after an RCU grace period&lt;/p&gt;
&lt;p&gt;macsec_fs_id_del() removes a struct mlx5_fs_id from its rhashtable with
rhashtable_remove_fast() and then frees it with kfree() right away.&lt;/p&gt;
&lt;p&gt;The TX (SCI) table is read locklessly from the transmit path:
mlx5e_macsec_handle_tx_skb() and mlx5e_macsec_tx_build_eseg() call
mlx5_macsec_fs_get_fs_id_from_hashtable(), which does
rhashtable_lookup() under rcu_read_lock() and then reads
mlx5_fs_id-&amp;gt;id. A transmit that looked the entry up just before it was
removed reads freed memory.&lt;/p&gt;
&lt;p&gt;Before commit d4ece08f4b1d (&amp;#34;net/mlx5: Maintain fs_id xarray per MACsec
device inside macsec steering&amp;#34;) the SCI table held struct
mlx5e_macsec_sa directly, and mlx5e_macsec_del_txsa() freed it with
kfree_rcu_mightsleep(). That commit moved the table into macsec_fs.c
with the new struct mlx5_fs_id, but frees it with a plain kfree().&lt;/p&gt;
&lt;p&gt;Add an rcu_head to struct mlx5_fs_id and free it with kfree_rcu().&lt;/p&gt;
&lt;p&gt;The same issue was flagged by the Sashiko AI review as a pre-existing
problem while reviewing the HW-GRO for PSP series.&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/mlx5: macsec: free struct mlx5_fs_id after an RCU grace period&lt;/p&gt;
&lt;p&gt;macsec_fs_id_del() removes a struct mlx5_fs_id from its rhashtable with
rhashtable_remove_fast() and then frees it with kfree() right away.&lt;/p&gt;
&lt;p&gt;The TX (SCI) table is read locklessly from the transmit path:
mlx5e_macsec_handle_tx_skb() and mlx5e_macsec_tx_build_eseg() call
mlx5_macsec_fs_get_fs_id_from_hashtable(), which does
rhashtable_lookup() under rcu_read_lock() and then reads
mlx5_fs_id-&amp;gt;id. A transmit that looked the entry up just before it was
removed reads freed memory.&lt;/p&gt;
&lt;p&gt;Before commit d4ece08f4b1d (&amp;#34;net/mlx5: Maintain fs_id xarray per MACsec
device inside macsec steering&amp;#34;) the SCI table held struct
mlx5e_macsec_sa directly, and mlx5e_macsec_del_txsa() freed it with
kfree_rcu_mightsleep(). That commit moved the table into macsec_fs.c
with the new struct mlx5_fs_id, but frees it with a plain kfree().&lt;/p&gt;
&lt;p&gt;Add an rcu_head to struct mlx5_fs_id and free it with kfree_rcu().&lt;/p&gt;
&lt;p&gt;The same issue was flagged by the Sashiko AI review as a pre-existing
problem while reviewing the HW-GRO for PSP series.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-143349</guid>
    </item>
  </channel>
</rss>
