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

Published Sep 17, 2026
·
Updated

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

bpf: Require a BPF cpumask for bpfcpumaskpopulate()

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

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

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 17, 2026
CVE Published
via MITRE·04:11 PM
Data Sourced
via MITRE·04:11 PM
Description

Frequently Asked Questions

1

What condition makes a system exposed to this issue?

Exposure exists when a BPF program can invoke bpf_cpumask_populate() with a borrowed cpumask pointer returned by a read-only kfunc, such as scx_bpf_get_online_cpumask(), as its destination.

2

What does the fix change for BPF programs using cpumask kfuncs?

The destination argument is changed from struct cpumask * to struct bpf_cpumask *. This makes bpf_cpumask_populate() require an owned BPF cpumask destination, while query kfuncs still accept const struct cpumask * inputs.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203