CVE-2026-143349
Last modified
CVE-2026-143349 is a vulnerability of currently unknown severity. 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(). EPSS estimates a 0.30% chance of exploitation in the next 30 days.
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.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= d4ece08f4b1d29471cc4c0eb0c87427600a77acd, < 7efb41dc897b91d7e23edb7f44436a22b710e0db; >= d4ece08f4b1d29471cc4c0eb0c87427600a77acd, < 898a1815ed0be1b3a8996170dbe32ae791621100; >= d4ece08f4b1d29471cc4c0eb0c87427600a77acd, < 035e45b333c90606ecbbe4b47c1d5d473541ea88; >= d4ece08f4b1d29471cc4c0eb0c87427600a77acd, < b02eb2580484d027f34d4c8ec060d9c6d922de0c; >= d4ece08f4b1d29471cc4c0eb0c87427600a77acd, < 902407bc588575af0ceae5de4f635fe1e024f258 |
| Linux | Linux | 6.6 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-143349?
How severe is CVE-2026-143349?
How do I fix CVE-2026-143349?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-143343In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143344In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143345In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143346In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143347In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143348In the Linux kernel, the following vulnerability has been re…
- CVE-2026-14335The Easy Digital Downloads – eCommerce Payments and Subscrip…7.2
- CVE-2026-143350In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143351In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143352In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143353In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143354In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-143349?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
