{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-50300","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-10-21T19:36:19.987Z","datePublished":"2024-11-19T01:30:48.650Z","dateUpdated":"2026-08-05T11:43:13.349Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T11:43:13.349Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nregulator: rtq2208: Fix uninitialized use of regulator_config\n\nFix rtq2208 driver uninitialized use to cause kernel error."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The defect lives in `rtq2208_probe()`, an I2C client probe routine reached only through the local device/driver model (boot-time DT match, module load, or sysfs bind), with no network- or adjacent-facing consumer of this code.\nAC:L - The uninitialized `cfg` is consumed unconditionally on every probe with no race window, no timing dependency, and no need to defeat any layout the attacker cannot influence — the reporter observed the resulting kernel error deterministically on affected hardware.\nPR:L - No credential check guards the path; an unprivileged local context on an affected board is exposed to the corrupted regulator state, and the resulting wild-pointer-backed constraints are readable through unprivileged `/sys/class/regulator/*` attributes.\nUI:N - Probe runs automatically when the RTQ2208 is matched, so no action by any other user or victim is required for the uninitialized config to be consumed.\nS:U - The corruption stays inside the kernel's own memory and security authority — no hypervisor, IOMMU, or sandbox boundary is crossed.\nC:H - `rdev->constraints` is `kmemdup()`ed from the uninitialized `init_data` pointer and its fields (including a `name` char pointer) are exported via world-readable regulator sysfs attributes, and the wild `rdev->regmap` makes register reads target arbitrary kernel addresses, yielding kernel memory disclosure.\nI:H - `init_data->regulator_init(rdev->reg_data)` is an indirect call through a function pointer sourced from uninitialized stack memory, and the garbage `regmap`/`ena_gpiod` drive `regmap_update_bits()` writes and `of_node_get()` refcount increments at attacker-uncontrolled kernel addresses — a control-flow hijack and arbitrary-write primitive.\nA:H - Dereferencing the uninitialized `regmap`, `init_data`, and `ena_gpiod` pointers oopses the kernel during probe, which on affected boards means a panic in the power-management path and a system that fails to boot."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/regulator/rtq2208-regulator.c"],"versions":[{"version":"85a11f55621a0c18b22b43ab4219450ac1d19386","lessThan":"9b7c0405af667857b3ad24a7ef6723f5475a9e43","status":"affected","versionType":"git"},{"version":"85a11f55621a0c18b22b43ab4219450ac1d19386","lessThan":"64fbab934ae59be9caffc80a75450984b1e108e0","status":"affected","versionType":"git"},{"version":"85a11f55621a0c18b22b43ab4219450ac1d19386","lessThan":"2feb023110843acce790e9089e72e9a9503d9fa5","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/regulator/rtq2208-regulator.c"],"versions":[{"version":"6.6","status":"affected"},{"version":"0","lessThan":"6.6","status":"unaffected","versionType":"semver"},{"version":"6.6.61","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.11.8","lessThanOrEqual":"6.11.*","status":"unaffected","versionType":"semver"},{"version":"6.12","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.6.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.11.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.12"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/9b7c0405af667857b3ad24a7ef6723f5475a9e43"},{"url":"https://git.kernel.org/stable/c/64fbab934ae59be9caffc80a75450984b1e108e0"},{"url":"https://git.kernel.org/stable/c/2feb023110843acce790e9089e72e9a9503d9fa5"}],"title":"regulator: rtq2208: Fix uninitialized use of regulator_config","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"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":{"id":"CVE-2024-50300","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2025-10-01T20:13:54.439730Z"}}}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","cweId":"CWE-908","description":"CWE-908 Use of Uninitialized Resource"}]}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-10-01T20:17:19.962Z"}}]}}