# CVE-2026-93112: bpf: Require a BPF cpumask for bpf_cpumask_populate()

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- 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.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-09-17T16:11:21.122Z
- Modified: 2026-10-19T10:17:01.120Z
- Assigned by: Linux

## Description

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

bpf: Require a BPF cpumask for bpf_cpumask_populate()

bpf_cpumask_populate() writes to its destination with bitmap_copy(), but
the destination is typed as struct cpumask *. That allows the verifier to
accept borrowed cpumask pointers returned by read-only kfuncs, such as
scx_bpf_get_online_cpumask(), as a writable destination.

Make the destination a struct bpf_cpumask * so populate follows the same
ownership rule as the other mutating cpumask kfuncs. Query kfuncs continue
to accept const struct cpumask * inputs.

(As written by CVE List.)

## Affected

- Linux Linux: from 950ad93df2fce70445e655ed2e74f5c1a8653ab2 before 0cfc9348a045da64955af2dd6902e66dfc7d6469; from 950ad93df2fce70445e655ed2e74f5c1a8653ab2 before b7e2a5c6519adc73be55c3de2cb545e095a0fbc5; from 950ad93df2fce70445e655ed2e74f5c1a8653ab2 before 8740156ad33be5071b588b594c55f279457f667c; 6.15 (not affected: before 6.15; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/0cfc9348a045da64955af2dd6902e66dfc7d6469>
- <https://git.kernel.org/stable/c/b7e2a5c6519adc73be55c3de2cb545e095a0fbc5>
- <https://git.kernel.org/stable/c/8740156ad33be5071b588b594c55f279457f667c>

## Sources

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

---

Page: https://cve.day/CVE-2026-93112 · Whole record: https://cve.day/CVE-2026-93112.json · Rebuilt by cve.day 2026-11-25T22:59:39.457Z
