{"id":"CVE-2025-22009","state":"PUBLISHED","title":"regulator: dummy: force synchronous probing","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nregulator: dummy: force synchronous probing\n\nSometimes I get a NULL pointer dereference at boot time in kobject_get()\nwith the following call stack:\n\nanatop_regulator_probe()\n devm_regulator_register()\n  regulator_register()\n   regulator_resolve_supply()\n    kobject_get()\n\nBy placing some extra BUG_ON() statements I could verify that this is\nraised because probing of the 'dummy' regulator driver is not completed\n('dummy_regulator_rdev' is still NULL).\n\nIn the JTAG debugger I can see that dummy_regulator_probe() and\nanatop_regulator_probe() can be run by different kernel threads\n(kworker/u4:*).  I haven't further investigated whether this can be\nchanged or if there are other possibilities to force synchronization\nbetween these two probe routines.  On the other hand I don't expect much\nboot time penalty by probing the 'dummy' regulator synchronously.","publishedAt":"2025-04-08T08:17:59.840Z","updatedAt":"2026-05-11T21:10:53.051Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"259b93b21a9ffe5117af4dfb5505437e463c6a5a","status":"affected","lessThan":"e26f24ca4fb940b15e092796c5993142a2558bd9","versionType":"git"},{"version":"259b93b21a9ffe5117af4dfb5505437e463c6a5a","status":"affected","lessThan":"d3b83a1442a09b145006eb4294b1a963c5345c9c","versionType":"git"},{"version":"259b93b21a9ffe5117af4dfb5505437e463c6a5a","status":"affected","lessThan":"5ade367b56c3947c990598df92395ce737bee872","versionType":"git"},{"version":"259b93b21a9ffe5117af4dfb5505437e463c6a5a","status":"affected","lessThan":"8619909b38eeebd3e60910158d7d68441fc954e9","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/regulator/dummy.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.4","versionType":"semver"},{"version":"6.6.85","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.21","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.13.9","status":"unaffected","lessThanOrEqual":"6.13.*","versionType":"semver"},{"version":"6.14","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/regulator/dummy.c"]}],"references":["https://git.kernel.org/stable/c/e26f24ca4fb940b15e092796c5993142a2558bd9","https://git.kernel.org/stable/c/d3b83a1442a09b145006eb4294b1a963c5345c9c","https://git.kernel.org/stable/c/5ade367b56c3947c990598df92395ce737bee872","https://git.kernel.org/stable/c/8619909b38eeebd3e60910158d7d68441fc954e9"],"weaknesses":["CWE-476"],"ingestedAt":"2026-10-29T20:08:39.238Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/22xxx/CVE-2025-22009.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-22009","state":"PUBLISHED","datePublished":"2025-04-08T08:17:59.840Z","dateUpdated":"2026-05-11T21:10:53.051Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-12-29T08:45:45.803Z"},"containers":{"cna":{"title":"regulator: dummy: force synchronous probing","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nregulator: dummy: force synchronous probing\n\nSometimes I get a NULL pointer dereference at boot time in kobject_get()\nwith the following call stack:\n\nanatop_regulator_probe()\n devm_regulator_register()\n  regulator_register()\n   regulator_resolve_supply()\n    kobject_get()\n\nBy placing some extra BUG_ON() statements I could verify that this is\nraised because probing of the 'dummy' regulator driver is not completed\n('dummy_regulator_rdev' is still NULL).\n\nIn the JTAG debugger I can see that dummy_regulator_probe() and\nanatop_regulator_probe() can be run by different kernel threads\n(kworker/u4:*).  I haven't further investigated whether this can be\nchanged or if there are other possibilities to force synchronization\nbetween these two probe routines.  On the other hand I don't expect much\nboot time penalty by probing the 'dummy' regulator synchronously."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"259b93b21a9ffe5117af4dfb5505437e463c6a5a","status":"affected","lessThan":"e26f24ca4fb940b15e092796c5993142a2558bd9","versionType":"git"},{"version":"259b93b21a9ffe5117af4dfb5505437e463c6a5a","status":"affected","lessThan":"d3b83a1442a09b145006eb4294b1a963c5345c9c","versionType":"git"},{"version":"259b93b21a9ffe5117af4dfb5505437e463c6a5a","status":"affected","lessThan":"5ade367b56c3947c990598df92395ce737bee872","versionType":"git"},{"version":"259b93b21a9ffe5117af4dfb5505437e463c6a5a","status":"affected","lessThan":"8619909b38eeebd3e60910158d7d68441fc954e9","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/regulator/dummy.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.4","versionType":"semver"},{"version":"6.6.85","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.21","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.13.9","status":"unaffected","lessThanOrEqual":"6.13.*","versionType":"semver"},{"version":"6.14","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/regulator/dummy.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/e26f24ca4fb940b15e092796c5993142a2558bd9"},{"url":"https://git.kernel.org/stable/c/d3b83a1442a09b145006eb4294b1a963c5345c9c"},{"url":"https://git.kernel.org/stable/c/5ade367b56c3947c990598df92395ce737bee872"},{"url":"https://git.kernel.org/stable/c/8619909b38eeebd3e60910158d7d68441fc954e9"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:10:53.051Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.6.85"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.12.21"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.13.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.14"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-10-01T17:08:57.163983Z","id":"CVE-2025-22009","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-476","type":"CWE","lang":"en","description":"CWE-476 NULL Pointer Dereference"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-01T17:09:02.444Z"}}]}}}