Refcount Leak in pata_octeon_cf in Kernel

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1004046: ata: pata_octeon_cf: Fix refcount leak in octeon_cf_probe. Affects Kernel versions >= 43f01da0f2794b464ade2ffe1f780c69d7ce7b75, < 7bd85c5ba1687daf54e3b6907673c3604b1e75cf. 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 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 pata_octeon_cf driver is responsible for handling CompactFlash (CF) cards on Octeon-based systems. It is a part of the Linux Kernel, which is an open-source operating system kernel used by various Linux distributions. The pata_octeon_cf driver allows the system to communicate with CF cards connected to the Octeon platform. However, a vulnerability has been discovered in the driver that can lead to a refcount leak.

Vulnerability Detail

The vulnerability in pata_octeon_cf driver is caused by a refcount leak in the octeon_cf_probe function. This can result in a memory leak, leading to potential resource exhaustion and system instability. An attacker may be able to exploit this vulnerability to cause a denial-of-service (DoS) condition or potentially execute arbitrary code with elevated privileges. The vulnerability was introduced in version v3.8 of the Linux Kernel and has been fixed in version v4.9.318.

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 disable the pata_octeon_cf driver if it is not required for their system. This can be done by blacklisting the driver module or removing it from the kernel configuration. However, this workaround should only be considered if the driver is not essential for the system's functionality.

Conclusion

The pata_octeon_cf driver in the Linux Kernel is vulnerable to a refcount leak, which can lead to memory leaks and potential resource exhaustion. It is recommended to update the Linux Kernel to version v4.9.318 or later to fix this vulnerability. Alternatively, users can disable the pata_octeon_cf driver if it is not required for their system. 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 refcount leak, resulting in a memory leak and potential resource exhaustion. This can cause system instability and may allow an attacker to execute arbitrary code with elevated privileges.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for any open-source vulnerabilities, including this one.

Yes, a patch has been released in version v4.9.318 of the Linux Kernel. It is recommended to update to this version or a later one to fix the vulnerability.

Yes, as a workaround, you can disable the pata_octeon_cf driver if it is not required for your system. This can be done by blacklisting the driver module or removing it from the kernel configuration.

At the time of this report, there are no known exploits for this vulnerability. However, it is important to apply the patch or workaround as soon as possible to prevent potential exploitation.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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