CVE-2022-50734
In the Linux kernel, the following vulnerability has been resolved: …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/2bd2774df0ce37920b23819a860a66fdbdd90823
- git.kernel.org/stable/c/9391cc3a787a58aa224a6440d7f244d780ba2896
- git.kernel.org/stable/c/b6054b9b239a493672f853b034570cca93ba7a88
- git.kernel.org/stable/c/bd1244561fa2a4531ded40dbf09c9599084f8b29
- nvd.nist.gov/vuln/detail/CVE-2022-50734
- cve.org/CVERecord?id=CVE-2022-50734
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.