{"id":"CVE-2026-31744","published":"2026-05-01T14:14:38Z","modified":"2026-05-11T22:14:55Z","title":"PM: EM: Fix NULL pointer dereference when perf domain ID is not found","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nPM: EM: Fix NULL pointer dereference when perf domain ID is not found\n\ndev_energymodel_nl_get_perf_domains_doit() calls\nem_perf_domain_get_by_id() but does not check the return value before\npassing it to __em_nl_get_pd_size(). When a caller supplies a\nnon-existent perf domain ID, em_perf_domain_get_by_id() returns NULL,\nand __em_nl_get_pd_size() immediately dereferences pd->cpus\n(struct offset 0x30), causing a NULL pointer dereference.\n\nThe sister handler dev_energymodel_nl_get_perf_table_doit() already\nhandles this correctly via __em_nl_get_pd_table_id(), which returns\nNULL and causes the caller to return -EINVAL. Add the same NULL check\nin the get-perf-domains do handler.\n\n[ rjw: Subject and changelog edits ]","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00107,"percentile":0.01165,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/ab09b9a1e3b02ff62c5aebe3b12b0cb4cb4ea8ab","tags":[]},{"url":"https://git.kernel.org/stable/c/9badc2a84e688be1275bb740942d5f6f51746908","tags":[]}],"priority":{"score":0.2,"factors":[{"name":"EPSS percentile","points":0.23}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 380ff27af25e49e2cb2ff8fd0ecd7c95be2976ee, < ab09b9a1e3b02ff62c5aebe3b12b0cb4cb4ea8ab",">= 380ff27af25e49e2cb2ff8fd0ecd7c95be2976ee, < 9badc2a84e688be1275bb740942d5f6f51746908"]},{"vendor":"Linux","product":"Linux","versions":["6.19"]}],"euvd":{"id":"EUVD-2026-26557","exploited":false,"provenance":"source"}}