Vulnerability in Kernel: net: dsa: lantiq_gswip: Fix refcount leak in gswip_gphy_fw_list

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1003724: net: dsa: lantiq_gswip: Fix refcount leak in gswip_gphy_fw_list. Affects Kernel versions >= 14fceff4771e51b23b4485b575cf9e5b3414b89b, < 7c8df6fad43d9d5d77f281f794b2a93cd02fd1a9. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel is a crucial component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It provides essential functionality for the proper functioning of the system. The lantiq_gswip module within the Kernel is specifically designed for Lantiq GSWIP Ethernet switches. These switches are commonly used in networking devices. The gswip_gphy_fw_list function within the lantiq_gswip module is responsible for managing firmware lists for the Ethernet PHYs. However, a vulnerability has been identified in this function that can lead to a refcount leak.

Vulnerability Detail

The vulnerability in the gswip_gphy_fw_list function of the lantiq_gswip module allows for a refcount leak. This can result in a resource leak, potentially leading to memory corruption or exhaustion. An attacker could 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 v4.20 of the Linux Kernel and has been fixed in version v5.4.198.

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 recommended to apply the fix mentioned in the 'how_to_fix' section.

Conclusion

The vulnerability in the lantiq_gswip module of the Kernel can lead to a refcount leak, potentially resulting in memory corruption or exhaustion. It is crucial to update the Linux Kernel to version v5.4.198 or later to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can lead to a resource leak, potentially resulting in memory corruption or exhaustion. It can be exploited by an attacker to cause a denial-of-service (DoS) condition or 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 it will provide real-time monitoring and alerts for open-source vulnerabilities.

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

There is no known workaround for this vulnerability. It is highly recommended to update the Kernel to the fixed version as soon as possible.

You can find more information about this vulnerability in the vulnerability database maintained by the Cloud Security Alliance. The specific vulnerability ID is GSD-2022-1003724.

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