{"id":"CVE-2026-99948","summary":"PM: EM: allocate the cpumask for every perf domain","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nPM: EM: allocate the cpumask for every perf domain\n\nem_create_pd() allocates space for the trailing cpus[] flexible array\nonly for CPU devices.  A performance domain registered for another\ndevice therefore has no storage for its cpumask.\n\nAll performance domains are added to em_pd_list.  The netlink interface\ndoes not distinguish CPU and non-CPU domains when it calls\ncpumask_weight() or iterates over pd-\u003ecpus.  A request for a non-CPU\ndomain reads cpumask_size() bytes beyond the allocation and can report\nbits from the following memory as CPU attributes.\n\nKASAN reports slab-out-of-bounds reads for both dump and by-ID requests\nagainst a synthetic non-CPU performance domain.\n\nGET_PERF_DOMAINS does not require GENL_ADMIN_PERM, so an unprivileged\nrequest can reach this path when a GPU or another devfreq device has\nregistered an energy model.\n\nAllocate the cpumask for non-CPU domains too.  The zeroed mask remains\nempty, as required for the documented unused field.","modified":"2026-11-30T15:02:32.866624697Z","published":"2026-11-30T13:18:32.798Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99948.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0588052542ab6cd29e1b05dd483a9bdab69c9332"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6c7a7007c5b7566fba4fbee1d40011fb8f833dc3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99948.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99948"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d8eef0453132dc95354e4c7ae839815e679179c6"},{"fixed":"0588052542ab6cd29e1b05dd483a9bdab69c9332"},{"fixed":"6c7a7007c5b7566fba4fbee1d40011fb8f833dc3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99948.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99948.json"}}],"schema_version":"1.9.2"}