Linux Kernel Modem Status Command Input Queue Blocking Vulnerability in n_gsm TTY Driver

Vulnerability

A vulnerability in the Linux kernel's n_gsm TTY driver can lead to input queue blocking by improperly managing Modem Status Command (MSC) responses. When a Data Link Connection (DLC) channel is opened, the driver processes incoming frames but may wait for a response to the MSC before allowing further input. This issue, present in several Linux kernel versions, particularly affects basic encoding modes, where the MSC is relevant. The vulnerability arises because the driver cannot block the input queue while waiting for a remote response, potentially leading to missed or delayed input processing.

Impact

The vulnerability can cause input queue blocking, disrupting the timely processing of incoming frames in the n_gsm TTY driver.

Reproduction

To reproduce this vulnerability, open a DLC channel in the n_gsm TTY driver while in basic encoding mode. The driver will process incoming frames but may block the input queue by waiting for a response to the Modem Status Command, causing delays in input processing. This issue can be observed by monitoring the input queue for delays or missed frames while the MSC response is awaited.

Remediation

The vulnerability has been addressed by modifying the driver to send the Modem Status Command without waiting for a remote response. Users should update to the latest version of the Linux kernel where this fix has been applied.

Added: Oct 28, 2025, 12:31 PM
Updated: Oct 28, 2025, 12:31 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.0
exploitability
5.7
remediation
7.7
relevance
0.8
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.