# CVE-2022-50312: drivers: serial: jsm: fix some leaks in probe

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-09-15T14:46:07.399Z
- Modified: 2026-11-05T20:17:33.887Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

drivers: serial: jsm: fix some leaks in probe

This error path needs to unwind instead of just returning directly.

(As written by CVE List.)

## Affected

- Linux Linux: from 03a8482c17dd0ae3251451d54cbbc03f930f21d5 before ff9a5e50fb1910be33e62925bc7ee3bef474879e; from 03a8482c17dd0ae3251451d54cbbc03f930f21d5 before 3bf05c2650cf6b8d83bf0b0d808cc78c6ee7e84c; from 03a8482c17dd0ae3251451d54cbbc03f930f21d5 before 6066bd69ffba3a6abc7c0793ccba1da79b7d77e3; from 03a8482c17dd0ae3251451d54cbbc03f930f21d5 before 744c2d33a88b082d9d504520f0132b3d688547b2; from 03a8482c17dd0ae3251451d54cbbc03f930f21d5 before 71ffe5111f0ffa2fd43c14fd176c6f05d4e82212; from 03a8482c17dd0ae3251451d54cbbc03f930f21d5 before 6be8e565a4a60530797a974d0a3d0e30656166a1; from 03a8482c17dd0ae3251451d54cbbc03f930f21d5 before 737594536dc3ce732976c0d84bb1dcc842065521; from 03a8482c17dd0ae3251451d54cbbc03f930f21d5 before 3ea1fd63fdf0e83b491c2a9f25b395aa0e4bf6e8; from 03a8482c17dd0ae3251451d54cbbc03f930f21d5 before 1d5859ef229e381f4db38dce8ed58e4bf862006b; 3.19 (not affected: before 3.19; from 4.9.331 up to 4.9.*; from 4.14.296 up to 4.14.*; from 4.19.262 up to 4.19.*; from 5.4.220 up to 5.4.*; from 5.10.150 up to 5.10.*; from 5.15.75 up to 5.15.*; from 5.19.17 up to 5.19.*; from 6.0.3 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 3.19 before 4.9.331; from 4.10 before 4.14.296; from 4.15 before 4.19.262; from 4.20 before 5.4.220; from 5.5 before 5.10.150; from 5.11 before 5.15.75; from 5.16 before 5.19.17; from 6.0 before 6.0.3

## References

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

## Sources

- CVE List: [CVE-2022-50312](https://www.cve.org/CVERecord?id=CVE-2022-50312), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2022-50312](https://nvd.nist.gov/vuln/detail/CVE-2022-50312), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2022-50312 · Whole record: https://cve.day/CVE-2022-50312.json · Rebuilt by cve.day 2026-11-25T22:58:21.159Z
