{"id":"CVE-2026-93112","aliases":["CVE-2026-93112"],"related":[],"kind":"vulnerability","state":"published","title":"bpf: Require a BPF cpumask for bpf_cpumask_populate()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Require a BPF cpumask for bpf_cpumask_populate()\n\nbpf_cpumask_populate() writes to its destination with bitmap_copy(), but\nthe destination is typed as struct cpumask *. That allows the verifier to\naccept borrowed cpumask pointers returned by read-only kfuncs, such as\nscx_bpf_get_online_cpumask(), as a writable destination.\n\nMake the destination a struct bpf_cpumask * so populate follows the same\nownership rule as the other mutating cpumask kfuncs. Query kfuncs continue\nto accept const struct cpumask * inputs.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Require a BPF cpumask for bpf_cpumask_populate()\n\nbpf_cpumask_populate() writes to its destination with bitmap_copy(), but\nthe destination is typed as struct cpumask *. That allows the verifier to\naccept borrowed cpumask pointers returned by read-only kfuncs, such as\nscx_bpf_get_online_cpumask(), as a writable destination.\n\nMake the destination a struct bpf_cpumask * so populate follows the same\nownership rule as the other mutating cpumask kfuncs. Query kfuncs continue\nto accept const struct cpumask * inputs.","source":"cvelist"}],"published":"2026-09-17T16:11:21.122Z","modified":"2026-10-19T10:17:01.120Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":7.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"950ad93df2fce70445e655ed2e74f5c1a8653ab2","fixed":"0cfc9348a045da64955af2dd6902e66dfc7d6469","status":"affected"},{"type":"git","introduced":"950ad93df2fce70445e655ed2e74f5c1a8653ab2","fixed":"b7e2a5c6519adc73be55c3de2cb545e095a0fbc5","status":"affected"},{"type":"git","introduced":"950ad93df2fce70445e655ed2e74f5c1a8653ab2","fixed":"8740156ad33be5071b588b594c55f279457f667c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","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/0cfc9348a045da64955af2dd6902e66dfc7d6469","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b7e2a5c6519adc73be55c3de2cb545e095a0fbc5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8740156ad33be5071b588b594c55f279457f667c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-93112","url":"https://www.cve.org/CVERecord?id=CVE-2026-93112","licence":"CVE Terms of Use","modified":"2026-10-19T09:05:45.809Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-93112","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93112","licence":"Public domain","modified":"2026-10-19T10:17:01.120Z"}],"updatedAt":"2026-11-25T22:59:39.457Z","epss":{"score":0.00124,"percentile":0.02328,"date":"2026-12-01T12:00:22.000Z"}}