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.
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?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Linux | Linux | from 5.18.18 before 5.19 | 5.19 |
| Linux | Linux | from 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?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linux | linux kernel | from 5.15.61 before 5.15.66 | operating system |
| linux | linux kernel | from 5.18.18 before 5.19 | operating system |
| linux | linux kernel | from 5.19.2 before 5.19.8 | operating system |
| linux | linux kernel | 6.0 | operating system |
NVD analysis (status Analyzed), last modified June 17, 2026, 05:19 UTC.
How severe is CVE-2022-49940?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD |
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?
- CWE-476 NULL Pointer Dereference
Where are the vendor advisories and references?
- https://git.kernel.org/stable/c/5a82cf64f8ad63caf6bf115642ce44ddbc64311e
- https://git.kernel.org/stable/c/309aea4b6b813f6678c3a547cfd7fe3a76ffa976
- https://git.kernel.org/stable/c/5aa37f9510345a812c0998bcbbc4d88d1dcc4d8b
- https://git.kernel.org/stable/c/f16c6d2e58a4c2b972efcf9eb12390ee0ba3befb
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?
- Jul 4, 2026CVE-2026-53362 Linux: heap buffer overflow exploited
- Jun 25, 2026CVE-2026-53266 Linux: out-of-bounds write (memory corruption) exploited
- May 23, 2026CVE-2026-46300 Linux: write-what-where Condition exploited
- Apr 22, 2026CVE-2026-31431 Linux: incorrect resource transfer exploited
- Oct 13, 2025CVE-2025-39964 Linux: race condition exploited
- Sep 5, 2025CVE-2025-39682 Linux: unusual condition not checked exploited
- Jul 22, 2025CVE-2025-38352 Linux: time-of-check time-of-use race condition exploited
- Dec 27, 2024CVE-2024-53197 Linux: out-of-bounds write (memory corruption) exploited
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.