CVE-2022-50312
drivers: serial: jsm: fix some leaks in probe
Check your servers for CVE-2022-50312
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50312 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.90% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 03a8482c17dd0ae3251451d54cbbc03f930f21d5, before ff9a5e50fb1910be33e62925bc7ee3bef474879e affected from 03a8482c17dd0ae3251451d54cbbc03f930f21d5, before 3bf05c2650cf6b8d83bf0b0d808cc78c6ee7e84c affected from 03a8482c17dd0ae3251451d54cbbc03f930f21d5, before 6066bd69ffba3a6abc7c0793ccba1da79b7d77e3 affected from 03a8482c17dd0ae3251451d54cbbc03f930f21d5, before 744c2d33a88b082d9d504520f0132b3d688547b2 affected from 03a8482c17dd0ae3251451d54cbbc03f930f21d5, before 71ffe5111f0ffa2fd43c14fd176c6f05d4e82212 affected from 03a8482c17dd0ae3251451d54cbbc03f930f21d5, before 6be8e565a4a60530797a974d0a3d0e30656166a1 affected from 03a8482c17dd0ae3251451d54cbbc03f930f21d5, before 737594536dc3ce732976c0d84bb1dcc842065521 affected from 03a8482c17dd0ae3251451d54cbbc03f930f21d5, before 3ea1fd63fdf0e83b491c2a9f25b395aa0e4bf6e8 affected from 03a8482c17dd0ae3251451d54cbbc03f930f21d5, before 1d5859ef229e381f4db38dce8ed58e4bf862006b
Other versions: unaffected
|
| Linux |
affected 3.19 unaffected before 3.19 unaffected from 4.9.331 up to and including 4.9.* unaffected from 4.14.296 up to and including 4.14.* unaffected from 4.19.262 up to and including 4.19.* unaffected from 5.4.220 up to and including 5.4.* unaffected from 5.10.150 up to and including 5.10.* unaffected from 5.15.75 up to and including 5.15.* unaffected from 5.19.17 up to and including 5.19.* unaffected from 6.0.3 up to and including 6.0.* unaffected 6.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50312 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50312
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-50312
trivy image --scanners vuln IMAGE | grep CVE-2022-50312
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/ff9a5e50fb1910be33e62925bc7ee3bef474879e git.kernel.org
- https://git.kernel.org/stable/c/3bf05c2650cf6b8d83bf0b0d808cc78c6ee7e84c git.kernel.org
- https://git.kernel.org/stable/c/6066bd69ffba3a6abc7c0793ccba1da79b7d77e3 git.kernel.org
- https://git.kernel.org/stable/c/744c2d33a88b082d9d504520f0132b3d688547b2 git.kernel.org
- https://git.kernel.org/stable/c/71ffe5111f0ffa2fd43c14fd176c6f05d4e82212 git.kernel.org
- https://git.kernel.org/stable/c/6be8e565a4a60530797a974d0a3d0e30656166a1 git.kernel.org
- https://git.kernel.org/stable/c/737594536dc3ce732976c0d84bb1dcc842065521 git.kernel.org
- https://git.kernel.org/stable/c/3ea1fd63fdf0e83b491c2a9f25b395aa0e4bf6e8 git.kernel.org
- https://git.kernel.org/stable/c/1d5859ef229e381f4db38dce8ed58e4bf862006b git.kernel.org
Source: the record CVE-2022-50312 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse