power: supply: fix null pointer dereferencing in powersupplygetbatteryinfo
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.15.86 by commit d21534ab4fd7883e1c8037a76671d4e8b6ea14cb, it was introduced in version v5.0 by commit 3afb50d7125bcdbf71df843134e96ceffc78c8b8. For more details please see the references link.