AZL-118241: CVE-2026-143165 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
net: dstmetadata: fix memcmp overread in skbmetadatadstcmp
Commit 3fcece12bc1b6 ("net: store port/representator id in metadatadst") dropped the optionslen equality check when converting skbmetadatadstcmp() to a type switch, so the memcmp length is taken from skb a alone. When skb b carries fewer options than a, the comparison reads past b's allocation.
Hit in practice with Cilium geneve GRO aggregation, comparing an skb carrying 12 bytes of tunnel options against one carrying none:
memcmp: detected buffer overflow: 108 byte read of buffer size 96 WARNING: CPU: 0 PID: 15 at lib/stringhelpers.c:1036 fortifyreport fortifypanic+0x9/0x10 skbmetadatadstcmp+0x11b/0x120 devgroreceive+0x303/0x620 grocellpoll+0x67/0xa0
Restore the check: unequal optionslen means different metadata and no aggregation; the memcmp only runs when both sides carry the same options length.
Affected Software
Event History
Frequently Asked Questions
What traffic pattern is needed to trigger this issue?
The issue occurs when GRO compares packet metadata where one skb has more tunnel options than the other. The reported case involved Cilium Geneve GRO aggregation comparing a packet with 12 bytes of tunnel options to one with no options.
What is the observable effect if the vulnerable comparison is reached?
The metadata comparison can read past the allocation of the skb with fewer options. In the reported case, the kernel's fortified memcmp detected a buffer overflow and emitted a warning.
Is this limited to packets with identical tunnel metadata?
No. The problematic condition is unequal metadata option lengths: the comparison uses the option length from one skb without first confirming that the other skb has the same length. The fix treats unequal option lengths as different metadata and avoids aggregation.