VULNERABILITY INTELLIGENCE

CVE-2022-50276

CVSS score5.5 MEDIUM
EPSS probability0.16%
CISA KEVNot currently listed
Published2025-09-15
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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.

Weakness classification

  • nvd@nist.gov: CWE-476

Primary references