Resource Leak in Error Handling Path in ptp: ocp

Kernel Updated 02 Oct 2025

Summary

04/06/2021
N/A
No i
Unrated
Not published

GSD-2021-1000542: ptp: ocp: Fix a resource leak in an error handling path. Affects Kernel versions >= a7e1abad13f3f0366ee625831fecda2b603cdc17, < 0e38e702f1152479e6afac34f151dbfd99417f99. 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 ptp: ocp package is a component of the Linux Kernel ecosystem. It provides functionality related to Precision Time Protocol (PTP) and the On-Chip Peripherals (OCP) subsystem. The package is responsible for managing time synchronization between devices and ensuring accurate timekeeping. However, a vulnerability has been discovered in the package that can lead to a resource leak in an error handling path.

Vulnerability Detail

The vulnerability in ptp: ocp arises from a resource leak in an error handling path. When certain error conditions occur, the package fails to release allocated resources properly, leading to a resource leak. This can result in resource exhaustion, degraded system performance, or even denial of service if the leaked resources are critical. The vulnerability was introduced in version v5.11 of the Linux Kernel and has been fixed in version v5.12.9.

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 provided for this vulnerability. It is advised to apply the fix by updating to the patched version of the Linux Kernel.

Conclusion

In conclusion, the ptp: ocp package in the Linux Kernel is vulnerable to a resource leak in an error handling path. This vulnerability can have various negative impacts on system performance and stability. It is crucial to update to version v5.12.9 or later of the Linux Kernel to address this issue. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

ptp: ocp is a component of the Linux Kernel ecosystem that handles Precision Time Protocol (PTP) and the On-Chip Peripherals (OCP) subsystem. It ensures accurate time synchronization between devices.

The vulnerability can lead to a resource leak in an error handling path, potentially causing resource exhaustion, degraded system performance, or denial of service.

You can use Vulert's playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will alert you in real-time if the vulnerability is present.

Yes, the vulnerability has been fixed in version v5.12.9 of the Linux Kernel. It is recommended to update to this version or later to mitigate the risk.

No specific workarounds have been provided for this vulnerability. Updating to the patched version of the Linux Kernel is the recommended solution.

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