Bug 2589954 (CVE-2026-143165) - CVE-2026-143165 kernel: kernel: Denial of Service via out-of-bounds read in packet metadata comparison
Summary: CVE-2026-143165 kernel: kernel: Denial of Service via out-of-bounds read in p...
Keywords:
Status: NEW
Alias: CVE-2026-143165
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-03 09:54 UTC by OSIDB Bzimport
Modified: 2026-12-03 12:13 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-03 09:54:48 UTC
In the Linux kernel, the following vulnerability has been resolved:

net: dst_metadata: fix memcmp overread in skb_metadata_dst_cmp

Commit 3fcece12bc1b6 ("net: store port/representator id in
metadata_dst") dropped the options_len equality check when converting
skb_metadata_dst_cmp() 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/string_helpers.c:1036 __fortify_report
   __fortify_panic+0x9/0x10
   skb_metadata_dst_cmp+0x11b/0x120
   dev_gro_receive+0x303/0x620
   gro_cell_poll+0x67/0xa0

Restore the check: unequal options_len means different metadata and no
aggregation; the memcmp only runs when both sides carry the same
options length.


Note You need to log in before you can comment on or make changes to this bug.