{"cve":"CVE-2022-50276","nvd":{"published":"2025-09-15T15:15:38.583","modified":"2026-06-17T05:23:08.090","status":"Analyzed","description":"In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: fix null pointer dereferencing in power_supply_get_battery_info\n\nwhen kmalloc() fail to allocate memory in kasprintf(), propname\nwill be NULL, strcmp() called by of_get_property() will cause\nnull pointer dereference.\n\nSo return ENOMEM if kasprintf() return NULL pointer.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5},"cwes":["CWE-476"],"references":["https://git.kernel.org/stable/c/104bb8a663451404a26331263ce5b96c34504049","https://git.kernel.org/stable/c/279af90e65cbdb3e5c4519b0043324d7876bc5ec","https://git.kernel.org/stable/c/5beadb55f4e36fafe5d6df5dcd5f85d803f3f134","https://git.kernel.org/stable/c/8ea68b4e3fa9392ef9dae303abc8735a033c280f","https://git.kernel.org/stable/c/b8131efb89d9f837c9244f900f0fc2699fd1181d"],"products":["linux:linux_kernel"],"source":"nvd","synced_at":"2026-10-19T22:08:41.295252406+00:00"},"epss":{"cve":"CVE-2022-50276","score":0.00161,"percentile":0.05253,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}