isdn: cpai: Array Index Out of Bounds in ctr->cnr

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1001920: isdn: cpai: check ctr->cnr to avoid array index out of bound. Affects Kernel versions < e8b8de17e164c9f1b7777f1c6f99d05539000036. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The isdn package is a component of the Linux Kernel, which is responsible for handling Integrated Services Digital Network (ISDN) connections. ISDN is a set of communication standards used for transmitting voice, video, and data over digital telephone lines. The isdn package provides the necessary functionality for establishing and managing ISDN connections on Linux systems. However, a vulnerability has been discovered in the cpai module of the isdn package, which can lead to an array index out of bounds error.

Vulnerability Detail

The vulnerability in the cpai module of the isdn package arises from a lack of proper bounds checking on the ctr->cnr variable. This can allow an attacker to manipulate the value of ctr->cnr and cause an array index out of bounds error. Exploiting this vulnerability could lead to various consequences, such as crashing the system, executing arbitrary code, or escalating privileges. The vulnerability has been assigned the ID GSD-2021-1001920 and has been fixed in Linux Kernel version v4.4.290 by commit e8b8de17e164c9f1b7777f1c6f99d05539000036.

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 workaround, users can disable the isdn module or remove the affected cpai module from the Kernel configuration. However, this may result in the loss of ISDN functionality. Here is an example of how to disable the isdn module:

  1. Open the terminal.
  2. Run the command: sudo rmmod isdn

Please note that this workaround is temporary and should be followed by updating the Kernel to a fixed version as soon as possible.

Conclusion

The isdn package in the Linux Kernel is vulnerable to an array index out of bounds error in the cpai module. This vulnerability can be exploited to crash the system, execute arbitrary code, or escalate privileges. It is recommended to update the Linux Kernel to version v4.4.290 or later to fix this vulnerability. Users can also temporarily disable the isdn module as a workaround, but updating the Kernel is essential. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The isdn package is a component of the Linux Kernel that handles Integrated Services Digital Network (ISDN) connections.

An array index out of bounds error occurs when a program tries to access an element of an array using an index that is outside the valid range of indices for that array. This can lead to memory corruption, crashes, or other unexpected behavior.

Exploiting this vulnerability can result in crashing the system, executing arbitrary code, or escalating privileges. The specific impact may vary depending on the attacker's intentions and the system's configuration.

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 open-source vulnerabilities, including this one.

You can find more information about this vulnerability, including the fix commit and the affected versions, in the GSD-2021-1001920 JSON file available on the Cloud Security Alliance's GSD Database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1001xxx/GSD-2021-1001920.json).

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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