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

Overview

CVE-2025-22024 is a vulnerability discovered in the Linux kernel affecting the Network File System daemon (nfsd) component. The vulnerability was disclosed on April 16, 2025, and involves issues with the management of listener transports in the nfsd service (NVD, Debian Tracker).

Technical details

The vulnerability occurs when no active threads are running and a root user uses the nfsdctl command to remove a particular listener from the list of previously added ones, then starts the server by increasing the number of threads. The issue specifically manifests in the nfsd_nl_listener_set_doit() function, which manipulates the list of transports of server's sv_permsocks and closes the specified listener, but fails to update the server's sp_xprts list accordingly. This leads to a refcount_t addition on 0, resulting in a use-after-free condition (NVD).

Impact

The vulnerability can lead to use-after-free conditions in the Linux kernel's NFS daemon, potentially causing system instability or crashes. The issue affects systems running the NFS server functionality and requires root privileges to exploit (Debian Tracker).

Exploitability

The vulnerability requires root privileges to exploit, as it involves the use of the nfsdctl command. The attack vector is local, requiring administrative access to the affected system (NVD).

Mitigation and workarounds

The fix involves modifying the behavior when nfsdctl attempts to remove a listener. Instead of just manipulating the sv_permsocks list, the solution deletes all existing listener transports and recreates all-but-the-removed ones. Fixed versions are available in various Linux distributions, including Debian Bookworm (6.12.25-1) and Debian Sid (Debian Tracker).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux

Fixed

sid

linux: 6.12.25-1

Fixed

trixie

linux: 6.12.25-1

Fixed

RHEL / CentOS

Affected

RHEL 8

Not Affected

RHEL 9

kernel-rt.src

Affected

RHEL 10

kernel.src

Affected

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-99804MEDIUM5.1
  • Linux Kernel logoLinux Kernel
  • linux-aws-6.14
NoYesNov 20, 2026
CVE-2026-99799MEDIUM5.1
  • Linux Kernel logoLinux Kernel
  • linux-hwe-5.4
NoYesNov 20, 2026
CVE-2026-99797MEDIUM5.1
  • Linux Kernel logoLinux Kernel
  • linux-oracle
NoYesNov 20, 2026
CVE-2026-99796MEDIUM5.1
  • Linux Kernel logoLinux Kernel
  • kernel-kmap-internal
NoYesNov 20, 2026
CVE-2026-99798MEDIUM4.3
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
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