# CVE-2026-99948: PM: EM: allocate the cpumask for every perf domain

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-01)
- Published: 2026-11-30T13:18:32.798Z
- Modified: 2026-11-30T14:20:32.013Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

PM: EM: allocate the cpumask for every perf domain

em_create_pd() allocates space for the trailing cpus[] flexible array
only for CPU devices.  A performance domain registered for another
device therefore has no storage for its cpumask.

All performance domains are added to em_pd_list.  The netlink interface
does not distinguish CPU and non-CPU domains when it calls
cpumask_weight() or iterates over pd->cpus.  A request for a non-CPU
domain reads cpumask_size() bytes beyond the allocation and can report
bits from the following memory as CPU attributes.

KASAN reports slab-out-of-bounds reads for both dump and by-ID requests
against a synthetic non-CPU performance domain.

GET_PERF_DOMAINS does not require GENL_ADMIN_PERM, so an unprivileged
request can reach this path when a GPU or another devfreq device has
registered an energy model.

Allocate the cpumask for non-CPU domains too.  The zeroed mask remains
empty, as required for the documented unused field.

(As written by CVE List.)

## Affected

- Linux Linux: from d8eef0453132dc95354e4c7ae839815e679179c6 before 0588052542ab6cd29e1b05dd483a9bdab69c9332; from d8eef0453132dc95354e4c7ae839815e679179c6 before 6c7a7007c5b7566fba4fbee1d40011fb8f833dc3; 6.19 (not affected: before 6.19; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/0588052542ab6cd29e1b05dd483a9bdab69c9332>
- <https://git.kernel.org/stable/c/6c7a7007c5b7566fba4fbee1d40011fb8f833dc3>

## Sources

- CVE List: [CVE-2026-99948](https://www.cve.org/CVERecord?id=CVE-2026-99948), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-99948](https://nvd.nist.gov/vuln/detail/CVE-2026-99948), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-99948 · Whole record: https://cve.day/CVE-2026-99948.json · Rebuilt by cve.day 2026-11-30T14:33:45.583Z
