AZL-118301: CVE-2026-143189 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
net/mlx5e: IPsec, don't match upper proto selectors in crypto offload TX
The mentioned commit introduced support for upper protocol selectors (protocol & ports) to mlx5 IPsec offload. In crypto offload mode this causes offloaded TX SAs to stop matching traffic.
In txaddrule(), setupfteupperprotomatch() is called for all offload types and programs a match on the upper protocol (TCP/UDP) and ports. For crypto offload, setupfteesp() is then called and sets ipprotocol to ESP. The resulting rule requires both ESP as the IP protocol and TCP/UDP ports, which no packet can satisfy, so TX crypto offload silently stops working for such SAs.
In crypto offload mode the stack builds the ESP packet and the HW only encrypts it, so the SA rule should only match on the SPI. Move the setupfteupperprotomatch() call under the XFRMDEVOFFLOADPACKET case, where the rule matches the plaintext packet and upper protocol selectors apply.
The other three callers are unaffected: rxaddrulesaselector() is already only invoked for packet offload, and txaddpolicy() / rxaddpolicy() are only reachable in packet offload mode, since xfrm policy offload is exclusively of type XFRMDEVOFFLOADPACKET.
Affected Software
Event History
Frequently Asked Questions
Which systems are affected by this issue?
Systems using mlx5 IPsec crypto offload for transmit traffic are affected when their security associations use upper-protocol selectors such as TCP or UDP protocol and port matching. The issue is in the Azure Linux kernel package version 6.6.161.1-1.
What is the operational impact?
Affected transmit security associations do not match any traffic, causing TX crypto offload to silently stop working for those associations. The conflicting rule requires traffic to match both ESP and TCP or UDP ports, which no packet can satisfy.
How can I determine whether I am encountering the issue?
Check whether mlx5 IPsec crypto offload is enabled for transmit security associations that specify protocol or port selectors. Affected associations will fail to match TX traffic, while the described packet-offload paths are not affected.