Skip to content
Noroxi
NVD / CVE Program· CNA Linux

CVE-2025-22056: netfilter: nft_tunnel: fix geneve_opt type confusion addition

HighCVSS 7.8 · v3.1—No exploit Fix available

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

Report tools

JSON

Action score

31

Monitor

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.

Follow CVE-2025-22056

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Is your version affected? Check it

Noroxi 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 help

Affected 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.

VendorProduct
linuxlinux 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

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12linuxbefore 6.1.135-16.1.135-1
Debian:13linuxbefore 6.12.25-16.12.25-1
Red Hat:rhel_eus:9.6::appstreamkernel-64k-debug-debuginfobefore 0:5.14.0-570.96.1.el9_60:5.14.0-570.96.1.el9_6
Red Hat:rhel_eus:9.6::appstreamkernel-64k-debug-develbefore 0:5.14.0-570.96.1.el9_60:5.14.0-570.96.1.el9_6
Red Hat:rhel_eus:9.6::appstreamkernel-64k-debug-devel-matchedbefore 0:5.14.0-570.96.1.el9_60:5.14.0-570.96.1.el9_6
Red Hat:rhel_eus:9.6::appstreamkernel-64k-debuginfobefore 0:5.14.0-570.96.1.el9_60:5.14.0-570.96.1.el9_6
Red Hat:rhel_eus:9.6::appstreamkernel-64k-develbefore 0:5.14.0-570.96.1.el9_60:5.14.0-570.96.1.el9_6
Red Hat:rhel_eus:9.6::appstreamkernel-64k-devel-matchedbefore 0:5.14.0-570.96.1.el9_60:5.14.0-570.96.1.el9_6
Red Hat:rhel_eus:9.6::appstreamkernel-debug-debuginfobefore 0:5.14.0-570.96.1.el9_60:5.14.0-570.96.1.el9_6
Red Hat:rhel_eus:9.6::appstreamkernel-debug-develbefore 0:5.14.0-570.96.1.el9_60:5.14.0-570.96.1.el9_6
Red Hat:rhel_eus:9.6::appstreamkernel-debug-devel-matchedbefore 0:5.14.0-570.96.1.el9_60:5.14.0-570.96.1.el9_6
Red Hat:rhel_eus:9.6::appstreamkernel-debuginfobefore 0:5.14.0-570.96.1.el9_60:5.14.0-570.96.1.el9_6
Red Hat:rhel_eus:9.6::appstreamkernel-debuginfo-common-aarch64before 0:5.14.0-570.96.1.el9_60:5.14.0-570.96.1.el9_6
Red Hat:rhel_eus:9.6::appstreamkernel-debuginfo-common-ppc64lebefore 0:5.14.0-570.96.1.el9_60:5.14.0-570.96.1.el9_6
Red Hat:rhel_eus:9.6::appstreamkernel-debuginfo-common-s390xbefore 0:5.14.0-570.96.1.el9_60:5.14.0-570.96.1.el9_6
Red Hat:rhel_eus:9.6::appstreamkernel-debuginfo-common-x86_64before 0:5.14.0-570.96.1.el9_60:5.14.0-570.96.1.el9_6
Red Hat:rhel_eus:9.6::appstreamkernel-develbefore 0:5.14.0-570.96.1.el9_60:5.14.0-570.96.1.el9_6
Red Hat:rhel_eus:9.6::appstreamkernel-devel-matchedbefore 0:5.14.0-570.96.1.el9_60:5.14.0-570.96.1.el9_6
Red Hat:rhel_eus:9.6::appstreamkernel-docbefore 0:5.14.0-570.96.1.el9_60:5.14.0-570.96.1.el9_6
Red Hat:rhel_eus:9.6::appstreamkernel-rt-64k-debug-debuginfobefore 0:5.14.0-570.96.1.el9_60:5.14.0-570.96.1.el9_6
Red Hat:rhel_eus:9.6::appstreamkernel-rt-64k-debuginfobefore 0:5.14.0-570.96.1.el9_60:5.14.0-570.96.1.el9_6
Red Hat:rhel_eus:9.6::appstreamkernel-rt-debug-debuginfobefore 0:5.14.0-570.96.1.el9_60:5.14.0-570.96.1.el9_6
Red Hat:rhel_eus:9.6::appstreamkernel-rt-debuginfobefore 0:5.14.0-570.96.1.el9_60:5.14.0-570.96.1.el9_6
Red Hat:rhel_eus:9.6::appstreamkernel-tools-debuginfobefore 0:5.14.0-570.96.1.el9_60:5.14.0-570.96.1.el9_6

+69

Other highest-scoring records for the same primary product.

  • CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV
    90Now
  • 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…KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now

Published before and after this one in the same product

  • ← EarlierCVE-2025-22053Apr 16, 2025 · net: ibmveth: make veth_pool_store stop hanging
    22Monitor
  • ← EarlierCVE-2025-22055Apr 16, 2025 · net: fix geneve_opt length integer overflow
    22Monitor
  • Later →CVE-2025-22057Apr 16, 2025 · net: decrease cached dst counters in dst_release
    22Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux0a93a710d6df334b828ea064c6d39fda34f901dcVendor (CNA)
Linux Linux1b755d8eb1ace3870789d48fbd94f386ad6e30beVendor (CNA)
Linux Linux28d88ee1e1cc8ac2d79aeb112717b97c5c833d43Vendor (CNA)
Linux Linux31d49eb436f2da61280508d7adf8c9b473b967aaVendor (CNA)
Linux Linux446d94898c560ed2f61e26ae445858a4c4830762Vendor (CNA)
Linux Linux708e268acb3a446ad2a8a3d2e9bd41cc23660cd6Vendor (CNA)
Linux Linuxa263d31c8c92e5919d41af57d9479cfb66323782Vendor (CNA)
Linux Linuxca2adfc03cd6273f0b589fe65afc6f75e0fe116eVendor (CNA)
azl3 kernel 6.6.85.1-4 on Azure Linux 3.06.6.92.2-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 kernel 5.15.176.3-3 on CBL Mariner 2.05.15.180.1-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 kernel 5.15.176.3-3 on CBL-Mariner 2.05.15.180.1-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 kernel 5.15.180.1-1 on CBL Mariner 2.05.15.180.1-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
debian:linux6.1.135-1 · Debian:12Package registry (OSV)
red hat:kernel-64k-debug-debuginfo0:5.14.0-570.96.1.el9_6 · Red Hat:rhel_eus:9.6::appstreamPackage registry (OSV)
red hat:kernel-64k-debug-devel0:5.14.0-570.96.1.el9_6 · Red Hat:rhel_eus:9.6::appstreamPackage registry (OSV)
red hat:kernel-64k-debug-devel-matched0:5.14.0-570.96.1.el9_6 · Red Hat:rhel_eus:9.6::appstreamPackage registry (OSV)
red hat:kernel-64k-debuginfo0:5.14.0-570.96.1.el9_6 · Red Hat:rhel_eus:9.6::appstreamPackage registry (OSV)
red hat:kernel-64k-devel0:5.14.0-570.96.1.el9_6 · Red Hat:rhel_eus:9.6::appstreamPackage registry (OSV)
red hat:kernel-64k-devel-matched0:5.14.0-570.96.1.el9_6 · Red Hat:rhel_eus:9.6::appstreamPackage registry (OSV)
red hat:kernel-debug-debuginfo0:5.14.0-570.96.1.el9_6 · Red Hat:rhel_eus:9.6::appstreamPackage registry (OSV)
red hat:kernel-debug-devel0:5.14.0-570.96.1.el9_6 · Red Hat:rhel_eus:9.6::appstreamPackage registry (OSV)
red hat:kernel-debug-devel-matched0:5.14.0-570.96.1.el9_6 · Red Hat:rhel_eus:9.6::appstreamPackage registry (OSV)
red hat:kernel-debuginfo0:5.14.0-570.96.1.el9_6 · Red Hat:rhel_eus:9.6::appstreamPackage registry (OSV)
red hat:kernel-debuginfo-common-aarch640:5.14.0-570.96.1.el9_6 · Red Hat:rhel_eus:9.6::appstreamPackage registry (OSV)
red hat:kernel-debuginfo-common-ppc64le0:5.14.0-570.96.1.el9_6 · Red Hat:rhel_eus:9.6::appstreamPackage 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 Write

CVSS 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.

References

All records