Critical Vulnerability in Linux Kernel: Potential Use-After-Free and Counter Refcount Underflow

linux Updated 02 Oct 2025

Summary

21/10/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-50043: In the Linux kernel, the following vulnerability has been resolved: nfsd: fix possible badness in FREE_STATEID When multiple FREE_STATEIDs are sent for the same delegation stateid, it can lead to a possible either use-af... Affects linux versions < 6.11.4-1. Fixed in 6.11.4-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is the core component of many operating systems, providing essential services for hardware and software interaction. It is known for its stability, performance, and security features. However, like any complex software, it can have vulnerabilities. This specific issue affects the handling of state IDs in the NFS daemon, which can lead to severe security implications if exploited.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the NFS daemon (nfsd) related to the handling of FREE_STATEIDs. When multiple FREE_STATEIDs are sent for the same delegation stateid, it can result in either a use-after-free error or a counter refcount underflow. This occurs because the code drops the client lock before calling nfs4_put_stid(), allowing another FREE_STATE to access the stateid again. The first FREE_STATE then proceeds to free the stateid, leading to potential exploitation.

How To Fix

Minimum fixed version

6.11.4-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. It is highly recommended to apply the patch as soon as it is available to mitigate risks.

Conclusion

The identified vulnerability in the Linux kernel poses significant risks related to the handling of state IDs in the NFS daemon. It is essential for users to update to the patched version to protect their systems from potential exploitation. Utilizing tools like Vulert can help in monitoring and managing open-source vulnerabilities effectively.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability involves potential use-after-free and counter refcount underflow errors in the NFS daemon of the Linux kernel.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By checking your manifest file like package-lock.json, you can identify if your application is affected.

Exploitation of this vulnerability could lead to system instability, unauthorized access, or data corruption due to improper handling of state IDs.

Yes, a patch has been released in version 6.11.4-1 of the Linux package. It is crucial to update to this version to mitigate the vulnerability.

You can use Vulert's playground to check for vulnerabilities in your application without needing to sign up. This tool provides real-time monitoring and alerts.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.11.4-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback