CVE-2022-50312

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-50312
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50312.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50312
Downstream
Related
Published
2025-09-15T14:46:07.399Z
Modified
2025-11-28T02:34:27.571159Z
Summary
drivers: serial: jsm: fix some leaks in probe
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50312.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
03a8482c17dd0ae3251451d54cbbc03f930f21d5
Fixed
ff9a5e50fb1910be33e62925bc7ee3bef474879e
Fixed
3bf05c2650cf6b8d83bf0b0d808cc78c6ee7e84c
Fixed
6066bd69ffba3a6abc7c0793ccba1da79b7d77e3
Fixed
744c2d33a88b082d9d504520f0132b3d688547b2
Fixed
71ffe5111f0ffa2fd43c14fd176c6f05d4e82212
Fixed
6be8e565a4a60530797a974d0a3d0e30656166a1
Fixed
737594536dc3ce732976c0d84bb1dcc842065521
Fixed
3ea1fd63fdf0e83b491c2a9f25b395aa0e4bf6e8
Fixed
1d5859ef229e381f4db38dce8ed58e4bf862006b

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.19.0
Fixed
4.9.331
Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
4.14.296
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.262
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.220
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.150
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.75
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.19.17
Type
ECOSYSTEM
Events
Introduced
5.20.0
Fixed
6.0.3