Refcount Leak in gamecube_rtc_read_offset_from_sram in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1001109: rtc: gamecube: Fix refcount leak in gamecube_rtc_read_offset_from_sram. Affects Kernel versions >= 86559400b3ef9de93ba50523cffe767c35cd531a, < de66e4f28dfd11f954966c447b4430529ed040a2. 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 Kernel is a crucial component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides essential functionalities for the proper functioning of the system. The gamecube_rtc_read_offset_from_sram function is part of the Kernel's Real-Time Clock (RTC) subsystem, specifically designed for the GameCube platform. This function is responsible for reading the offset from the GameCube's SRAM (Static Random Access Memory) and has been found to have a refcount leak vulnerability.

Vulnerability Detail

The refcount leak vulnerability in gamecube_rtc_read_offset_from_sram allows an attacker to manipulate the reference count of the SRAM, potentially leading to memory corruption or resource exhaustion. By exploiting this vulnerability, an attacker could cause a denial-of-service (DoS) condition or execute arbitrary code with elevated privileges. The vulnerability was introduced in version v5.17 of the Linux Kernel and has been fixed in version v5.17.2.

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 temporary workaround, users can disable the gamecube_rtc_read_offset_from_sram function by modifying the Kernel configuration. However, this workaround may impact the functionality of the GameCube platform and is not recommended as a long-term solution. It is strongly advised to apply the official fix by updating the Kernel.

Conclusion

The refcount leak vulnerability in gamecube_rtc_read_offset_from_sram poses a risk of memory corruption and resource exhaustion. It is crucial to update the Linux Kernel to version v5.17.2 or later to mitigate this vulnerability. Applying the official fix ensures that the vulnerable code is replaced with the patched version, safeguarding the system from potential exploitation. 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 potentially lead to memory corruption or resource exhaustion, allowing an attacker to cause a denial-of-service (DoS) condition or execute arbitrary code with elevated privileges.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it in real-time to identify any open-source vulnerabilities, including this one.

Yes, a temporary workaround is to disable the gamecube_rtc_read_offset_from_sram function by modifying the Kernel configuration. However, this is not recommended as a long-term solution, and it is advised to apply the official fix by updating the Kernel.

The vulnerability was introduced in version v5.17 of the Linux Kernel. All versions between v5.17 and v5.17.1 are affected. It has been fixed in version v5.17.2.

You can find more information about this vulnerability in the GSD-2022-1001109 entry of the GSD Database maintained by the Cloud Security Alliance. The source can be accessed at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1001xxx/GSD-2022-1001109.json.

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