CVE-2022-50312

drivers: serial: jsm: fix some leaks in probe

State
Published
Severity
Not scored
Published
Sep 15, 2025
Updated
May 11, 2026
Reserved
Sep 15, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 03a8482c17dd0ae3251451d54cbbc03f930f21d5 to before ff9a5e50fb1910be33e62925bc7ee3bef474879eAffected
  • 03a8482c17dd0ae3251451d54cbbc03f930f21d5 to before 3bf05c2650cf6b8d83bf0b0d808cc78c6ee7e84cAffected
  • 03a8482c17dd0ae3251451d54cbbc03f930f21d5 to before 6066bd69ffba3a6abc7c0793ccba1da79b7d77e3Affected
  • 03a8482c17dd0ae3251451d54cbbc03f930f21d5 to before 744c2d33a88b082d9d504520f0132b3d688547b2Affected
  • 03a8482c17dd0ae3251451d54cbbc03f930f21d5 to before 71ffe5111f0ffa2fd43c14fd176c6f05d4e82212Affected
  • 03a8482c17dd0ae3251451d54cbbc03f930f21d5 to before 6be8e565a4a60530797a974d0a3d0e30656166a1Affected
  • 03a8482c17dd0ae3251451d54cbbc03f930f21d5 to before 737594536dc3ce732976c0d84bb1dcc842065521Affected
  • 03a8482c17dd0ae3251451d54cbbc03f930f21d5 to before 3ea1fd63fdf0e83b491c2a9f25b395aa0e4bf6e8Affected
  • 03a8482c17dd0ae3251451d54cbbc03f930f21d5 to before 1d5859ef229e381f4db38dce8ed58e4bf862006bAffected
LinuxLinux
  • 3.19Affected
  • before 3.19Not affected
  • 4.9.331 through 4.9.*Not affected
  • 4.14.296 through 4.14.*Not affected
  • 4.19.262 through 4.19.*Not affected
  • 5.4.220 through 5.4.*Not affected
  • 5.10.150 through 5.10.*Not affected
  • 5.15.75 through 5.15.*Not affected
  • 5.19.17 through 5.19.*Not affected
  • 6.0.3 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.