CVE-2026-143212
Last modified
CVE-2026-143212 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: net/mlx5: macsec: Don't remove fs_id when adding a rule fails macsec_fs_tx_add_rule() and macsec_fs_rx_add_rule() clean up a failed rule with macsec_fs_{tx,rx}_del_rule(), which also calls macsec_fs_id_del(). The fs_id is never in the xarray at that point: macsec_fs_id_add() is the last step of adding a rule and removes its own entry when it fails. macsec_fs_id_del() then dereferences NULL, through macsec_device for the first SA of a MACsec netdev and through fs_id_found otherwise.
Description
In the Linux kernel, the following vulnerability has been resolved: net/mlx5: macsec: Don't remove fs_id when adding a rule fails macsec_fs_tx_add_rule() and macsec_fs_rx_add_rule() clean up a failed rule with macsec_fs_{tx,rx}_del_rule(), which also calls macsec_fs_id_del(). The fs_id is never in the xarray at that point: macsec_fs_id_add() is the last step of adding a rule and removes its own entry when it fails. macsec_fs_id_del() then dereferences NULL, through macsec_device for the first SA of a MACsec netdev and through fs_id_found otherwise. On RX, the SAs of one SC share an fs_id, so a failure while adding another SA drops the reference that an existing SA holds. Split the rule teardown from the fs_id removal and do only the teardown on the error paths.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= d4ece08f4b1d29471cc4c0eb0c87427600a77acd, < 5d352f7730271ec8f28826579826129a7e244711; >= d4ece08f4b1d29471cc4c0eb0c87427600a77acd, < cdab372f827b8933816aba50199bcb914ce3ff2c; >= d4ece08f4b1d29471cc4c0eb0c87427600a77acd, < c9270b5b9b2a1958aa1049c3a9f4ba52b88aa3b0; >= d4ece08f4b1d29471cc4c0eb0c87427600a77acd, < 5175da73dd128520ad6d704d7fe54926ee5f658b |
| Linux | Linux | 6.6 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-143212?
How severe is CVE-2026-143212?
How do I fix CVE-2026-143212?
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-143207In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143208In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143209In the Linux kernel, the following vulnerability has been re…
- CVE-2026-14321The divi-dash WordPress plugin before 1.0.7 does not validat…8.2
- CVE-2026-143210In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-143211In the Linux kernel, the following vulnerability has been re…9.3
- CVE-2026-143213In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143214In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143215In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143216In the Linux kernel, the following vulnerability has been re…7.6
- CVE-2026-143217In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143218In the Linux kernel, the following vulnerability has been re…7.3
Are you affected by CVE-2026-143212?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
