Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-50734

UNSCOREDEPSS 13%

nvmem: core: Fix memleak in nvmem_register()

Mitigation

  • Upgrade Linux to 5.15 or later.

Who should check

  • Anyone running Linux >= de0534df93474f268486c486ea7e01b44a478026, < 9391cc3a787a58aa224a6440d7f244d780ba2896; >= de0534df93474f268486c486ea7e01b44a478026, < 2bd2774df0ce37920b23819a860a66fdbdd90823; >= de0534df93474f268486c486ea7e01b44a478026, < b6054b9b239a493672f853b034570cca93ba7a88; >= de0534df93474f268486c486ea7e01b44a478026, < bd1244561fa2a4531ded40dbf09c9599084f8b29; c1d44b93ca9f3ebc26b0de0a7f4b7156702762b6; 63c2b13ba0428b8f477e4adb1d40a50eb4493c09; >= 5.13.19, < 5.14; >= 5.14.6, < 5.15
  • Anyone running Linux 5.15

Vulnerability facts

Affected
Linux >= de0534df93474f268486c486ea7e01b44a478026, < 9391cc3a787a58aa224a6440d7f244d780ba2896; >= de0534df93474f268486c486ea7e01b44a478026, < 2bd2774df0ce37920b23819a860a66fdbdd90823; >= de0534df93474f268486c486ea7e01b44a478026, < b6054b9b239a493672f853b034570cca93ba7a88; >= de0534df93474f268486c486ea7e01b44a478026, < bd1244561fa2a4531ded40dbf09c9599084f8b29; c1d44b93ca9f3ebc26b0de0a7f4b7156702762b6; 63c2b13ba0428b8f477e4adb1d40a50eb4493c09; >= 5.13.19, < 5.14; >= 5.14.6, < 5.15; Linux 5.15
Fixed in
Linux 9391cc3a787a58aa224a6440d7f244d780ba2896, Linux 2bd2774df0ce37920b23819a860a66fdbdd90823, Linux 5.14, Linux 5.15
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= de0534df93474f268486c486ea7e01b44a478026, < 9391cc3a787a58aa224a6440d7f244d780ba2896; >= de0534df93474f268486c486ea7e01b44a478026, < 2bd2774df0ce37920b23819a860a66fdbdd90823; >= de0534df93474f268486c486ea7e01b44a478026, < b6054b9b239a493672f853b034570cca93ba7a88; >= de0534df93474f268486c486ea7e01b44a478026, < bd1244561fa2a4531ded40dbf09c9599084f8b29; c1d44b93ca9f3ebc26b0de0a7f4b7156702762b6; 63c2b13ba0428b8f477e4adb1d40a50eb4493c09; >= 5.13.19, < 5.14; >= 5.14.6, < 5.15—cvelist
Linux5.15—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-50734. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50734.md
Affected: Linux >= de0534df93474f268486c486ea7e01b44a478026, < 9391cc3a787a58aa224a6440d7f244d780ba2896; >= de0534df93474f268486c486ea7e01b44a478026, < 2bd2774df0ce37920b23819a860a66fdbdd90823; >= de0534df93474f268486c486ea7e01b44a478026, < b6054b9b239a493672f853b034570cca93ba7a88; >= de0534df93474f268486c48…
Fixed in: Linux 9391cc3a787a58aa224a6440d7f244d780ba2896, Linux 2bd2774df0ce37920b23819a860a66fdbdd90823, Linux 5.14, Linux 5.15

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-50734 being exploited?

There is no confirmed exploitation: CVE-2022-50734 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-50734?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2022-50734?

Linux >= de0534df93474f268486c486ea7e01b44a478026, < 9391cc3a787a58aa224a6440d7f244d780ba2896; >= de0534df93474f268486c486ea7e01b44a478026, < 2bd2774df0ce37920b23819a860a66fdbdd90823; >= de0534df93474f268486c486ea7e01b44a478026, < b6054b9b239a493672f853b034570cca93ba7a88; >= de0534df93474f268486c486ea7e01b44a478026, < bd1244561fa2a4531ded40dbf09c9599084f8b29; c1d44b93ca9f3ebc26b0de0a7f4b7156702762b6; 63c2b13ba0428b8f477e4adb1d40a50eb4493c09; >= 5.13.19, < 5.14; >= 5.14.6, < 5.15; Linux 5.15.

Is there a fix for CVE-2022-50734?

Yes. Fixed in Linux 9391cc3a787a58aa224a6440d7f244d780ba2896, Linux 2bd2774df0ce37920b23819a860a66fdbdd90823, Linux 5.14, Linux 5.15. Upgrade Linux to 5.15 or later.

How do I check if I'm affected by CVE-2022-50734?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors