Security Advisory

CVE-2022-50276

CVE vulnerability detail — eXtreme Datacenter Security Operations

Published 2025-09-15 14:21:13
Last updated 2026-05-11 19:16:11
Assigner Linux
State PUBLISHED

Description

In the Linux kernel, the following vulnerability has been resolved: power: supply: fix null pointer dereferencing in power_supply_get_battery_info when kmalloc() fail to allocate memory in kasprintf(), propname will be NULL, strcmp() called by of_get_property() will cause null pointer dereference. So return ENOMEM if kasprintf() return NULL pointer.