CVE-2026-31744

published 1 May 2026 · updated 13 Nov 2026

PM: EM: Fix NULL pointer dereference when perf domain ID is not found

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ab09b9a1e3b02ff62c5aebe3b12b0cb4cb4ea8ab, Kernel 6.19.12 and Kernel 9badc2a84e688be1275bb740942d5f6f51746908.

In the Linux kernel, the following vulnerability has been resolved: PM: EM: Fix NULL pointer dereference when perf domain ID is not found dev_energymodel_nl_get_perf_domains_doit() calls em_perf_domain_get_by_id() but does not check the return value before passing it to __em_nl_get_pd_size(). When a caller supplies a non-existent perf domain ID, em_perf_domain_get_by_id() returns NULL, and __em_nl_get_pd_size() immediately dereferences pd->cpus (struct offset 0x30), causing a NULL pointer dereference. The sister handler dev_energymodel_nl_get_perf_table_doit() already handles this correctly via __em_nl_get_pd_table_id(), which returns NULL and causes the caller to return -EINVAL. Add the same NULL check in the get-perf-domains do handler. [ rjw: Subject and changelog edits ]

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=380ff27af25e49e2cb2ff8fd0ecd7c95be2976ee <ab09b9a1e3b02ff62c5aebe3b12b0cb4cb4ea8ab, =6.19, =7.0, >=6.19.1 <6.19.12, >=380ff27af25e49e2cb2ff8fd0ecd7c95be2976ee <9badc2a84e688be1275bb740942d5f6f51746908ab09b9a1e3b02ff62c5aebe3b12b0cb4cb4ea8ab, 6.19.12, 9badc2a84e688be1275bb740942d5f6f51746908
linux-kernel: Kernel>=6.19.0 <6.19.126.19.12

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-31744 severity on Zeptric[![CVE-2026-31744](https://zeptric.io/badge/cve/CVE-2026-31744.svg)](https://zeptric.io/cve/CVE-2026-31744)