power: supply: rt5033: Bring back i2c_set_clientdata
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
power: supply: rt5033: Bring back i2c_set_clientdata
Commit 3a93da231c12 ("power: supply: rt5033: Use devm_power_supply_register() helper") reworked the driver to use devm. While at it, the i2c_set_clientdata was dropped along with the remove callback. Unfortunately other parts of the driver also rely on i2c clientdata so this causes kernel oops.
Bring the call back to fix the driver.
From the CVE record · Linux
The rt5033 power supply driver dropped an i2c_set_clientdata call that other parts of the driver rely on, causing a kernel oops. The input does not specify how the issue can be triggered or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with the affected rt5033 power supply driver should check their kernel; affected versions are not specified.