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-50616

UNSCOREDEPSS 13%

regulator: core: Use different devices for resource allocation and DT lookup

Mitigation

  • Upgrade Linux to 8f3cbcd6b440032ebc7f7d48a1689dcc70a4eb98 or later.

Who should check

  • Anyone running Linux >= a0c7b164ad115ec0556dc0904ee2218cbc5cedfa, < cb29811d989bcb7ea81ca111c4b13878b344e086; >= a0c7b164ad115ec0556dc0904ee2218cbc5cedfa, < b0f25ca1ff9be7abd1679ae7e59a8f25dbffe67a; >= a0c7b164ad115ec0556dc0904ee2218cbc5cedfa, < 8f3cbcd6b440032ebc7f7d48a1689dcc70a4eb98
  • Anyone running Linux 3.18

Vulnerability facts

Affected
Linux >= a0c7b164ad115ec0556dc0904ee2218cbc5cedfa, < cb29811d989bcb7ea81ca111c4b13878b344e086; >= a0c7b164ad115ec0556dc0904ee2218cbc5cedfa, < b0f25ca1ff9be7abd1679ae7e59a8f25dbffe67a; >= a0c7b164ad115ec0556dc0904ee2218cbc5cedfa, < 8f3cbcd6b440032ebc7f7d48a1689dcc70a4eb98; Linux 3.18
Fixed in
Linux 8f3cbcd6b440032ebc7f7d48a1689dcc70a4eb98
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.27% chance of exploitation in 30 days (percentile 13, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: regulator: core: Use different devices for resource allocation and DT lookup Following by the below discussion, there's the potential UAF issue between regulator and mfd. https://lore.kernel.org/all/20221128143601.1698148-1-yangyingliang@huawei.com/ From the analysis of Yingliang CPU A |CPU B mt6370_probe() | devm_mfd_add_devices() | |mt6370_regulator_probe() | regulator_register() | //allocate init_data and add it to devres | regulator_of_get_init_data() i2c_unregister_device() | device_del() | devres_release_all() | // init_data is freed | release_nodes() | | // using init_data causes UAF | regulator_register() It's common to use mfd core to create child device for the regulator. In order to do the DT lookup for init data, the child that registered the regulator would pass its parent as the parameter. And this causes init data resource allocated to its parent, not itself. The issue happen when parent device is going to release and regulator core is still doing some operation of init data constraint for the regulator of child device. To fix it, this patch expand 'regulator_register' API to use the different devices for init data allocation and DT lookup.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= a0c7b164ad115ec0556dc0904ee2218cbc5cedfa, < cb29811d989bcb7ea81ca111c4b13878b344e086; >= a0c7b164ad115ec0556dc0904ee2218cbc5cedfa, < b0f25ca1ff9be7abd1679ae7e59a8f25dbffe67a; >= a0c7b164ad115ec0556dc0904ee2218cbc5cedfa, < 8f3cbcd6b440032ebc7f7d48a1689dcc70a4eb98—cvelist
Linux3.18—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-50616. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50616.md
Affected: Linux >= a0c7b164ad115ec0556dc0904ee2218cbc5cedfa, < cb29811d989bcb7ea81ca111c4b13878b344e086; >= a0c7b164ad115ec0556dc0904ee2218cbc5cedfa, < b0f25ca1ff9be7abd1679ae7e59a8f25dbffe67a; >= a0c7b164ad115ec0556dc0904ee2218cbc5cedfa, < 8f3cbcd6b440032ebc7f7d48a1689dcc70a4eb98; Linux 3.18
Fixed in: Linux 8f3cbcd6b440032ebc7f7d48a1689dcc70a4eb98

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-50616 being exploited?

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

How serious is CVE-2022-50616?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2022-50616?

Linux >= a0c7b164ad115ec0556dc0904ee2218cbc5cedfa, < cb29811d989bcb7ea81ca111c4b13878b344e086; >= a0c7b164ad115ec0556dc0904ee2218cbc5cedfa, < b0f25ca1ff9be7abd1679ae7e59a8f25dbffe67a; >= a0c7b164ad115ec0556dc0904ee2218cbc5cedfa, < 8f3cbcd6b440032ebc7f7d48a1689dcc70a4eb98; Linux 3.18.

Is there a fix for CVE-2022-50616?

Yes. Fixed in Linux 8f3cbcd6b440032ebc7f7d48a1689dcc70a4eb98. Upgrade Linux to 8f3cbcd6b440032ebc7f7d48a1689dcc70a4eb98 or later.

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

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