Memory Leak Vulnerability in ptp_clock_register() in Kernel

Kernel Updated 02 Oct 2025

Summary

14/11/2021
N/A
No i
Unrated
Not published

GSD-2021-1002098: ptp: Fix possible memory leak in ptp_clock_register(). Affects Kernel versions >= a33121e5487b424339636b25c35d3a180eaa5f5e, < 95c0a0c5ec8839f8f21672be786e87a100319ca8. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Kernel is a critical component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides essential functionality for the proper functioning of the system. One of the features of the Kernel is the Precision Time Protocol (PTP), which allows for accurate time synchronization in distributed systems. However, a vulnerability has been discovered in the ptp_clock_register() function of the Kernel, which can lead to a memory leak.

Vulnerability Detail

The vulnerability in ptp_clock_register() function can result in a memory leak. When registering a PTP clock, if an error occurs during the registration process, the memory allocated for the clock is not properly freed, leading to a memory leak. This can potentially exhaust system memory resources over time, causing performance degradation or even system instability. The vulnerability was introduced in version v5.5 of the Linux Kernel and has been fixed in version v5.14.15.

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

There is no known workaround for this vulnerability. It is essential to update the Kernel to the fixed version to mitigate the risk of memory leaks.

Conclusion

The memory leak vulnerability in ptp_clock_register() function of the Kernel can have adverse effects on system performance and stability. It is crucial to update the Kernel to version v5.14.15 or later to mitigate the risk of memory leaks. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to memory leaks, which can gradually consume system memory resources and cause performance degradation or system instability.

You can use tools like Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert Playground allows you to analyze your manifest file, such as package-lock.json, and provides real-time alerts for open-source vulnerabilities.

At the time of this report, there is no known exploit for this vulnerability. However, it is crucial to apply the fix as soon as possible to prevent potential memory leaks.

No, the recommended solution is to update the Kernel to the fixed version. Manually fixing the vulnerability without the official patch may not address all the underlying issues and could lead to incomplete mitigation.

You can refer to the official Linux Kernel repository for more information about the fix. The vulnerability details are available in the GSD-2021-1002098.json file in the GSD database (https://github.com/cloudsecurityalliance/gsd-database).

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