{"id":"DEBIAN-CVE-2023-53310","details":"In the Linux kernel, the following vulnerability has been resolved:  power: supply: axp288_fuel_gauge: Fix external_power_changed race  fuel_gauge_external_power_changed() dereferences info-\u003ebat, which gets sets in axp288_fuel_gauge_probe() like this:    info-\u003ebat = devm_power_supply_register(dev, &fuel_gauge_desc, &psy_cfg);  As soon as devm_power_supply_register() has called device_add() the external_power_changed callback can get called. So there is a window where fuel_gauge_external_power_changed() may get called while info-\u003ebat has not been set yet leading to a NULL pointer dereference.  Fixing this is easy. The external_power_changed callback gets passed the power_supply which will eventually get stored in info-\u003ebat, so fuel_gauge_external_power_changed() can simply directly use the passed in psy argument which is always valid.","modified":"2026-09-15T09:02:43.814048424Z","published":"2025-09-16T17:15:36.847Z","upstream":["CVE-2023-53310"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2023-53310"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:12","purl":"pkg:deb/debian/linux?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.1.37-1"}]}],"versions":["6.1.27-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-53310.json"}},{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.3.7-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-53310.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.3.7-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-53310.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}