Skip to main content
Network Thinking Solutions Logo

CVE-2022-50276

Linux kernel: power: supply: fix null pointer dereferencing in power_supply_get_battery_info

All CVEs
CVE-2022-50276Published 9/15/2025

Linux kernel: power: supply: fix null pointer dereferencing in power_supply_get_battery_info

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
9/15/2025
Last modified
11/5/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.0, < 5.4.229

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.163

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.86

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.0.16

Verify advisory

Source
linux kernel
linux
≥ 6.1, < 6.1.2

Verify advisory

Source
Linux
Linux
≥ 3afb50d7125bcdbf71df843134e96ceffc78c8b8, < 8ea68b4e3fa9392ef9dae303abc8735a033c280f

Verify advisory

Source
Linux
Linux
≥ 3afb50d7125bcdbf71df843134e96ceffc78c8b8, < 5beadb55f4e36fafe5d6df5dcd5f85d803f3f134

Verify advisory

Source
Linux
Linux
≥ 3afb50d7125bcdbf71df843134e96ceffc78c8b8, < d21534ab4fd7883e1c8037a76671d4e8b6ea14cb

Verify advisory

Source
Linux
Linux
≥ 3afb50d7125bcdbf71df843134e96ceffc78c8b8, < 279af90e65cbdb3e5c4519b0043324d7876bc5ec

Verify advisory

Source
Linux
Linux
≥ 3afb50d7125bcdbf71df843134e96ceffc78c8b8, < b8131efb89d9f837c9244f900f0fc2699fd1181d

Verify advisory

Source
Linux
Linux
≥ 3afb50d7125bcdbf71df843134e96ceffc78c8b8, < 104bb8a663451404a26331263ce5b96c34504049

Verify advisory

Source
Linux
Linux
5.0

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.