power: supply: cpcap-charger: Fix null check for power_supply_get_by_name
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 27001e4f146624c4b3389b029bdc0f8049819560, Kernel 4ebbb9106aaa2fd58e0359bc3a2490953db2ef0c, Kernel 8e9bdb563916287ba1b4258812434e0585ac6d00 and 4 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.14, >=eab4e6d953c1059a30ac0f15826abc7dd2374d3c <27001e4f146624c4b3389b029bdc0f8049819560, >=eab4e6d953c1059a30ac0f15826abc7dd2374d3c <4ebbb9106aaa2fd58e0359bc3a2490953db2ef0c, >=eab4e6d953c1059a30ac0f15826abc7dd2374d3c <8e9bdb563916287ba1b4258812434e0585ac6d00, >=eab4e6d953c1059a30ac0f15826abc7dd2374d3c <9784d832d7c103539cd9afb376534eaa35815d3d, >=eab4e6d953c1059a30ac0f15826abc7dd2374d3c <a2436263144980cc99a9860c7b43335847afbe53, >=eab4e6d953c1059a30ac0f15826abc7dd2374d3c <d9fa3aae08f99493e67fb79413c0e95d30fca5e9, >=eab4e6d953c1059a30ac0f15826abc7dd2374d3c <f642500aa7ed93d2606e4f929244cce9c7467b3a | 27001e4f146624c4b3389b029bdc0f8049819560, 4ebbb9106aaa2fd58e0359bc3a2490953db2ef0c, 8e9bdb563916287ba1b4258812434e0585ac6d00, 9784d832d7c103539cd9afb376534eaa35815d3d, a2436263144980cc99a9860c7b43335847afbe53, d9fa3aae08f99493e67fb79413c0e95d30fca5e9, f642500aa7ed93d2606e4f929244cce9c7467b3a |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket