CVE-2024-27389: linux-libc-dev - pstore: inode: Only d_invalidate() is needed

linux Updated 02 Oct 2025

Summary

01/05/2024
No i
Unrated
Not published

CVE-2024-27389: In the Linux kernel, the following vulnerability has been resolved: pstore: inode: Only d_invalidate() is needed Unloading a modular pstore backend with records in pstorefs would trigger the dput() double-drop warning: W... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

linux-libc-dev is a package in the Debian operating system that provides the C library headers for the Linux kernel. These headers are necessary for compiling and linking programs that use functions provided by the kernel. The linux-libc-dev package is an essential component for developers and system administrators working on Debian-based systems. However, a vulnerability has been identified in the package that could potentially lead to security issues.

Vulnerability Detail

The vulnerability in linux-libc-dev, identified as CVE-2024-27389, relates to the pstore module in the Linux kernel. When unloading a modular pstore backend with records in pstorefs, a double-drop warning occurs due to the incorrect use of d_drop() and dput() functions. This reference counting problem can lead to potential security risks. The issue has been resolved by using d_invalidate() instead of the problematic d_drop()/dput() combination and updating the code to handle error codes appropriately.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

No specific workaround has been mentioned for this vulnerability. It is advised to follow the recommended fix and update the linux-libc-dev package to the latest version.

Conclusion

The linux-libc-dev package in Debian is vulnerable to a reference counting issue in the pstore module of the Linux kernel. This vulnerability has been assigned CVE-2024-27389 and has a CVSS score of 5.5. To mitigate the risk, it is crucial to update the linux-libc-dev package to version 6.1.90-1 or later. For further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

linux-libc-dev is a package in the Debian operating system that provides the C library headers for the Linux kernel. These headers are necessary for compiling and linking programs that use functions provided by the kernel.

The vulnerability in linux-libc-dev can potentially lead to security risks due to a reference counting problem in the pstore module of the Linux kernel. Exploitation of this vulnerability could result in unauthorized access or other malicious activities.

To fix this vulnerability, it is recommended to update the linux-libc-dev package to version 6.1.90-1 or later. This can be done by running the package manager on the Debian system and applying the available updates.

No specific workaround has been mentioned for this vulnerability. It is advised to follow the recommended fix and update the linux-libc-dev package to the latest version.

More information about this vulnerability can be found in the CVE-2024-27389 entry on the National Vulnerability Database (NVD) website.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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