CVE-2026-93112

bpf: Require a BPF cpumask for bpf_cpumask_populate()

State
Published
Severity
7.1 High
Published
Sep 17, 2026
Updated
Oct 19, 2026
Reserved
Sep 17, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 950ad93df2fce70445e655ed2e74f5c1a8653ab2 to before 0cfc9348a045da64955af2dd6902e66dfc7d6469Affected
  • 950ad93df2fce70445e655ed2e74f5c1a8653ab2 to before b7e2a5c6519adc73be55c3de2cb545e095a0fbc5Affected
  • 950ad93df2fce70445e655ed2e74f5c1a8653ab2 to before 8740156ad33be5071b588b594c55f279457f667cAffected
LinuxLinux
  • 6.15Affected
  • before 6.15Not affected
  • 6.18.52 through 6.18.*Not affected
  • 7.2.6 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.