Refcount Leak Bug in time.c - Linux Kernel

Kernel Updated 02 Oct 2025

Summary

31/07/2022
N/A
No i
Unrated
Not published

GSD-2022-1004250: xtensa: Fix refcount leak bug in time.c. Affects Kernel versions < 0e403a383c14b63c86bd9df085b7e573e9caee64. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux Kernel is a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality for managing system resources, including memory, processes, and device drivers. The time.c file in the kernel is responsible for handling time-related operations and maintaining accurate system time. However, a vulnerability has been discovered in the time.c file that leads to a refcount leak.

Vulnerability Detail

The refcount leak bug in time.c allows for the improper handling of reference counts, leading to a resource leak. This vulnerability can be exploited by an attacker to exhaust system resources, potentially resulting in denial of service (DoS) conditions. The bug originates from a coding error in the time.c file, which fails to properly decrement the reference count when releasing resources. As a result, the reference count remains incremented, causing a leak of system resources over time. This vulnerability has been assigned the ID GSD-2022-1004250 and is fixed in Linux Kernel version v5.18.8 by commit 0e403a383c14b63c86bd9df085b7e573e9caee64.

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 this vulnerability is fixed in Linux Kernel version v5.18.8, there is no specific workaround available. It is advised to update to the fixed version as soon as possible.

Conclusion

The refcount leak bug in time.c of the Linux Kernel can lead to resource leaks and potential denial of service (DoS) conditions. It is crucial to update to Linux Kernel version v5.18.8 or later to mitigate this vulnerability. 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 resource leaks and potential denial of service (DoS) conditions.

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 to the playground, and it will alert you if the vulnerability is present.

Yes, the vulnerability is fixed in Linux Kernel version v5.18.8. It is recommended to update to this version or a later one.

The vulnerability itself does not provide remote exploitation capabilities. However, if an attacker can gain access to the affected system, they can potentially exploit the vulnerability to exhaust system resources.

There are no known instances of this vulnerability being actively exploited in the wild. However, it is still important to apply the fix 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