reset: starfive: jh71x0: Fix accessing the empty member on JH7110 SoC
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 |
|
|
6.6.866.11.66.12In the Linux kernel, the following vulnerability has been resolved:
reset: starfive: jh71x0: Fix accessing the empty member on JH7110 SoC
data->asserted will be NULL on JH7110 SoC since commit 82327b127d41 ("reset: starfive: Add StarFive JH7110 reset driver") was added. Add the judgment condition to avoid errors when calling reset_control_status on JH7110 SoC.
From the CVE record · Linux
The Linux kernel’s StarFive JH7110 reset driver can access a NULL member when reset_control_status is called on a JH7110 SoC, causing an error. The input does not specify an attacker action, access requirements, or user interaction.
Engineers running the Linux kernel on StarFive JH7110 SoCs should check their installations; affected versions are not specified.