CVE Database
/

CVE-2022-50734

Back to search

CVE-2022-50734

Published: Dec 24, 2025

Modified: May 23, 2026

PUBLISHED

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.

VendorProductVersions

Linux

Linux

affected
de0534df93474f268486c486ea7e01b44a478026 - < 9391cc3a787a58aa224a6440d7f244d780ba2896
affected
de0534df93474f268486c486ea7e01b44a478026 - < 2bd2774df0ce37920b23819a860a66fdbdd90823
affected
de0534df93474f268486c486ea7e01b44a478026 - < b6054b9b239a493672f853b034570cca93ba7a88
affected
de0534df93474f268486c486ea7e01b44a478026 - < bd1244561fa2a4531ded40dbf09c9599084f8b29
affected
c1d44b93ca9f3ebc26b0de0a7f4b7156702762b6

+3 more versions

Linux

Linux

affected
5.15
unaffected
0 - < 5.15
unaffected
5.15.75 - <= 5.15.*
unaffected
5.19.17 - <= 5.19.*
unaffected
6.0.3 - <= 6.0.*

+1 more versions

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now