CVE-2022-50312

drivers: serial: jsm: fix some leaks in probe

MEDIUM
5.5
CVSS Score
Published: September 15, 2025 at 02:46 PM UTC
Updated: June 17, 2026 at 05:23 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.19 ≤ v < 4.14.2963.19 ≤ v < 4.19.2623.19 ≤ v < 4.9.3313.19 ≤ v < 5.10.1503.19 ≤ v < 5.15.753.19 ≤ v < 5.19.173.19 ≤ v < 5.4.2203.19 ≤ v < 6.0.33.19 ≤ v < 6.14.10 ≤ v < 4.14.2964.15 ≤ v < 4.19.2624.20 ≤ v < 5.4.2205.11 ≤ v < 5.15.755.16 ≤ v < 5.19.175.5 ≤ v < 5.10.1506.0 ≤ v < 6.0.33.193a8482c17dd0ae3251451d54cbbc3f930f21d5
Vendor states this is fixed in 1d5859ef229e381f4db38dce8ed58e4bf862006b (fixed)
Vendor states this is fixed in 3bf05c2650cf6b8d83bf0b0d808cc78c6ee7e84c (fixed)
Vendor states this is fixed in 3ea1fd63fdf0e83b491c2a9f25b395aa0e4bf6e8 (fixed)
Vendor states this is fixed in 6066bd69ffba3a6abc7c0793ccba1da79b7d77e3 (fixed)
Vendor states this is fixed in 6be8e565a4a60530797a974d0a3d0e30656166a1 (fixed)
Vendor states this is fixed in 71ffe5111f0ffa2fd43c14fd176c6f05d4e82212 (fixed)
Vendor states this is fixed in 737594536dc3ce732976c0d84bb1dcc842065521 (fixed)
Vendor states this is fixed in 744c2d33a88b082d9d504520f0132b3d688547b2 (fixed)
Vendor states this is fixed in ff9a5e50fb1910be33e62925bc7ee3bef474879e (fixed)
Vendor states this is fixed in 3.19 (unaffected)
Vendor states this is fixed in 4.14.296 (unaffected)
Vendor states this is fixed in 4.19.262 (unaffected)
Vendor states this is fixed in 4.9.331 (unaffected)
Vendor states this is fixed in 5.10.150 (unaffected)
Vendor states this is fixed in 5.15.75 (unaffected)
Vendor states this is fixed in 5.19.17 (unaffected)
Vendor states this is fixed in 5.4.220 (unaffected)
Vendor states this is fixed in 6.0.3 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1d5859ef229e381f4db38dce8ed58e4bf862006b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3bf05c2650cf6b8d83bf0b0d808cc78c6ee7e84c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3ea1fd63fdf0e83b491c2a9f25b395aa0e4bf6e8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6066bd69ffba3a6abc7c0793ccba1da79b7d77e3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6be8e565a4a60530797a974d0a3d0e30656166a1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/71ffe5111f0ffa2fd43c14fd176c6f05d4e82212
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/737594536dc3ce732976c0d84bb1dcc842065521
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/744c2d33a88b082d9d504520f0132b3d688547b2

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card