CVE-2025-21965

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-21965
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21965.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21965
Downstream
Published
2025-04-01T16:15:27Z
Modified
2025-08-09T20:01:27Z
Summary
[none]
Details

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

schedext: Validate prevcpu in scxbpfselectcpudfl()

If a BPF scheduler provides an invalid CPU (outside the nrcpuids range) as prevcpu to scxbpfselectcpu_dfl() it can cause a kernel crash.

To prevent this, validate prevcpu in scxbpfselectcpu_dfl() and trigger an scx error if an invalid CPU is specified.

References

Affected packages