CVE-2022-50634

power: supply: cw2015: Fix potential null-ptr-deref in cw_bat_probe()

References

Notes

 carnil> Introduced in b4c7715c10c1 ("power: supply: add CellWise cw2015 fuel gauge
 carnil> driver"). Vulnerable versions: 5.8.

Bugs

Status

Branch Status
upstream released (6.2-rc1) [97f2b4ddb0aa700d673691a7d5e44d226d22bab7]
6.18-upstream-stable N/A "Fixed before branching point"
6.17-upstream-stable N/A "Fixed before branching point"
6.12-upstream-stable N/A "Fixed before branching point"
6.6-upstream-stable N/A "Fixed before branching point"
6.1-upstream-stable released (6.1.2) [5150b76aa2eb8bb8feb7f7a048417f9d39c3dd04]
5.10-upstream-stable needed
sid released (6.1.4-1)
6.12-trixie-security N/A "Fixed before branching point"
6.1-bookworm-security N/A "Fixed before branching point"
5.10-bullseye-security needed