Use After Free Vulnerability in net: dsa: lantiq_gswip

Kernel Updated 02 Oct 2025

Summary

27/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000464: net: dsa: lantiq_gswip: fix use after free in gswip_remove(). Affects Kernel versions >= b5652bc50dde7b84e93dfb25479b64b817e377c1, < df2495f329b08ac0d0d3e6334a01955ae839005e. 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 net: dsa: lantiq_gswip package is a component of the Linux Kernel. It is responsible for managing the Data Switching Architecture (DSA) for Lantiq GSWIP devices. This package provides functionality for configuring and controlling network switches. The vulnerability in this package allows for a use after free scenario, where a pointer to a freed memory location is still accessed, leading to potential security issues.

Vulnerability Detail

The use after free vulnerability in net: dsa: lantiq_gswip occurs in the gswip_remove() function. This function is responsible for removing a Lantiq GSWIP device from the system. However, due to improper memory management, a pointer to the device structure is not properly invalidated after it is freed. This can lead to a situation where the freed memory is still accessed, potentially allowing an attacker to execute arbitrary code or cause a denial of service. The vulnerability was introduced in version v5.15.24 of the Linux Kernel and has been fixed in version v5.15.25.

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 as soon as possible.

Conclusion

The use after free vulnerability in net: dsa: lantiq_gswip can pose a significant security risk to systems running the affected Linux Kernel versions. It is crucial to update to version v5.15.25 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

Net: dsa: lantiq_gswip is a component of the Linux Kernel that manages the Data Switching Architecture (DSA) for Lantiq GSWIP devices. It provides functionality for configuring and controlling network switches.

A use after free vulnerability occurs when a program continues to use a pointer to a memory location that has already been freed. This can lead to security issues, as the freed memory may be modified by an attacker or reused for other purposes.

The use after free vulnerability in net: dsa: lantiq_gswip can potentially allow an attacker to execute arbitrary code or cause a denial of service. The exact impact depends on the specific use case and system configuration.

This vulnerability was fixed in version v5.15.25 of the Linux Kernel. The fix involved proper invalidation of the pointer to the freed device structure in the gswip_remove() function.

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

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