# drivers: serial: jsm: fix some leaks in probe

CVE record · `CVE-2022-50312`

- **Identifiers:** `CVE-2022-50312`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 15 Sept 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 15 Sept 2025, 14:46 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: `03a8482c17dd0ae3251451d54cbbc03f930f21d5 to before ff9a5e50fb1910be33e62925bc7ee3bef474879e` (git)
  - affected: `03a8482c17dd0ae3251451d54cbbc03f930f21d5 to before 3bf05c2650cf6b8d83bf0b0d808cc78c6ee7e84c` (git)
  - affected: `03a8482c17dd0ae3251451d54cbbc03f930f21d5 to before 6066bd69ffba3a6abc7c0793ccba1da79b7d77e3` (git)
  - affected: `03a8482c17dd0ae3251451d54cbbc03f930f21d5 to before 744c2d33a88b082d9d504520f0132b3d688547b2` (git)
  - affected: `03a8482c17dd0ae3251451d54cbbc03f930f21d5 to before 71ffe5111f0ffa2fd43c14fd176c6f05d4e82212` (git)
  - affected: `03a8482c17dd0ae3251451d54cbbc03f930f21d5 to before 6be8e565a4a60530797a974d0a3d0e30656166a1` (git)
  - affected: `03a8482c17dd0ae3251451d54cbbc03f930f21d5 to before 737594536dc3ce732976c0d84bb1dcc842065521` (git)
  - affected: `03a8482c17dd0ae3251451d54cbbc03f930f21d5 to before 3ea1fd63fdf0e83b491c2a9f25b395aa0e4bf6e8` (git)
  - affected: `03a8482c17dd0ae3251451d54cbbc03f930f21d5 to before 1d5859ef229e381f4db38dce8ed58e4bf862006b` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.19`
  - unaffected: `before 3.19` (semver)
  - unaffected: `4.9.331 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.296 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.262 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.220 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.150 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.75 to 5.15.*, inclusive` (semver)
  - unaffected: `5.19.17 to 5.19.*, inclusive` (semver)
  - unaffected: `6.0.3 to 6.0.*, inclusive` (semver)
  - unaffected: `6.1 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel's jsm serial driver has resource leaks in its probe error path, and the affected versions run from 3.19 until the fixing commits. The source gives few details on how the leaks could be triggered or what an attacker could gain. Upgrade to 4.9.331, 4.14.296, 4.19.262, 5.4.220, or a later release in those branches.

Written 16 Nov 2026.

## 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.0017, the 6th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 15 Sept 2025, 14:46 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2022-50312)
- 15 Sept 2025, 15:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-50312)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/ff9a5e50fb1910be33e62925bc7ee3bef474879e>
- <https://git.kernel.org/stable/c/3bf05c2650cf6b8d83bf0b0d808cc78c6ee7e84c>
- <https://git.kernel.org/stable/c/6066bd69ffba3a6abc7c0793ccba1da79b7d77e3>
- <https://git.kernel.org/stable/c/744c2d33a88b082d9d504520f0132b3d688547b2>
- <https://git.kernel.org/stable/c/71ffe5111f0ffa2fd43c14fd176c6f05d4e82212>
- <https://git.kernel.org/stable/c/6be8e565a4a60530797a974d0a3d0e30656166a1>
- <https://git.kernel.org/stable/c/737594536dc3ce732976c0d84bb1dcc842065521>
- <https://git.kernel.org/stable/c/3ea1fd63fdf0e83b491c2a9f25b395aa0e4bf6e8>
- <https://git.kernel.org/stable/c/1d5859ef229e381f4db38dce8ed58e4bf862006b>

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-50312>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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