{"id":"CVE-2022-50250","aliases":["CVE-2022-50250"],"related":[],"kind":"vulnerability","state":"published","title":"regulator: core: fix use_count leakage when handling boot-on","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2025-09-15T14:02:10.117Z","modified":"2026-11-05T20:17:29.607Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"dc1b1d7faf616ed663d0bba9be5abb4d1ed35d01","fixed":"dc3391d49479bc2bf8a2b88dbf86fdd800882fee","status":"affected"},{"type":"git","introduced":"f44b07472f29ae313ce875dc7b9c75b100c608b8","fixed":"5bfc53df288e8ea54ca6866fb92034214940183f","status":"affected"},{"type":"git","introduced":"089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b","fixed":"4b737246ff50f810d6ab4be13c1388a07f0c14b1","status":"affected"},{"type":"git","introduced":"089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b","fixed":"feb847e6591e8c7a09cc39721cc9ca74fd9a5d80","status":"affected"},{"type":"git","introduced":"089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b","fixed":"4dd6e1cc9c7403f1ee1b7eee85bc31b797ae8347","status":"affected"},{"type":"git","introduced":"089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b","fixed":"bc6c381df5793ebcf32db88a3e65acf7870379fc","status":"affected"},{"type":"git","introduced":"089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b","fixed":"0591b14ce0398125439c759f889647369aa616a0","status":"affected"},{"type":"semver","introduced":"4.19.226","fixed":"4.19.270","status":"affected"},{"type":"semver","introduced":"5.4.7","fixed":"5.4.229","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.5","status":"unaffected"},{"type":"semver","introduced":"4.19.270","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.229","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.163","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.86","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.16","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.2","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.19.270"},{"status":"affected","introduced":"4.20","fixed":"5.4.229"},{"status":"affected","introduced":"5.5","fixed":"5.10.163"},{"status":"affected","introduced":"5.11","fixed":"5.15.86"},{"status":"affected","introduced":"5.16","fixed":"6.0.16"},{"status":"affected","introduced":"6.1","fixed":"6.1.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/dc3391d49479bc2bf8a2b88dbf86fdd800882fee","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5bfc53df288e8ea54ca6866fb92034214940183f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4b737246ff50f810d6ab4be13c1388a07f0c14b1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/feb847e6591e8c7a09cc39721cc9ca74fd9a5d80","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4dd6e1cc9c7403f1ee1b7eee85bc31b797ae8347","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bc6c381df5793ebcf32db88a3e65acf7870379fc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0591b14ce0398125439c759f889647369aa616a0","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:07:55.454Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50250","url":"https://www.cve.org/CVERecord?id=CVE-2022-50250","licence":"CVE Terms of Use","modified":"2026-11-05T20:10:31.267Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50250","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50250","licence":"Public domain","modified":"2026-11-05T20:17:29.607Z"}],"updatedAt":"2026-11-25T22:58:21.128Z","epss":{"score":0.00167,"percentile":0.0623,"date":"2026-12-01T12:00:22.000Z"}}