CVE-2024-56558
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-56558 affects the Linux kernel's NFSD (Network File System daemon) component. The vulnerability was discovered in the e_show function's handling of export references, where RCU protection alone was insufficient to prevent a use-after-free condition. The issue was disclosed on December 27, 2024, and has been assigned a CVSS v3.1 base score of 7.8 (HIGH) (NVD).

Technical details

The vulnerability stems from a reference counting issue in the NFSD's export handling mechanism. The e_show function was called with RCU protection, which only prevented the exp object from being freed but did not maintain its reference count. This could lead to the reference count dropping to zero while the object was still in use, triggering a refcount use-after-free warning when exp_get was called. The issue was traced back to a previous commit 'bf18f163e89c' titled "NFSD: Using exp_get for export getting" (Kernel Commit).

Impact

The vulnerability could potentially lead to use-after-free conditions in the Linux kernel's NFSD component, which handles Network File System operations. Based on the CVSS score of 7.8, this vulnerability has high severity ratings for confidentiality, integrity, and availability impacts (NVD).

Mitigation and workarounds

The vulnerability has been patched by modifying the e_show function to use cache_get_rcu instead of exp_get, ensuring that the export object remains active throughout its usage. The fix has been incorporated into multiple Linux kernel versions and is available through distribution-specific updates, such as Debian's security update DLA-4076-1 (Debian Update).

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