{"affected":[],"cveId":"CVE-2022-50734","cwes":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmem: core: Fix memleak in nvmem_register()\n\ndev_set_name will alloc memory for nvmem->dev.kobj.name in\nnvmem_register, when nvmem_validate_keepouts failed, nvmem's\nmemory will be freed and return, but nobody will free memory\nfor nvmem->dev.kobj.name, there will be memleak, so moving\nnvmem_validate_keepouts() after device_register() and let\nthe device core deal with cleaning name in error cases.","epss":null,"exploits":[],"kev":null,"metrics":[],"modifiedAt":1794312600177,"publishedAt":1766582160080,"references":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"url":"https://git.kernel.org/stable/c/2bd2774df0ce37920b23819a860a66fdbdd90823"},{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"url":"https://git.kernel.org/stable/c/9391cc3a787a58aa224a6440d7f244d780ba2896"},{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"url":"https://git.kernel.org/stable/c/b6054b9b239a493672f853b034570cca93ba7a88"},{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"url":"https://git.kernel.org/stable/c/bd1244561fa2a4531ded40dbf09c9599084f8b29"}],"remediation":[],"revision":"6f8515a01548dc43b5d4bea6920966e3516e01a22ae9e323defc1dfa20534c58","sources":[{"modifiedAt":1794312600177,"name":"NVD","retrievedAt":1794313075032,"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50734"}],"ssvc":null,"status":"published","title":"CVE-2022-50734","updatedAt":1794313075032}