CVE-2022-50734
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.
Affected versions
Linux kernel versions
5.13.19,
5.14.6,
5.15
and later are affected. Fixed in
5.15.75,
5.19.17,
6.0.3,
6.1
and their respective stable series.
References
The following references provide additional information about CVE-2022-50734 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/2bd2774df0ce37920b23819a860a66fdbdd90823
-
PatchKernel patch commithttps://git.kernel.org/stable/c/9391cc3a787a58aa224a6440d7f244d780ba2896
-
PatchKernel patch commithttps://git.kernel.org/stable/c/b6054b9b239a493672f853b034570cca93ba7a88
Frequently asked questions
-
What is CVE-2022-50734?
CVE-2022-50734 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.13.19 onward and has been patched in 5.15.75, 5.19.17, 6.0.3 and others. CVE-2022-50734 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2022-50734?
Yes — CVE-2022-50734 has been patched. Fixed versions include 5.15.75, 5.19.17, 6.0.3 and others. If you are running Linux kernel 5.13.19 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-50734 actively exploited?
No — CVE-2022-50734 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.