CVE-2026-143165

Source
https://cve.org/CVERecord?id=CVE-2026-143165
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143165.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143165
Downstream
Published
2026-12-03T09:20:03Z
Modified
2026-12-03T11:01:31Z
Summary
net: dst_metadata: fix memcmp overread in skb_metadata_dst_cmp
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143165.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3fcece12bc1b6dcdf0986f2cd9e8f63b1f9b6aa0
Fixed
d8eed0cf8041923d811c09f35eca4e973a3eb6ce
Fixed
5248f9d6aaa249895bd6b77e9543bc44ed8d14e0
Fixed
c65956645893984760cec2890966cc5693844a0a
Fixed
b44e03bc44547970d86fad298e4fb78ee52bbc06
Fixed
f007c10d88e145804e6442ec3b550415b59f28c4
Show 1 more event Show fewer events
Fixed
74a7db839308dd7d1c3f72dd1e3299784df3affb

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143165.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.13.0
Fixed
5.10.276
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.227
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.12.120
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.66
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143165.json"