CVEBrief

Home / Linux / Linux / CVE-2022-49940

CVE-2022-49940: is it exploited, and which versions of Linux are affected and fixed?

CVE-2022-49940 is a NULL pointer dereference (crash) vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: Linux from 5.18.18 before 5.19, Linux from 5.15.61 before 5.15.66 and Linux from 5.19.2 before 5.19.8 (CVE record by Linux). Fixed in 5.19, 5.15.66 and 5.19.8 (CVE record by Linux). Severity: Medium (5.5, CVSS 3.1, from NVD).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 28, 2026, 19:25 UTC and NVD November 19, 2026, 07:19 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 12:08 UTC
Affected
Linux from 5.18.18 before 5.19, Linux from 5.15.61 before 5.15.66 and Linux from 5.19.2 before 5.19.8
CVE record by Linux
Fixed in
5.19, 5.15.66 and 5.19.8
CVE record by Linux
Severity
Medium 5.5
CVSS 3.1 from NVD
Exploit odds (EPSS)
0.24% in 30 days
higher than 16% of CVEs; FIRST, December 2, 2026

What is CVE-2022-49940?

In the Linux kernel, the following vulnerability has been resolved: tty: n_gsm: add sanity check for gsm->receive in gsm_receive_buf() A null pointer dereference can happen when attempting to access the "gsm->receive()" function in gsmld_receive_buf(). Currently, the code assumes that gsm->recieve is only called after MUX activation. Since the gsmld_receive_buf() function can be accessed without the need to initialize the MUX, the gsm->receive() function will not be set and a NULL pointer dereference will occur. Fix this by avoiding the call to "gsm->receive()" in case the function is not initialized by adding a sanity check. Call Trace: <TASK> gsmld_receive_buf+0x1c2/0x2f0 drivers/tty/n_gsm.c:2861 tiocsti drivers/tty/tty_io.c:2293 [inline] tty_ioctl+0xa75/0x15d0 drivers/tty/tty_io.c:2692 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd

From the CVE record by Linux, last updated May 23, 2026, 15:23 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
LinuxLinuxfrom 5.18.18 before 5.195.19
LinuxLinuxfrom 5.15.61 before 5.15.66
from 5.19.2 before 5.19.8
5.15.66, 5.19.8

As the CVE record by Linux states it, last updated May 23, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
linuxlinux kernelfrom 5.15.61 before 5.15.66operating system
linuxlinux kernelfrom 5.18.18 before 5.19operating system
linuxlinux kernelfrom 5.19.2 before 5.19.8operating system
linuxlinux kernel6.0operating system

NVD analysis (status Analyzed), last modified June 17, 2026, 05:19 UTC.

How severe is CVE-2022-49940?

ScoreVersionVectorSource
Medium 5.5CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2022-49940 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
0.24% probability of exploitation activity in the next 30 days, percentile 16.4 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
May 1, 2025
Published
June 18, 2025, 10:54 UTC
CVE record updated
May 23, 2026, 15:23 UTC by Linux
NVD
Analyzed, last modified June 17, 2026, 05:19 UTC
Last checked
CVE list November 28, 2026, 19:25 UTC; NVD November 19, 2026, 07:19 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Linux?

Every CVE in Linux

Questions about CVE-2022-49940

Is CVE-2022-49940 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.24% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Linux are affected by CVE-2022-49940?

Linux from 5.18.18 before 5.19, Linux from 5.15.61 before 5.15.66 and Linux from 5.19.2 before 5.19.8, per the CVE record by Linux. The tables above give every range the sources list.

Which version fixes CVE-2022-49940?

5.19, 5.15.66 and 5.19.8, per the CVE record by Linux. Check the vendor's advisory before you rely on it.

How severe is CVE-2022-49940?

Medium (5.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.

Where is the official record of CVE-2022-49940?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.