lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025091500-CVE-2022-50312-105d@gregkh>
Date: Mon, 15 Sep 2025 16:46:14 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50312: drivers: serial: jsm: fix some leaks in probe

From: Greg Kroah-Hartman <gregkh@...nel.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.

The Linux kernel CVE team has assigned CVE-2022-50312 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 3.19 with commit 03a8482c17dd0ae3251451d54cbbc03f930f21d5 and fixed in 4.9.331 with commit ff9a5e50fb1910be33e62925bc7ee3bef474879e
	Issue introduced in 3.19 with commit 03a8482c17dd0ae3251451d54cbbc03f930f21d5 and fixed in 4.14.296 with commit 3bf05c2650cf6b8d83bf0b0d808cc78c6ee7e84c
	Issue introduced in 3.19 with commit 03a8482c17dd0ae3251451d54cbbc03f930f21d5 and fixed in 4.19.262 with commit 6066bd69ffba3a6abc7c0793ccba1da79b7d77e3
	Issue introduced in 3.19 with commit 03a8482c17dd0ae3251451d54cbbc03f930f21d5 and fixed in 5.4.220 with commit 744c2d33a88b082d9d504520f0132b3d688547b2
	Issue introduced in 3.19 with commit 03a8482c17dd0ae3251451d54cbbc03f930f21d5 and fixed in 5.10.150 with commit 71ffe5111f0ffa2fd43c14fd176c6f05d4e82212
	Issue introduced in 3.19 with commit 03a8482c17dd0ae3251451d54cbbc03f930f21d5 and fixed in 5.15.75 with commit 6be8e565a4a60530797a974d0a3d0e30656166a1
	Issue introduced in 3.19 with commit 03a8482c17dd0ae3251451d54cbbc03f930f21d5 and fixed in 5.19.17 with commit 737594536dc3ce732976c0d84bb1dcc842065521
	Issue introduced in 3.19 with commit 03a8482c17dd0ae3251451d54cbbc03f930f21d5 and fixed in 6.0.3 with commit 3ea1fd63fdf0e83b491c2a9f25b395aa0e4bf6e8
	Issue introduced in 3.19 with commit 03a8482c17dd0ae3251451d54cbbc03f930f21d5 and fixed in 6.1 with commit 1d5859ef229e381f4db38dce8ed58e4bf862006b

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2022-50312
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/tty/serial/jsm/jsm_driver.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/ff9a5e50fb1910be33e62925bc7ee3bef474879e
	https://git.kernel.org/stable/c/3bf05c2650cf6b8d83bf0b0d808cc78c6ee7e84c
	https://git.kernel.org/stable/c/6066bd69ffba3a6abc7c0793ccba1da79b7d77e3
	https://git.kernel.org/stable/c/744c2d33a88b082d9d504520f0132b3d688547b2
	https://git.kernel.org/stable/c/71ffe5111f0ffa2fd43c14fd176c6f05d4e82212
	https://git.kernel.org/stable/c/6be8e565a4a60530797a974d0a3d0e30656166a1
	https://git.kernel.org/stable/c/737594536dc3ce732976c0d84bb1dcc842065521
	https://git.kernel.org/stable/c/3ea1fd63fdf0e83b491c2a9f25b395aa0e4bf6e8
	https://git.kernel.org/stable/c/1d5859ef229e381f4db38dce8ed58e4bf862006b

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ