CVE-2026-143165: net: dst_metadata: fix memcmp overread in skb_metadata_dst_cmp

Published Dec 3, 2026
·
Updated

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

6 affected componentsFixes available
Linux Linux kernel
linux/kernel>=4.13.0<5.10.276
5.10.276
linux/kernel>=5.11.0<5.15.227
5.15.227
linux/kernel>=5.16.0<6.12.120
6.12.120
linux/kernel>=6.13.0<6.18.66
6.18.66
linux/kernel>=6.19.0<7.3.7
7.3.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.10.276
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.15.227
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.120
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.66
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.7
  6. Compensating control

    In skb_metadata_dst_cmp(), restore the options_len equality check so the memcmp runs only when both sides have the same tunnel-options length.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:20 AM
Data Sourced
via MITRE·09:20 AM
Description
Data Sourced
via OSV·09:20 AM
DescriptionAffected Software
Data Sourced
via NVD·10:17 AM
Description

Frequently Asked Questions

1

Which deployments are most likely to encounter this issue?

The issue was observed with Cilium Geneve GRO aggregation when an skb with 12 bytes of tunnel options was compared with one carrying no options. Systems that do not perform this metadata comparison during GRO aggregation are not identified in the available information as affected in practice.

2

How can I tell whether this has occurred?

A kernel warning may report a memcmp-detected buffer overflow from skb_metadata_dst_cmp during GRO processing. The reported call path includes skb_metadata_dst_cmp, dev_gro_receive, and gro_cell_poll.

3

What changes with the fix?

The fix treats skbs with unequal options_len values as having different metadata, preventing their aggregation. memcmp is then performed only when both skbs have the same tunnel-options length, avoiding a read beyond the second skb allocation.

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