EnvMap GitHub

CVE-2026-143349

net/mlx5: macsec: free struct mlx5_fs_id after an RCU grace period

Not scored yetEPSS 0.30%Received

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.

In the words of the organisation that published it (Linux).

Affected

  • Linux: from d4ece08f4b1d29471cc4c0eb0c87427600a77acd before 898a1815ed0be1b3a8996170dbe; from d4ece08f4b1d29471cc4c0eb0c87427600a77acd before 035e45b333c90606ecbbe4b47c1; from d4ece08f4b1d29471cc4c0eb0c87427600a77acd before b02eb2580484d027f34d4c8ec06; from d4ece08f4b1d29471cc4c0eb0c87427600a77acd before 902407bc588575af0ceae5de4f6; 6.6

as the publisher (Linux) lists them.

Likelihood of exploitation

FIRST's EPSS gives a 0.30% chance of exploitation in the next 30 days, higher than 24% of all CVEs (as of 4 December 2026).

References

Record

Published10:18 UTC, 3 December 2026
Last changed10:18 UTC, 3 December 2026
NVD statusReceived
Published byLinux

CVE-2026-143349 on NVD · on CVE.org · Security Briefing

Follow it

Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.

How to read it

EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.