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-1002595: net: dsa: lantiq_gswip: Fix refcount leak in gswip_gphy_fw_list. Affects Kernel versions >= 14fceff4771e51b23b4485b575cf9e5b3414b89b, < 2e007ac6fa7c9c94ad84da075c5c504afad690a0. 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 critical component of the Linux operating system that provides core functionality and interfaces with hardware devices. It is responsible for managing system resources, including memory, processes, and input/output operations. The lantiq_gswip module in the Kernel is used for managing Ethernet switches on Lantiq SoCs. This vulnerability affects the gswip_gphy_fw_list function in the lantiq_gswip module, which is responsible for handling firmware loading for the Ethernet PHYs connected to the switch. The vulnerability can lead to a refcount leak, potentially causing resource exhaustion and other security issues.

Vulnerability Detail

The vulnerability in the gswip_gphy_fw_list function of the lantiq_gswip module allows for a refcount leak. This can be exploited by an attacker to exhaust system resources, leading to denial-of-service conditions or other security issues. The refcount leak occurs when the function fails to properly release resources after handling firmware loading for the Ethernet PHYs. This can result in an accumulation of unreleased resources, potentially causing memory leaks and other resource-related problems. The vulnerability was introduced in version v4.20 of the Linux Kernel and has been fixed in version v5.18.4.

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 official fix by updating the Linux Kernel.

Conclusion

The vulnerability in the lantiq_gswip module of the Kernel can lead to resource exhaustion and other security issues. It is recommended to update the Linux Kernel to version v5.18.4 or later to mitigate this vulnerability. Users can also use the Vulert Playground to check if their system is affected and take appropriate actions. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can lead to resource exhaustion and other security issues. It may allow an attacker to cause denial-of-service conditions or potentially exploit other vulnerabilities in the system.

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 the Vulert Playground will analyze it for any known vulnerabilities.

At the time of this report, there are no known public exploits for this vulnerability. However, it is always recommended to apply security patches and updates as soon as they become available.

The exact exploitability of this vulnerability depends on various factors, including system configuration and network setup. However, in general, remote exploitation is possible if the affected system is accessible over the network and the necessary conditions are met.

For more details about this vulnerability, including the specific code changes that fix it, you can refer to the vulnerability report on the Cloud Security Alliance GSD Database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1002xxx/GSD-2022-1002595.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