עברית

Vulnerability Intelligence

CVE-2022-50276

Medium 5.5

Published
Last modified
NVD status
Analyzed

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.

Affected products

linux: linux kernel

References6

Metrics

CVSS 3.1
5.5 MEDIUM Score source: NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS — exploit probability
0% percentile: 5 · as of 8 November 2026
CWE
CWE-476

Could this be exploited in your environment?

A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.