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

CVE record · `CVE-2022-49940`

- **Identifiers:** `CVE-2022-49940`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 18 Jun 2025
- **Updated:** 23 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 18 Jun 2025, 10:54 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `b8faa754b523a845facdc83120b2ecd290d7fa6d to before 5a82cf64f8ad63caf6bf115642ce44ddbc64311e` (git)
  - affected: `dfa9b6d34aac2154b5e926d7a7a061123bf137c6 to before 309aea4b6b813f6678c3a547cfd7fe3a76ffa976` (git)
  - affected: `5e59c010c6862da329db17acca086afd8bea1aa8 to before 5aa37f9510345a812c0998bcbbc4d88d1dcc4d8b` (git)
  - affected: `01aecd917114577c423f07cec0d186ad007d76fc to before f16c6d2e58a4c2b972efcf9eb12390ee0ba3befb` (git)
  - affected: `2dc1be365a70699f7dda92fd9e48b84546086070` (git)
  - affected: `5.18.18 to before 5.19` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.15.61 to before 5.15.66` (semver)
  - affected: `5.19.2 to before 5.19.8` (semver)
  - Other versions: unaffected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0024, the 15th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 18 Jun 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2022-49940](https://www.cve.org/CVERecord?id=CVE-2022-49940)
- [NVD: CVE-2022-49940](https://nvd.nist.gov/vuln/detail/CVE-2022-49940)

### References from the CNA

- <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>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2022-49940>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2022-49940/>. Everything for agents: <https://agentprime.io/llms.txt>.
