Vulnerability in powerpc/secvar package: refcount leak in format_show()

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001386: powerpc/secvar: fix refcount leak in format_show(). Affects Kernel versions < c105ffb6b9744158e37e9f81f0f38861951d1c1f. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The powerpc/secvar package is a component of the Linux Kernel, which is responsible for managing secure variables on PowerPC systems. These secure variables store sensitive information such as cryptographic keys and system configuration settings. The format_show() function within the package is used to display the contents of these secure variables. However, a vulnerability has been discovered in this function that leads to a refcount leak.

Vulnerability Detail

The refcount leak vulnerability in the powerpc/secvar package allows an attacker to cause a memory leak by repeatedly accessing the format_show() function. By exploiting this vulnerability, an attacker could exhaust system resources, leading to a denial of service condition. Additionally, this memory leak could potentially be leveraged to bypass security mechanisms or disclose sensitive information stored in secure variables.

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

As a workaround, users can avoid the exploitation of this vulnerability by limiting access to the format_show() function in the powerpc/secvar package. This can be achieved by implementing access controls or disabling the function altogether if it is not required for system functionality.

Conclusion

In conclusion, the powerpc/secvar package in the Linux Kernel is vulnerable to a refcount leak in the format_show() function. This vulnerability can lead to a denial of service condition and potential disclosure of sensitive information. It is crucial to update the Linux Kernel to version v5.16.20 or later to mitigate these risks. If updating is not immediately possible, implementing access controls or disabling the format_show() function can serve as temporary workarounds. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to a denial of service condition and potential bypass of security mechanisms or disclosure of sensitive information.

Systems running the Linux Kernel with the powerpc/secvar package are affected. Specifically, versions prior to v5.16.20 are vulnerable.

At the time of this report, there is no known exploit for this vulnerability. However, it is important to apply the recommended fix to mitigate any potential risks.

The recommended solution is to update the Linux Kernel to the fixed version. However, if updating is not feasible, implementing access controls or disabling the format_show() function can provide a temporary workaround.

For more details about this vulnerability, you can refer to the source link provided in the database_specific section of this report.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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