net/ipa: ipa_resource: Fix wrong for loop range

Kernel Updated 02 Oct 2025

Summary

29/11/2021
N/A
No i
Unrated
Not published

GSD-2021-1002326: net/ipa: ipa_resource: Fix wrong for loop range. Affects Kernel versions >= 4fd704b3608a4c89260ea33895a694bc5385e00f, < f4d1328e6e304c81db81419d92b9d90b7b3cf9ab. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The net/ipa package is a component of the Linux Kernel, which is responsible for managing network resources and protocols. It provides various functionalities related to IP address management, routing, and network configuration. The ipa_resource module within net/ipa is specifically responsible for handling resource allocation and management within the IP address pool. This vulnerability affects versions of the Linux Kernel from v5.13 to v5.15.4.

Vulnerability Detail

The vulnerability in net/ipa's ipa_resource module arises from a mistake in the for loop range. Due to this error, the loop iterates over an incorrect range, potentially leading to unexpected behavior and memory corruption. An attacker could potentially exploit this vulnerability to execute arbitrary code, escalate privileges, or cause a denial-of-service condition. The impact and attack plausibility of this vulnerability have not been proven yet.

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 →

Conclusion

In conclusion, the net/ipa package in the Linux Kernel is vulnerable to an incorrect for loop range issue in the ipa_resource module. This vulnerability could potentially allow an attacker to execute arbitrary code, escalate privileges, or cause a denial-of-service condition. It is recommended to update the Linux Kernel to version v5.15.5 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability could potentially allow an attacker to execute arbitrary code, escalate privileges, or cause a denial-of-service condition. However, the actual impact and attack plausibility have not been proven yet.

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 in real-time.

No specific workaround has been provided for this vulnerability. It is recommended to update the Linux Kernel to the fixed version.

You can find more information about this vulnerability in the official Linux Kernel repository. The vulnerability details are available in the commit history.

The discovery of this vulnerability was automated and reported by the Cloud Security Alliance's GSD Database.

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