CVE-2025-22056: 
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-22056 is a vulnerability discovered in the Linux kernel's netfilter component, specifically in the nft_tunnel functionality. The vulnerability was disclosed on April 16, 2025, affecting the Linux kernel's handling of NFTA_TUNNEL_KEY_OPTS_GENEVE attributes (NVD).

Technical details

The vulnerability stems from a type confusion issue in the netfilter's nft_tunnel component when handling multiple NFTA_TUNNEL_KEY_OPTS_GENEVE attributes. The parsing logic should place every geneve_opt structure compactly, but the current implementation performs incorrect type conversion before pointer addition, leading to a heap out-of-bounds write condition. This was confirmed through KASAN (Kernel Address Sanitizer) detection showing a slab-out-of-bounds write of size 124 bytes (NVD, Red Hat).

Impact

The vulnerability results in a heap out-of-bounds write condition which could potentially lead to memory corruption in the kernel. The severity is rated as Important with a CVSS v3.1 base score of 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) (Red Hat).

Exploitability

The vulnerability requires local access and can be triggered through the netfilter subsystem when handling NFTA_TUNNEL_KEY_OPTS_GENEVE attributes. A proof-of-concept exists as demonstrated by the kernel crash log showing the exact point of failure in the nft_tunnel_obj_init function (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Linux kernel version 6.12.25-1 for the unstable branch. Various Linux distributions have released patches, including Debian which has marked the fix as available in version 6.12.25-1 while older versions remain vulnerable (Debian Tracker).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.135-1

Fixed

sid

linux: 6.12.25-1

Fixed

trixie

linux: 6.12.25-1

Fixed

Ubuntu

Fixed

bionic

linux

Not Affected

bionic (esm-infra)

linux

Not Affected

bionic (fips-updates)

linux-fips

Not Affected

bionic (fips)

linux-fips

Not Affected

devel

linux

Not Affected

focal

linux

Not Affected

focal (esm-infra)

linux-bluefield

Affected

focal (fips-updates)

linux-fips

Not Affected

RHEL / CentOS

Fixed

OpenShift

openshift/ose-rhel-coreos-9

Affected

RHEL 8

Not Affected

RHEL 9

:appstream:kernel-0:5.14.0-570.96.1.el9_6.src

Fixed

RHEL 10

kernel-0:6.12.0-124.8.1.el10_1.src

Fixed

Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-99804HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-oracle-6.8
NoYesNov 20, 2026
CVE-2026-99798HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-bluefield
NoYesNov 20, 2026
CVE-2026-99799MEDIUM5.1
  • Linux Kernel logoLinux Kernel
  • kernel-modules-core
NoYesNov 20, 2026
CVE-2026-99797MEDIUM5.1
  • Linux Kernel logoLinux Kernel
  • kernel-rt-modules-partner
NoYesNov 20, 2026
CVE-2026-99796MEDIUM5.1
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-modules-extra
NoYesNov 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management