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.