CVE-2022-50734
Linux Kernel 5.15.0-5.15.74, 5.16.0-5.19.16, 5.20.0-6.0.2 - Memory Leak in nvmem_register()
Title source: llmDescription
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.
References (4)
Core 4
Core References
Scores
EPSS
0.0021
EPSS Percentile
11.1%
Details
Status
published
Products (17)
linux/Kernel
5.15.0 - 5.15.75linux
linux/Kernel
5.16.0 - 5.19.17linux
linux/Kernel
5.20.0 - 6.0.3linux
Linux/Linux
< 5.15
Linux/Linux
5.13.19 - 5.14
Linux/Linux
5.14.6 - 5.15
Linux/Linux
5.15
Linux/Linux
5.15.75 - 5.15.*
Linux/Linux
5.19.17 - 5.19.*
Linux/Linux
6.0.3 - 6.0.*
... and 7 more
Published
Dec 24, 2025
Tracked Since
Feb 18, 2026