CVE-2023-53310
BaseFortify
Publication date: 2025-09-16
Last updated on: 2025-12-01
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.18 (inc) to 6.1.31 (exc) |
| linux | linux_kernel | From 6.2 (inc) to 6.3.5 (exc) |
| linux | linux_kernel | 6.4 |
| linux | linux_kernel | 6.4 |
| linux | linux_kernel | 6.4 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-362 | The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a race condition in the Linux kernel's axp288 fuel gauge driver. The function fuel_gauge_external_power_changed() dereferences a pointer (info->bat) that may not have been set yet due to timing between device registration and callback invocation. This can lead to a NULL pointer dereference, causing potential crashes or instability. The fix involves using the passed-in power_supply argument directly, which is always valid, instead of relying on info->bat.
How can this vulnerability impact me? :
This vulnerability can cause a NULL pointer dereference in the Linux kernel, which may lead to kernel crashes or system instability. This could affect system reliability and availability, potentially causing unexpected reboots or failures in power supply monitoring on affected devices.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update the Linux kernel to a version that includes the fix for the axp288_fuel_gauge external_power_changed race condition. The fix ensures that the external_power_changed callback uses a valid power_supply argument, preventing NULL pointer dereference.