CVE-2026-143349: Linux kernel · net/mlx5: macsec: free struct mlx5_fs_id after an RCU grace period
Affects Linux kernelSource CVE Database V5
Not known to be exploited · fixed in b02eb2580484d027f34d4c8ec060d9c6d922de0c : update Linux kernel when convenient.
Data as of 3 Dec 2026, 10:00 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in b02eb2580484d027f34d4c8ec060d9c6d922de0c, 902407bc588575af0ceae5de4f635fe1e024f258, 898a1815ed0be1b3a8996170dbe32ae791621100 +1
Exploitation evidence
Disclosed: evidence found.
CVE published 3 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Upgrade Linux kernel to b02eb2580484d027f34d4c8ec060d9c6d922de0c, 902407bc588575af0ceae5de4f635fe1e024f258, 898a1815ed0be1b3a8996170dbe32ae791621100 or 035e45b333c90606ecbbe4b47c1d5d473541ea88.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
Description
In the Linux kernel, the following vulnerability has been resolved: net/mlx5: macsec: free struct mlx5_fs_id after an RCU grace period 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. 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->id. A transmit that looked the entry up just before it was removed reads freed memory. Before commit d4ece08f4b1d ("net/mlx5: Maintain fs_id xarray per MACsec device inside macsec steering") 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(). Add an rcu_head to struct mlx5_fs_id and free it with kfree_rcu(). The same issue was flagged by the Sashiko AI review as a pre-existing problem while reviewing the HW-GRO for PSP series.
References
- git.kernel.org/stable/c/898a1815ed0be1b3a8996170dbe32ae791621100 (opens in a new tab)
- git.kernel.org/stable/c/035e45b333c90606ecbbe4b47c1d5d473541ea88 (opens in a new tab)
- git.kernel.org/stable/c/b02eb2580484d027f34d4c8ec060d9c6d922de0c (opens in a new tab)
- git.kernel.org/stable/c/902407bc588575af0ceae5de4f635fe1e024f258 (opens in a new tab)