AZL-118352: CVE-2026-143212 affecting package kernel 6.6.161.1-1

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net/mlx5: macsec: Don't remove fsid when adding a rule fails

macsecfstxaddrule() and macsecfsrxaddrule() clean up a failed rule with macsecfs{tx,rx}delrule(), which also calls macsecfsiddel(). The fsid is never in the xarray at that point: macsecfsidadd() is the last step of adding a rule and removes its own entry when it fails.

macsecfsiddel() then dereferences NULL, through macsecdevice for the first SA of a MACsec netdev and through fsidfound otherwise. On RX, the SAs of one SC share an fsid, so a failure while adding another SA drops the reference that an existing SA holds.

Split the rule teardown from the fsid removal and do only the teardown on the error paths.

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In net/mlx5 MACsec, separate rule teardown from fs_id removal. On failed TX or RX rule addition, clean up with macsec_fs_{tx,rx}_del_rule() without removing the fs_id.

Event History

Dec 3, 2026
Advisory Published
via OSV·10:17 AM
Data Sourced
via OSV·10:17 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What conditions are needed to trigger this issue?

A failure must occur while adding a MACsec transmit or receive rule in the mlx5 driver. The affected paths involve security associations on a MACsec network device; on receive, multiple SAs in the same secure channel can share an fs_id.

2

What is the likely impact when the failure path is reached?

The erroneous cleanup can dereference NULL when removing an fs_id that was never added to the xarray. On the RX path, it can also drop an fs_id reference held by an existing SA when adding another SA fails.

3

How can I tell whether my systems may be exposed?

Review whether the system uses the mlx5 network driver with MACsec netdevices and creates MACsec security associations. Systems that do not use this MACsec functionality would not exercise the described rule-addition paths.

4

What mitigation is available if the update cannot be applied immediately?

Avoid configurations or operations that add MACsec rules and security associations through the mlx5 MACsec path, particularly changes that could encounter rule-addition failures. The provided data does not identify a more targeted workaround.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203