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

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


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-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-gcp
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra
NoYesJan 14, 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

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