CVE-2022-50312
JSON

5.5medium

drivers: serial: jsm: fix some leaks in probe

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.17% (higher than 6% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 and 2 more
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.*
CVE List
linux linux_kernelfrom 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.3NVD

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-50312 changed 2026-11-05CVE Terms of Use
NVDCVE-2022-50312 changed 2026-11-05Public domain