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-1002182: isdn: cpai: check ctr->cnr to avoid array index out of bound. Affects Kernel versions < 1f3e2e97c003f80c4b087092b225c8787ff91e4d. 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 isdn package is a component of the Linux Kernel that provides support for Integrated Services Digital Network (ISDN) devices. ISDN is a set of communication standards for transmitting voice, video, and data over digital telephone lines. The cpai module within the isdn package is responsible for handling call progress analysis. It analyzes the signals on the ISDN line to determine the progress of a call. However, a vulnerability exists in the cpai module that can lead to an array index out of bounds error.

Vulnerability Detail

The vulnerability in the isdn cpai module arises from a lack of proper bounds checking on the ctr->cnr variable. This variable is used as an index to access an array, but there is no validation performed on its value. An attacker could exploit this vulnerability by providing a malicious input that exceeds the bounds of the array, leading to memory corruption or a crash. The impact of this vulnerability could range from denial of service to potential remote code execution.

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

If updating the Linux Kernel is not immediately feasible, users can apply a workaround by disabling the isdn cpai module. This can be done by blacklisting the module or removing it from the kernel configuration. However, it is important to note that disabling the module will result in the loss of call progress analysis functionality for ISDN devices.

Conclusion

The isdn cpai module in the Linux Kernel is vulnerable to an array index out of bounds error. This vulnerability can be mitigated by updating the Linux Kernel to version v5.15 or later. Alternatively, users can disable the isdn cpai module, but this will result in the loss of call progress analysis functionality. 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 provides support for Integrated Services Digital Network (ISDN) devices. It enables communication over digital telephone lines for voice, video, and data transmission.

The cpai module is a part of the isdn package that handles call progress analysis. It analyzes the signals on the ISDN line to determine the progress of a call.

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. In this vulnerability, the ctr->cnr variable is used as an index without proper bounds checking, leading to potential memory corruption or crashes.

The impact of this vulnerability could range from denial of service to potential remote code execution. An attacker could exploit the vulnerability to crash the system or execute arbitrary code with elevated privileges.

To fix this vulnerability, users should update their Linux Kernel to version v5.15 or later. This can be done by downloading the latest kernel source code from the official Linux Kernel repository and compiling it according to the provided instructions.

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