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

MEDIUM 5.5EPSS 8%

regulator: core: fix use_count leakage when handling boot-on

Mitigation

  • Upgrade Linux to 5.4.229 or later.

Who should check

  • Anyone running Linux >= dc1b1d7faf616ed663d0bba9be5abb4d1ed35d01, < dc3391d49479bc2bf8a2b88dbf86fdd800882fee; >= f44b07472f29ae313ce875dc7b9c75b100c608b8, < 5bfc53df288e8ea54ca6866fb92034214940183f; >= 089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b, < 4b737246ff50f810d6ab4be13c1388a07f0c14b1; >= 089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b, < feb847e6591e8c7a09cc39721cc9ca74fd9a5d80; >= 089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b, < 4dd6e1cc9c7403f1ee1b7eee85bc31b797ae8347; >= 089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b, < bc6c381df5793ebcf32db88a3e65acf7870379fc; >= 089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b, < 0591b14ce0398125439c759f889647369aa616a0; >= 4.19.226, < 4.19.270; >= 5.4.7, < 5.4.229
  • Anyone running Linux 5.5

Vulnerability facts

Affected
Linux >= dc1b1d7faf616ed663d0bba9be5abb4d1ed35d01, < dc3391d49479bc2bf8a2b88dbf86fdd800882fee; >= f44b07472f29ae313ce875dc7b9c75b100c608b8, < 5bfc53df288e8ea54ca6866fb92034214940183f; >= 089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b, < 4b737246ff50f810d6ab4be13c1388a07f0c14b1; >= 089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b, < feb847e6591e8c7a09cc39721cc9ca74fd9a5d80; >= 089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b, < 4dd6e1cc9c7403f1ee1b7eee85bc31b797ae8347; >= 089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b, < bc6c381df5793ebcf32db88a3e65acf7870379fc; >= 089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b, < 0591b14ce0398125439c759f889647369aa616a0; >= 4.19.226, < 4.19.270; >= 5.4.7, < 5.4.229; Linux 5.5
Fixed in
Linux 5bfc53df288e8ea54ca6866fb92034214940183f, Linux 4b737246ff50f810d6ab4be13c1388a07f0c14b1, Linux 4dd6e1cc9c7403f1ee1b7eee85bc31b797ae8347, Linux 0591b14ce0398125439c759f889647369aa616a0, Linux 4.19.270, Linux 5.4.229
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.23% chance of exploitation in 30 days (percentile 8, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: regulator: core: fix use_count leakage when handling boot-on I found a use_count leakage towards supply regulator of rdev with boot-on option. ┌───────────────────┐ ┌───────────────────┐ │ regulator_dev A │ │ regulator_dev B │ │ (boot-on) │ │ (boot-on) │ │ use_count=0 │◀──supply──│ use_count=1 │ │ │ │ │ └───────────────────┘ └───────────────────┘ In case of rdev(A) configured with `regulator-boot-on', the use_count of supplying regulator(B) will increment inside regulator_enable(rdev->supply). Thus, B will acts like always-on, and further balanced regulator_enable/disable cannot actually disable it anymore. However, B was also configured with `regulator-boot-on', we wish it could be disabled afterwards.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= dc1b1d7faf616ed663d0bba9be5abb4d1ed35d01, < dc3391d49479bc2bf8a2b88dbf86fdd800882fee; >= f44b07472f29ae313ce875dc7b9c75b100c608b8, < 5bfc53df288e8ea54ca6866fb92034214940183f; >= 089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b, < 4b737246ff50f810d6ab4be13c1388a07f0c14b1; >= 089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b, < feb847e6591e8c7a09cc39721cc9ca74fd9a5d80; >= 089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b, < 4dd6e1cc9c7403f1ee1b7eee85bc31b797ae8347; >= 089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b, < bc6c381df5793ebcf32db88a3e65acf7870379fc; >= 089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b, < 0591b14ce0398125439c759f889647369aa616a0; >= 4.19.226, < 4.19.270; >= 5.4.7, < 5.4.229—cvelist
Linux5.5—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-50250. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50250.md
Affected: Linux >= dc1b1d7faf616ed663d0bba9be5abb4d1ed35d01, < dc3391d49479bc2bf8a2b88dbf86fdd800882fee; >= f44b07472f29ae313ce875dc7b9c75b100c608b8, < 5bfc53df288e8ea54ca6866fb92034214940183f; >= 089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b, < 4b737246ff50f810d6ab4be13c1388a07f0c14b1; >= 089b3f61ecfc43ca4ea26d5…
Fixed in: Linux 5bfc53df288e8ea54ca6866fb92034214940183f, Linux 4b737246ff50f810d6ab4be13c1388a07f0c14b1, Linux 4dd6e1cc9c7403f1ee1b7eee85bc31b797ae8347, Linux 0591b14ce0398125439c759f889647369aa616a0, Linux 4.19.270, Linux 5.4.229

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

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

How serious is CVE-2022-50250?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2022-50250?

Linux >= dc1b1d7faf616ed663d0bba9be5abb4d1ed35d01, < dc3391d49479bc2bf8a2b88dbf86fdd800882fee; >= f44b07472f29ae313ce875dc7b9c75b100c608b8, < 5bfc53df288e8ea54ca6866fb92034214940183f; >= 089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b, < 4b737246ff50f810d6ab4be13c1388a07f0c14b1; >= 089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b, < feb847e6591e8c7a09cc39721cc9ca74fd9a5d80; >= 089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b, < 4dd6e1cc9c7403f1ee1b7eee85bc31b797ae8347; >= 089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b, < bc6c381df5793ebcf32db88a3e65acf7870379fc; >= 089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b, < 0591b14ce0398125439c759f889647369aa616a0; >= 4.19.226, < 4.19.270; >= 5.4.7, < 5.4.229; Linux 5.5.

Is there a fix for CVE-2022-50250?

Yes. Fixed in Linux 5bfc53df288e8ea54ca6866fb92034214940183f, Linux 4b737246ff50f810d6ab4be13c1388a07f0c14b1, Linux 4dd6e1cc9c7403f1ee1b7eee85bc31b797ae8347, Linux 0591b14ce0398125439c759f889647369aa616a0, Linux 4.19.270, Linux 5.4.229. Upgrade Linux to 5.4.229 or later.

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

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