CVE-2023-53310: power: supply: axp288_fuel_gauge: Fix external_power_changed race

Published Sep 16, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

power: supply: axp288fuelgauge: Fix externalpowerchanged race

fuelgaugeexternalpowerchanged() dereferences info->bat, which gets sets in axp288fuelgaugeprobe() like this:

info->bat = devmpowersupplyregister(dev, &fuelgaugedesc, &psycfg);

As soon as devmpowersupplyregister() has called deviceadd() the externalpowerchanged callback can get called. So there is a window where fuelgaugeexternalpowerchanged() may get called while info->bat has not been set yet leading to a NULL pointer dereference.

Fixing this is easy. The externalpowerchanged callback gets passed the powersupply which will eventually get stored in info->bat, so fuelgaugeexternalpowerchanged() can simply directly use the passed in psy argument which is always valid.

Affected Software

6 affected components
Linux Linux kernel
Linux Linux kernel>=5.18<6.1.31
Linux Linux kernel>=6.2<6.3.5
Linux Linux kernel=6.4-rc1
Linux Linux kernel=6.4-rc2
Linux Linux kernel=6.4-rc3

Event History

Sep 16, 2025
CVE Published
via MITRE·04:11 PM
Data Sourced
via MITRE·04:11 PM
Description
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2023-53310?

CVE-2023-53310 has been classified as a moderate severity vulnerability.

2

How do I fix CVE-2023-53310?

To fix CVE-2023-53310, ensure that you update the Linux kernel to the latest stable version that addresses this vulnerability.

3

What does CVE-2023-53310 affect?

CVE-2023-53310 affects the Linux kernel, specifically the axp288 fuel gauge functionality.

4

Is CVE-2023-53310 an exploitation risk?

Yes, CVE-2023-53310 presents an exploitation risk due to a race condition in the power supply management.

5

When was CVE-2023-53310 reported?

CVE-2023-53310 was reported and has been addressed in recent updates to the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203