5.5medium
regulator: tps65219: fix irq_data.rdev not being assigned
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.12% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: regulator: tps65219: fix irq_data.rdev not being assigned Commit 64a6b577490c ("regulator: tps65219: Remove debugging helper function") removed the tps65219_get_rdev_by_name() helper along with the irq_data.rdev assignment that depended on it. This left irq_data.rdev uninitialized for all IRQs, causing undefined behavior when regulator_notifier_call_chain() is called from the IRQ handler: Internal error: Oops: 0000000096000004 pc : regulator_notifier_call_chain lr : tps65219_regulator_irq_handler Call trace: regulator_notifier_call_chain tps65219_regulator_irq_handler handle_nested_irq regmap_irq_thread irq_thread_fn irq_thread kthread ret_from_fork Instead of restoring a dedicated lookup array, restructure the probe function to combine regulator registration with IRQ registration in the same loop. This way the rdev returned by devm_regulator_register() is naturally available for assigning to irq_data.rdev without any auxiliary data structure. Non-regulator IRQs (SENSOR, TIMEOUT) that don't correspond to any registered regulator are registered with rdev=NULL, and the IRQ handler is protected with a NULL check to avoid crashing.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 64a6b577490c1c71f1a3bbdb3844717815214621 before 6827647fd2dcf4e7f355478a42e82f51e0b5344c, from 64a6b577490c1c71f1a3bbdb3844717815214621 before b986f88b22a5374191c195c073350bbeb1bb6518, from 64a6b577490c1c71f1a3bbdb3844717815214621 before f9b2d3b703d13df50c630997dfdc25648e96db0d, 6.14 Not affected: before 6.14, from 6.18.34 up to 6.18.*, from 7.0.11 up to 7.0.*, from 7.1 up to * | CVE List |
| linux linux_kernel | from 6.14 before 6.18.34, from 6.19 before 7.0.11, 7.1 | NVD |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-64230 changed 2026-07-24 | CVE Terms of Use |
| NVD | CVE-2026-64230 changed 2026-08-12 | Public domain |