{"id":"CVE-2026-93112","revision":"33b43bc0eb1b4553892dd63e93f7f4e4","records":[{"revision":"33b43bc0eb1b4553892dd63e93f7f4e4","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-93112","aliases":[],"title":"bpf: Require a BPF cpumask for bpf_cpumask_populate()","description":"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.","state":0,"publishedAt":"2026-09-17T16:11:21.122+00:00","modifiedAt":"2026-10-19T09:05:45.809+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"kernel/bpf/cpumask.c\",\n                        \"tools/sched_ext/include/scx/compat.bpf.h\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"950ad93df2fce70445e655ed2e74f5c1a8653ab2\",\n                            \"lessThan\": \"0cfc9348a045da64955af2dd6902e66dfc7d6469\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"950ad93df2fce70445e655ed2e74f5c1a8653ab2\",\n                            \"lessThan\": \"b7e2a5c6519adc73be55c3de2cb545e095a0fbc5\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"950ad93df2fce70445e655ed2e74f5c1a8653ab2\",\n                            \"lessThan\": \"8740156ad33be5071b588b594c55f279457f667c\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"kernel/bpf/cpumask.c\",\n                        \"tools/sched_ext/include/scx/compat.bpf.h\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.15\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.15\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.52\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.6\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"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,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/0cfc9348a045da64955af2dd6902e66dfc7d6469","https://git.kernel.org/stable/c/b7e2a5c6519adc73be55c3de2cb545e095a0fbc5","https://git.kernel.org/stable/c/8740156ad33be5071b588b594c55f279457f667c"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-93112","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-93112","identifiers":["CVE-2026-93112"]},"retained":false,"historicalAffected":[]}],"coverage":[]}