isdn: cpai: check ctr->cnr to avoid array index out of bound

Kernel Updated 02 Oct 2025

Summary

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

UVI-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 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 isdn package is a part of the Linux Kernel ecosystem and is responsible for handling ISDN (Integrated Services Digital Network) connections. 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 specifically designed to handle the Common ISDN Application Programming Interface (CAPI). This vulnerability affects the cpai module and 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 for accessing an array, but there is no validation to ensure that it remains within the bounds of the array. As a result, an attacker could potentially manipulate the 'ctr->cnr' value to access memory outside the allocated array, leading to a variety of potential security issues such as information disclosure or remote code execution. This vulnerability has been addressed in the Linux Kernel version v5.15 by commit 1f3e2e97c003f80c4b087092b225c8787ff91e4d.

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

The isdn cpai module in the Linux Kernel is vulnerable to an array index out of bounds error. This vulnerability has been addressed in the Linux Kernel version v5.15 by commit 1f3e2e97c003f80c4b087092b225c8787ff91e4d. It is crucial to update the Linux Kernel to a version that includes this commit to mitigate the risk of potential security issues. 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 ecosystem that handles ISDN connections.

The cpai module is a specific module within the isdn package that deals with the Common ISDN Application Programming Interface (CAPI).

An array index out of bounds error occurs when an index used to access an array is either negative or exceeds the size of the array. This can lead to memory corruption and potential security vulnerabilities.

This vulnerability could potentially allow an attacker to access memory outside the allocated array, leading to information disclosure or remote code execution.

To fix this vulnerability, update the Linux Kernel to version v5.15 or later, ensuring that the commit 1f3e2e97c003f80c4b087092b225c8787ff91e4d is included.

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