CVE-2025-38634
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-08-22

Last updated on: 2025-11-03

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: power: supply: cpcap-charger: Fix null check for power_supply_get_by_name In the cpcap_usb_detect() function, the power_supply_get_by_name() function may return `NULL` instead of an error pointer. To prevent potential null pointer dereferences, Added a null check.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-08-22
Last Modified
2025-11-03
Generated
2026-05-27
AI Q&A
2025-08-22
EPSS Evaluated
2026-05-25
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel 6.1.153-1
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability occurs in the Linux kernel's power supply subsystem, specifically in the cpcap-charger driver. The function power_supply_get_by_name() may return NULL instead of an error pointer, and the cpcap_usb_detect() function did not properly check for this NULL value. This could lead to a null pointer dereference, which is a type of programming error that can cause the system to crash or behave unpredictably. The vulnerability was fixed by adding a null check to prevent such dereferences.


How can this vulnerability impact me? :

If exploited, this vulnerability could cause the Linux kernel to dereference a null pointer, potentially leading to a system crash or instability. This could result in denial of service or unexpected behavior in systems using the affected driver.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart