CVE-2025-22056: netfilter: nft_tunnel: fix geneve_opt type confusion addition
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.32% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 0a93a710d6df334b828ea064c6d39fda34f901dc, 1b755d8eb1ace3870789d48fbd94f386ad6e30be, 28d88ee1e1cc8ac2d79aeb112717b97c5c833d43; azl3 kernel 6.6.85.1-4 on Azure Linux 3.0 6.6.92.2-1; cbl2 kernel 5.15.176.3-3 on CBL Mariner 2.0 5.15.180.1-1.
Low priority for now. Upgrade to Linux Linux 0a93a710d6df334b828ea064c6d39fda34f901dc, 1b755d8eb1ace3870789d48fbd94f386ad6e30be, 28d88ee1e1cc8ac2d79aeb112717b97c5c833d43; azl3 kernel 6.6.85.1-4 on Azure Linux 3.0 6.6.92.2-1; cbl2 kernel 5.15.176.3-3 on CBL Mariner 2.0 5.15.180.1-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_tunnel: fix geneve_opt type confusion addition When handling multiple NFTA_TUNNEL_KEY_OPTS_GENEVE attributes, the parsing logic should place every geneve_opt structure one by one compactly. Hence, when deciding the next geneve_opt position, the pointer addition should be in units of char *. However, the current implementation erroneously does type conversion before the addition, which will lead to heap out-of-bounds write. [ 6.989857] ================================================================== [ 6.990293] BUG: KASAN: slab-out-of-bounds in nft_tunnel_obj_init+0x977/0xa70 [ 6.990725] Write of size 124 at addr ffff888005f18974 by task poc/178 [ 6.991162] [ 6.991259] CPU: 0 PID: 178 Comm: poc-oob-write Not tainted 6.1.132 #1 [ 6.991655] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014 [ 6.992281] Call Trace: [ 6.992423] <TASK> [ 6.992586] dump_stack_lvl+0x44/0x5c [ 6.992801] print_report+0x184/0x4be [ 6.993790] kasan_report+0xc5/0x100 [ 6.994252] kasan_check_range+0xf3/0x1a0 [ 6.994486] memcpy+0x38/0x60 [ 6.994692] nft_tunnel_obj_init+0x977/0xa70 [ 6.995677] nft_obj_init+0x10c/0x1b0 [ 6.995891] nf_tables_newobj+0x585/0x950 [ 6.996922] nfnetlink_rcv_batch+0xdf9/0x1020 [ 6.998997] nfnetlink_rcv+0x1df/0x220 [ 6.999537] netlink_unicast+0x395/0x530 [ 7.000771] netlink_sendmsg+0x3d0/0x6d0 [ 7.001462] __sock_sendmsg+0x99/0xa0 [ 7.001707] ____sys_sendmsg+0x409/0x450 [ 7.002391] ___sys_sendmsg+0xfd/0x170 [ 7.003145] __sys_sendmsg+0xea/0x170 [ 7.004359] do_syscall_64+0x5e/0x90 [ 7.005817] entry_SYSCALL_64_after_hwframe+0x6e/0xd8 [ 7.006127] RIP: 0033:0x7ec756d4e407 [ 7.006339] Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 faf [ 7.007364] RSP: 002b:00007ffed5d46760 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 7.007827] RAX: ffffffffffffffda RBX: 00007ec756cc4740 RCX: 00007ec756d4e407 [ 7.008223] RDX: 0000000000000000 RSI: 00007ffed5d467f0 RDI: 0000000000000003 [ 7.008620] RBP: 00007ffed5d468a0 R08: 0000000000000000 R09: 0000000000000000 [ 7.009039] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 7.009429] R13: 00007ffed5d478b0 R14: 00007ec756ee5000 R15: 00005cbd4e655cb8 Fix this bug with correct pointer addition and conversion in parse and dump code.
- Published
- Apr 16, 2025
- Updated
- Nov 10, 2026
- EPSS
- 0.3% · 26th percentile
- CWE
- CWE-787
Report tools
Action score
31
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.3%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 7.8
- CNA · Linux
- 7.8
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 5.7affected
- 925d844696d9287f841d6b3e0ed62a35fb175970 and later · before 31d49eb436f2da61280508d7adf8c9b473b967aaaffected · git
- 925d844696d9287f841d6b3e0ed62a35fb175970 and later · before ca2adfc03cd6273f0b589fe65afc6f75e0fe116eaffected · git
- 925d844696d9287f841d6b3e0ed62a35fb175970 and later · before a263d31c8c92e5919d41af57d9479cfb66323782affected · git
- 925d844696d9287f841d6b3e0ed62a35fb175970 and later · before 28d88ee1e1cc8ac2d79aeb112717b97c5c833d43affected · git
- 925d844696d9287f841d6b3e0ed62a35fb175970 and later · before 0a93a710d6df334b828ea064c6d39fda34f901dcaffected · git
- 925d844696d9287f841d6b3e0ed62a35fb175970 and later · before 446d94898c560ed2f61e26ae445858a4c4830762affected · git
- 925d844696d9287f841d6b3e0ed62a35fb175970 and later · before 708e268acb3a446ad2a8a3d2e9bd41cc23660cd6affected · git
- 925d844696d9287f841d6b3e0ed62a35fb175970 and later · before 1b755d8eb1ace3870789d48fbd94f386ad6e30beaffected · git
- before 5.7not affected · semver
Affected versions · NVD (7)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel5.7 and later · before 5.10.236
- linux linux kernel5.11 and later · before 5.15.180
- linux linux kernel5.16 and later · before 6.1.134
- linux linux kernel6.2 and later · before 6.6.87
- linux linux kernel6.7 and later · before 6.12.23
- linux linux kernel6.13 and later · before 6.13.11
- linux linux kernel6.14 and later · before 6.14.2
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.135-1 | 6.1.135-1 |
| Debian:13 | linux | before 6.12.25-1 | 6.12.25-1 |
| Red Hat:rhel_eus:9.6::appstream | kernel-64k-debug-debuginfo | before 0:5.14.0-570.96.1.el9_6 | 0:5.14.0-570.96.1.el9_6 |
| Red Hat:rhel_eus:9.6::appstream | kernel-64k-debug-devel | before 0:5.14.0-570.96.1.el9_6 | 0:5.14.0-570.96.1.el9_6 |
| Red Hat:rhel_eus:9.6::appstream | kernel-64k-debug-devel-matched | before 0:5.14.0-570.96.1.el9_6 | 0:5.14.0-570.96.1.el9_6 |
| Red Hat:rhel_eus:9.6::appstream | kernel-64k-debuginfo | before 0:5.14.0-570.96.1.el9_6 | 0:5.14.0-570.96.1.el9_6 |
| Red Hat:rhel_eus:9.6::appstream | kernel-64k-devel | before 0:5.14.0-570.96.1.el9_6 | 0:5.14.0-570.96.1.el9_6 |
| Red Hat:rhel_eus:9.6::appstream | kernel-64k-devel-matched | before 0:5.14.0-570.96.1.el9_6 | 0:5.14.0-570.96.1.el9_6 |
| Red Hat:rhel_eus:9.6::appstream | kernel-debug-debuginfo | before 0:5.14.0-570.96.1.el9_6 | 0:5.14.0-570.96.1.el9_6 |
| Red Hat:rhel_eus:9.6::appstream | kernel-debug-devel | before 0:5.14.0-570.96.1.el9_6 | 0:5.14.0-570.96.1.el9_6 |
| Red Hat:rhel_eus:9.6::appstream | kernel-debug-devel-matched | before 0:5.14.0-570.96.1.el9_6 | 0:5.14.0-570.96.1.el9_6 |
| Red Hat:rhel_eus:9.6::appstream | kernel-debuginfo | before 0:5.14.0-570.96.1.el9_6 | 0:5.14.0-570.96.1.el9_6 |
| Red Hat:rhel_eus:9.6::appstream | kernel-debuginfo-common-aarch64 | before 0:5.14.0-570.96.1.el9_6 | 0:5.14.0-570.96.1.el9_6 |
| Red Hat:rhel_eus:9.6::appstream | kernel-debuginfo-common-ppc64le | before 0:5.14.0-570.96.1.el9_6 | 0:5.14.0-570.96.1.el9_6 |
| Red Hat:rhel_eus:9.6::appstream | kernel-debuginfo-common-s390x | before 0:5.14.0-570.96.1.el9_6 | 0:5.14.0-570.96.1.el9_6 |
| Red Hat:rhel_eus:9.6::appstream | kernel-debuginfo-common-x86_64 | before 0:5.14.0-570.96.1.el9_6 | 0:5.14.0-570.96.1.el9_6 |
| Red Hat:rhel_eus:9.6::appstream | kernel-devel | before 0:5.14.0-570.96.1.el9_6 | 0:5.14.0-570.96.1.el9_6 |
| Red Hat:rhel_eus:9.6::appstream | kernel-devel-matched | before 0:5.14.0-570.96.1.el9_6 | 0:5.14.0-570.96.1.el9_6 |
| Red Hat:rhel_eus:9.6::appstream | kernel-doc | before 0:5.14.0-570.96.1.el9_6 | 0:5.14.0-570.96.1.el9_6 |
| Red Hat:rhel_eus:9.6::appstream | kernel-rt-64k-debug-debuginfo | before 0:5.14.0-570.96.1.el9_6 | 0:5.14.0-570.96.1.el9_6 |
| Red Hat:rhel_eus:9.6::appstream | kernel-rt-64k-debuginfo | before 0:5.14.0-570.96.1.el9_6 | 0:5.14.0-570.96.1.el9_6 |
| Red Hat:rhel_eus:9.6::appstream | kernel-rt-debug-debuginfo | before 0:5.14.0-570.96.1.el9_6 | 0:5.14.0-570.96.1.el9_6 |
| Red Hat:rhel_eus:9.6::appstream | kernel-rt-debuginfo | before 0:5.14.0-570.96.1.el9_6 | 0:5.14.0-570.96.1.el9_6 |
| Red Hat:rhel_eus:9.6::appstream | kernel-tools-debuginfo | before 0:5.14.0-570.96.1.el9_6 | 0:5.14.0-570.96.1.el9_6 |
+69
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2025-22053Apr 16, 2025 · net: ibmveth: make veth_pool_store stop hanging22Monitor
- ← EarlierCVE-2025-22055Apr 16, 2025 · net: fix geneve_opt length integer overflow22Monitor
- Later →CVE-2025-22057Apr 16, 2025 · net: decrease cached dst counters in dst_release22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 0a93a710d6df334b828ea064c6d39fda34f901dc | Vendor (CNA) |
| Linux Linux | 1b755d8eb1ace3870789d48fbd94f386ad6e30be | Vendor (CNA) |
| Linux Linux | 28d88ee1e1cc8ac2d79aeb112717b97c5c833d43 | Vendor (CNA) |
| Linux Linux | 31d49eb436f2da61280508d7adf8c9b473b967aa | Vendor (CNA) |
| Linux Linux | 446d94898c560ed2f61e26ae445858a4c4830762 | Vendor (CNA) |
| Linux Linux | 708e268acb3a446ad2a8a3d2e9bd41cc23660cd6 | Vendor (CNA) |
| Linux Linux | a263d31c8c92e5919d41af57d9479cfb66323782 | Vendor (CNA) |
| Linux Linux | ca2adfc03cd6273f0b589fe65afc6f75e0fe116e | Vendor (CNA) |
| azl3 kernel 6.6.85.1-4 on Azure Linux 3.0 | 6.6.92.2-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.176.3-3 on CBL Mariner 2.0 | 5.15.180.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.176.3-3 on CBL-Mariner 2.0 | 5.15.180.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.180.1-1 on CBL Mariner 2.0 | 5.15.180.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| debian:linux | 6.1.135-1 · Debian:12 | Package registry (OSV) |
| red hat:kernel-64k-debug-debuginfo | 0:5.14.0-570.96.1.el9_6 · Red Hat:rhel_eus:9.6::appstream | Package registry (OSV) |
| red hat:kernel-64k-debug-devel | 0:5.14.0-570.96.1.el9_6 · Red Hat:rhel_eus:9.6::appstream | Package registry (OSV) |
| red hat:kernel-64k-debug-devel-matched | 0:5.14.0-570.96.1.el9_6 · Red Hat:rhel_eus:9.6::appstream | Package registry (OSV) |
| red hat:kernel-64k-debuginfo | 0:5.14.0-570.96.1.el9_6 · Red Hat:rhel_eus:9.6::appstream | Package registry (OSV) |
| red hat:kernel-64k-devel | 0:5.14.0-570.96.1.el9_6 · Red Hat:rhel_eus:9.6::appstream | Package registry (OSV) |
| red hat:kernel-64k-devel-matched | 0:5.14.0-570.96.1.el9_6 · Red Hat:rhel_eus:9.6::appstream | Package registry (OSV) |
| red hat:kernel-debug-debuginfo | 0:5.14.0-570.96.1.el9_6 · Red Hat:rhel_eus:9.6::appstream | Package registry (OSV) |
| red hat:kernel-debug-devel | 0:5.14.0-570.96.1.el9_6 · Red Hat:rhel_eus:9.6::appstream | Package registry (OSV) |
| red hat:kernel-debug-devel-matched | 0:5.14.0-570.96.1.el9_6 · Red Hat:rhel_eus:9.6::appstream | Package registry (OSV) |
| red hat:kernel-debuginfo | 0:5.14.0-570.96.1.el9_6 · Red Hat:rhel_eus:9.6::appstream | Package registry (OSV) |
| red hat:kernel-debuginfo-common-aarch64 | 0:5.14.0-570.96.1.el9_6 · Red Hat:rhel_eus:9.6::appstream | Package registry (OSV) |
| red hat:kernel-debuginfo-common-ppc64le | 0:5.14.0-570.96.1.el9_6 · Red Hat:rhel_eus:9.6::appstream | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-787 · Out-of-bounds WriteCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (11 more)Show less
- git.kernel.org/stable/c/1b755d8eb1ace3870789d48fbd94f386ad6e30be
- git.kernel.org/stable/c/28d88ee1e1cc8ac2d79aeb112717b97c5c833d43
- git.kernel.org/stable/c/31d49eb436f2da61280508d7adf8c9b473b967aa
- git.kernel.org/stable/c/446d94898c560ed2f61e26ae445858a4c4830762
- git.kernel.org/stable/c/708e268acb3a446ad2a8a3d2e9bd41cc23660cd6
- git.kernel.org/stable/c/a263d31c8c92e5919d41af57d9479cfb66323782
- git.kernel.org/stable/c/ca2adfc03cd6273f0b589fe65afc6f75e0fe116e
- lists.debian.org/debian-lts-announce/2025/05/msg00030.html
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html
- cert-portal.siemens.com/productcert/html/ssa-019113.html
- cert-portal.siemens.com/productcert/html/ssa-457936.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.