{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-50250","id":"CVE-2022-50250","title":"regulator: core: fix use_count leakage when handling boot-on","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nregulator: core: fix use_count leakage when handling boot-on\n\nI found a use_count leakage towards supply regulator of rdev with\nboot-on option.\n\n┌───────────────────┐           ┌───────────────────┐\n│  regulator_dev A  │           │  regulator_dev B  │\n│     (boot-on)     │           │     (boot-on)     │\n│    use_count=0    │◀──","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nregulator: core: fix use_count leakage when handling boot-on\n\nI found a use_count leakage towards supply regulator of rdev with\nboot-on option.\n\n┌───────────────────┐           ┌───────────────────┐\n│  regulator_dev A  │           │  regulator_dev B  │\n│     (boot-on)     │           │     (boot-on)     │\n│    use_count=0    │◀──supply──│    use_count=1    │\n│                   │           │                   │\n└───────────────────┘           └───────────────────┘\n\nIn case of rdev(A) configured with `regulator-boot-on', the use_count\nof supplying regulator(B) will increment inside\nregulator_enable(rdev->supply).\n\nThus, B will acts like always-on, and further balanced\nregulator_enable/disable cannot actually disable it anymore.\n\nHowever, B was also configured with `regulator-boot-on', we wish it\ncould be disabled afterwards.","published":"2025-09-15T14:02:10.117Z","updated":"2026-11-17T07:01:16.568635930Z","reserved":"2025-09-15T13:58:00.973Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"dc1b1d7faf616ed663d0bba9be5abb4d1ed35d01","lessThan":"dc3391d49479bc2bf8a2b88dbf86fdd800882fee","status":"affected","versionType":"git"},{"version":"f44b07472f29ae313ce875dc7b9c75b100c608b8","lessThan":"5bfc53df288e8ea54ca6866fb92034214940183f","status":"affected","versionType":"git"},{"version":"089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b","lessThan":"4b737246ff50f810d6ab4be13c1388a07f0c14b1","status":"affected","versionType":"git"},{"version":"089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b","lessThan":"feb847e6591e8c7a09cc39721cc9ca74fd9a5d80","status":"affected","versionType":"git"},{"version":"089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b","lessThan":"4dd6e1cc9c7403f1ee1b7eee85bc31b797ae8347","status":"affected","versionType":"git"},{"version":"089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b","lessThan":"bc6c381df5793ebcf32db88a3e65acf7870379fc","status":"affected","versionType":"git"},{"version":"089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b","lessThan":"0591b14ce0398125439c759f889647369aa616a0","status":"affected","versionType":"git"},{"version":"4.19.226","lessThan":"4.19.270","status":"affected","versionType":"semver"},{"version":"5.4.7","lessThan":"5.4.229","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.5","status":"affected"},{"version":"0","lessThan":"5.5","status":"unaffected","versionType":"semver"},{"version":"4.19.270","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.229","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.163","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.86","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.0.16","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1.2","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/dc3391d49479bc2bf8a2b88dbf86fdd800882fee","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/5bfc53df288e8ea54ca6866fb92034214940183f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/4b737246ff50f810d6ab4be13c1388a07f0c14b1","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/feb847e6591e8c7a09cc39721cc9ca74fd9a5d80","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/4dd6e1cc9c7403f1ee1b7eee85bc31b797ae8347","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/bc6c381df5793ebcf32db88a3e65acf7870379fc","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/0591b14ce0398125439c759f889647369aa616a0","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50250.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50250","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00166,"epssPercentile":0.05979,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-50250","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50250","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-50250","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-50250","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}