CVE-2022-50734 Details
Description
In the Linux kernel, the following vulnerability has been resolved: nvmem: core: Fix memleak in nvmem_register() dev_set_name will alloc memory for nvmem->dev.kobj.name in nvmem_register, when nvmem_validate_keepouts failed, nvmem's memory will be freed and return, but nobody will free memory for nvmem->dev.kobj.name, there will be memleak, so moving nvmem_validate_keepouts() after device_register() and let the device core deal with cleaning name in error cases.
A memory leak vulnerability has been identified in the Linux kernel's NVMEM (Non-Volatile Memory) subsystem. This issue arises in the 'nvmem_register' function, where the 'dev_set_name' function allocates memory for the device's kernel object name. If the 'nvmem_validate_keepouts' function fails, the allocated memory for the name is not properly freed, leading to a memory leak. The vulnerability affects several versions of the Linux kernel.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed. Instructions for upgrading the Linux kernel can be found in the official Linux kernel documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 24, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2bd2774df0ce37920b23819a860a66fdbdd90823 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/9391cc3a787a58aa224a6440d7f244d780ba2896 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/b6054b9b239a493672f853b034570cca93ba7a88 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/bd1244561fa2a4531ded40dbf09c9599084f8b29 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 10, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 24, 2025 | New CVE Received | kernel.org |
Volerion