Linux kernel netfilter nft_tunnel geneve option heap overflow
CVE-2025-22056High
The Linux kernel's netfilter nft_tunnel module contains a type confusion vulnerability when processing multiple NFTA_TUNNEL_KEY_OPTS_GENEVE attributes. The code incorrectly performs type conversion before pointer arithmetic, causing it to write geneve_opt structures to incorrect heap memory locations. An attacker with the ability to send netlink messages to configure netfilter tunnel objects could trigger a heap out-of-bounds write, potentially leading to memory corruption or privilege escalation.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Detail
Affected versions
- linux linux kernel: from 5.7, before 5.10.236
- linux linux kernel: from 5.11, before 5.15.180
- linux linux kernel: from 5.16, before 6.1.134
- linux linux kernel: from 6.2, before 6.6.87
- linux linux kernel: from 6.7, before 6.12.23
- linux linux kernel: from 6.13, before 6.13.11
- linux linux kernel: from 6.14, before 6.14.2
Reports naming this CVE1 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP (opens in a new tab)