{"id":"CVE-2026-31734","published":"2026-05-01T14:14:32Z","modified":"2026-05-11T22:14:43Z","title":"sched_ext: Fix is_bpf_migration_disabled() false negative on non-PREEMPT_RCU","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsched_ext: Fix is_bpf_migration_disabled() false negative on non-PREEMPT_RCU\n\nSince commit 8e4f0b1ebcf2 (\"bpf: use rcu_read_lock_dont_migrate() for\ntrampoline.c\"), the BPF prolog (__bpf_prog_enter) calls migrate_disable()\nonly when CONFIG_PREEMPT_RCU is enabled, via rcu_read_lock_dont_migrate().\nWithout CONFIG_PREEMPT_RCU, the prolog never touches migration_disabled,\nso migration_disabled == 1 always means the task is truly\nmigration-disabled regardless of whether it is the current task.\n\nThe old unconditional p == current check was a false negative in this\ncase, potentially allowing a migration-disabled task to be dispatched to\na remote CPU and triggering scx_error in task_can_run_on_remote_rq().\n\nOnly apply the p == current disambiguation when CONFIG_PREEMPT_RCU is\nenabled, where the ambiguity with the BPF prolog still exists.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0016,"percentile":0.02729,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/72c43eb2e334febe93018cfb68ae828f55c6e49e","tags":[]},{"url":"https://git.kernel.org/stable/c/b4992a9446bb9a639007bfd32bf5c5a7e30199e5","tags":[]},{"url":"https://git.kernel.org/stable/c/0c4a59df370bea245695c00aaae6ae75747139bd","tags":[]}],"priority":{"score":0.5,"factors":[{"name":"EPSS percentile","points":0.55}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 8e4f0b1ebcf2180ab594f204f01279a666dadf3b, < 72c43eb2e334febe93018cfb68ae828f55c6e49e",">= 8e4f0b1ebcf2180ab594f204f01279a666dadf3b, < b4992a9446bb9a639007bfd32bf5c5a7e30199e5",">= 8e4f0b1ebcf2180ab594f204f01279a666dadf3b, < 0c4a59df370bea245695c00aaae6ae75747139bd"]},{"vendor":"Linux","product":"Linux","versions":["6.18"]}],"euvd":{"id":"EUVD-2026-26547","exploited":false,"provenance":"source"}}