Bug 2536770 (CVE-2026-93112) - CVE-2026-93112 kernel: bpf: Require a BPF cpumask for bpf_cpumask_populate()
Summary: CVE-2026-93112 kernel: bpf: Require a BPF cpumask for bpf_cpumask_populate()
Keywords:
Status: NEW
Alias: CVE-2026-93112
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-17 19:30 UTC by OSIDB Bzimport
Modified: 2026-09-30 16:25 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-17 19:30:52 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.