CVE-2025-22064
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability was identified in the Linux kernel's netfilter subsystem (CVE-2025-22064), specifically in the nf_tables component. The issue was discovered and disclosed on April 16, 2025, affecting various Linux distributions including Ubuntu, Debian, and Red Hat. The vulnerability relates to improper hook registration handling when tables are in a dormant state (NVD, Ubuntu).

Technical details

The vulnerability occurs in the nftablesupdchain function where hook registration rollback is performed incorrectly. Specifically, the function attempts to unregister hooks even when they haven't been registered due to the table being flagged as dormant (inactive). The fix involves moving the assignment operation into the registration block to ensure proper handling (NVD).

Impact

The vulnerability affects multiple Linux distributions including Ubuntu's newer releases (24.04 LTS noble, 24.10 oracular, and 25.04 plucky), while older versions (22.04 LTS jammy and earlier) are not affected. Similarly, in Debian, the vulnerability affects the trixie release but has been fixed in sid version 6.12.25-1 (Ubuntu, Debian).

Mitigation and workarounds

The vulnerability has been patched in various Linux kernel versions. For Debian, the fix is available in version 6.12.25-1 for sid. Ubuntu has marked several releases as requiring updates, while older LTS releases (22.04 and earlier) are not affected. The fix involves a code modification to properly handle hook registration in the nf_tables component (Debian, Ubuntu).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-iot
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-rt-devel-matched
NoYesDec 09, 2025
CVE-2025-40340MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-hwe
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • libperf-devel
NoYesDec 09, 2025

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

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