U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2022-50848 Detail

Description

In the Linux kernel, the following vulnerability has been resolved: drivers: dio: fix possible memory leak in dio_init() If device_register() returns error, the 'dev' and name needs be freed. Add a release function, and then call put_device() in the error path, so the name is freed in kobject_cleanup() and to the 'dev' is freed in release function.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
https://git.kernel.org/stable/c/4b68caa95064ac464f1b261d08ac677e753d1088 kernel.org
https://git.kernel.org/stable/c/78fddc0ff971f9874d53c854818cc4aafa144114 kernel.org
https://git.kernel.org/stable/c/8e002b9fe831b27d4506df6fa60cb33ba0730ac3 kernel.org
https://git.kernel.org/stable/c/a0ead7e8da84f4c3759417b8e928b65e0207c646 kernel.org
https://git.kernel.org/stable/c/a524e7fed696a4dfef671e0fda3511bfd2dca0cf kernel.org
https://git.kernel.org/stable/c/affe3cea6b3148fa66796a48640664822ceccd48 kernel.org
https://git.kernel.org/stable/c/da64e01da40c6b71a54144126da53cc3b27201ac kernel.org
https://git.kernel.org/stable/c/e63e99397b2613d50a5f4f02ed07307e67a190f1 kernel.org
https://git.kernel.org/stable/c/fce9890e1be4c0460dad850cc8c00414a9d25f0f kernel.org

Weakness Enumeration

CWE-ID CWE Name Source

Change History

1 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2022-50848
NVD Published Date:
12/30/2025
NVD Last Modified:
12/30/2025
Source:
kernel.org