CVE Database›Document archive›CVE-2022-49940

CVE-2022-49940

kernel: tty: n_gsm: add sanity check for gsm->receive in gsm_receive_buf()

Loading…

Severity

Moderate

Red Hat Product Security

7

CVSS 3.1

Review impact separately from score.

Published · June 18, 2025

Updated · October 30, 2026

Description

A flaw was found in the Linux kernel's n_gsm driver. This flaw allows a local user to cause a denial of service (DoS) by crashing the system. By triggering the receive buffer routine before multiplexer initialization, the driver attempts to access an uninitialized function pointer, resulting in a null pointer dereference.

Statement

This vulnerability is rated Moderate rather than Important because exploitation is restricted to a local denial of service without compromising system confidentiality or integrity. Triggering this flaw requires an authenticated local attacker with permissions to manipulate terminal line disciplines via ioctl calls on an unconfigured modem interface, leading to an unhandled kernel null pointer dereference. Under default Red Hat Enterprise Linux installations, the affected GSM line discipline module is not loaded, substantially limiting exposure in standard enterprise environments.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CWE-476 · NULL Pointer Dereference