{"id":"CVE-2026-99948","aliases":["CVE-2026-99948"],"related":[],"kind":"vulnerability","state":"published","title":"PM: EM: allocate the cpumask for every perf domain","summary":"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->cpus.  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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->cpus.  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.","source":"cvelist"}],"published":"2026-11-30T13:18:32.798Z","modified":"2026-11-30T14:20:32.013Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d8eef0453132dc95354e4c7ae839815e679179c6","fixed":"0588052542ab6cd29e1b05dd483a9bdab69c9332","status":"affected"},{"type":"git","introduced":"d8eef0453132dc95354e4c7ae839815e679179c6","fixed":"6c7a7007c5b7566fba4fbee1d40011fb8f833dc3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.19","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/0588052542ab6cd29e1b05dd483a9bdab69c9332","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6c7a7007c5b7566fba4fbee1d40011fb8f833dc3","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99948","url":"https://www.cve.org/CVERecord?id=CVE-2026-99948","licence":"CVE Terms of Use","modified":"2026-11-30T13:18:32.798Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99948","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99948","licence":"Public domain","modified":"2026-11-30T14:20:32.013Z"}],"updatedAt":"2026-11-30T14:33:45.583Z","epss":{"score":0.00286,"percentile":0.22768,"date":"2026-12-01T12:00:22.000Z"}}