{"id":"CVE-2026-45919","aliases":["CVE-2026-45919"],"related":[],"kind":"vulnerability","state":"published","title":"sched/rt: Skip currently executing CPU in rto_next_cpu()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsched/rt: Skip currently executing CPU in rto_next_cpu()\n\nCPU0 becomes overloaded when hosting a CPU-bound RT task, a non-CPU-bound\nRT task, and a CFS task stuck in kernel space. When other CPUs switch from\nRT to non-RT tasks, RT load balancing (LB) is triggered; with\nHAVE_RT_PUSH_IPI enabled, they send IPIs to CPU0 to drive the execution\nof rto_push_irq_work_func. During push_rt_task on CPU0,\nif next_task->prio < rq->donor->prio, resched_curr() sets NEED_RESCHED\nand after the push operation completes, CPU0 calls rto_next_cpu().\nSince only CPU0 is overloaded in this scenario, rto_next_cpu() should\nideally return -1 (no further IPI needed).\n\nHowever, multiple CPUs invoking tell_cpu_to_push() during LB increments\nrd->rto_loop_next. Even when rd->rto_cpu is set to -1, the mismatch between\nrd->rto_loop and rd->rto_loop_next forces rto_next_cpu() to restart its\nsearch from -1. With CPU0 remaining overloaded (satisfying rt_nr_migratory\n&& rt_nr_total > 1), it gets reselected, causing CPU0 to queue irq_work to\nitself and send self-IPIs repeatedly. As long as CPU0 stays overloaded and\nother CPUs run pull_rt_tasks(), it falls into an infinite self-IPI loop,\nwhich triggers a CPU hardlockup due to continuous self-interrupts.\n\nThe trigging scenario is as follows:\n\n         cpu0                      cpu1                    cpu2\n                                pull_rt_task\n                              tell_cpu_to_push\n                 <------------irq_work_queue_on\nrto_push_irq_work_func\n       push_rt_task\n    resched_curr(rq)                                   pull_rt_task\n    rto_next_cpu                                     tell_cpu_to_push\n                      <-------------------------- atomic_inc(rto_loop_next)\nrd->rto_loop != next\n     rto_next_cpu\n   irq_work_queue_on\nrto_push_irq_work_func\n\nFix redundant self-IPI by filtering the initiating CPU in rto_next_cpu().\nThis solution has been verified to effectively eliminate spurious self-IPIs\nand prevent CPU hardlockup scenarios.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsched/rt: Skip currently executing CPU in rto_next_cpu()\n\nCPU0 becomes overloaded when hosting a CPU-bound RT task, a non-CPU-bound\nRT task, and a CFS task stuck in kernel space. When other CPUs switch from\nRT to non-RT tasks, RT load balancing (LB) is triggered; with\nHAVE_RT_PUSH_IPI enabled, they send IPIs to CPU0 to drive the execution\nof rto_push_irq_work_func. During push_rt_task on CPU0,\nif next_task->prio < rq->donor->prio, resched_curr() sets NEED_RESCHED\nand after the push operation completes, CPU0 calls rto_next_cpu().\nSince only CPU0 is overloaded in this scenario, rto_next_cpu() should\nideally return -1 (no further IPI needed).\n\nHowever, multiple CPUs invoking tell_cpu_to_push() during LB increments\nrd->rto_loop_next. Even when rd->rto_cpu is set to -1, the mismatch between\nrd->rto_loop and rd->rto_loop_next forces rto_next_cpu() to restart its\nsearch from -1. With CPU0 remaining overloaded (satisfying rt_nr_migratory\n&& rt_nr_total > 1), it gets reselected, causing CPU0 to queue irq_work to\nitself and send self-IPIs repeatedly. As long as CPU0 stays overloaded and\nother CPUs run pull_rt_tasks(), it falls into an infinite self-IPI loop,\nwhich triggers a CPU hardlockup due to continuous self-interrupts.\n\nThe trigging scenario is as follows:\n\n         cpu0                      cpu1                    cpu2\n                                pull_rt_task\n                              tell_cpu_to_push\n                 <------------irq_work_queue_on\nrto_push_irq_work_func\n       push_rt_task\n    resched_curr(rq)                                   pull_rt_task\n    rto_next_cpu                                     tell_cpu_to_push\n                      <-------------------------- atomic_inc(rto_loop_next)\nrd->rto_loop != next\n     rto_next_cpu\n   irq_work_queue_on\nrto_push_irq_work_func\n\nFix redundant self-IPI by filtering the initiating CPU in rto_next_cpu().\nThis solution has been verified to effectively eliminate spurious self-IPIs\nand prevent CPU hardlockup scenarios.","source":"cvelist"}],"published":"2026-05-27T12:17:37.165Z","modified":"2026-11-06T16:18:52.047Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-835"],"affected":[{"ranges":[{"type":"git","introduced":"4bdced5c9a2922521e325896a7bbbf0132c94e56","fixed":"d57d0746276a88ea43a2cc62b849fd8a95e32e41","status":"affected"},{"type":"git","introduced":"4bdced5c9a2922521e325896a7bbbf0132c94e56","fixed":"3b3c672a66db3de3b40f8a7057864bc1f874ede3","status":"affected"},{"type":"git","introduced":"4bdced5c9a2922521e325896a7bbbf0132c94e56","fixed":"16ca9f3117e9a294646c897daf08a5ab546c711b","status":"affected"},{"type":"git","introduced":"4bdced5c9a2922521e325896a7bbbf0132c94e56","fixed":"8ad5577b2d4acfd83f03d97a0aece2d18aac5f07","status":"affected"},{"type":"git","introduced":"4bdced5c9a2922521e325896a7bbbf0132c94e56","fixed":"a6a73403733e86748421f2eeaf028c85683ef896","status":"affected"},{"type":"git","introduced":"4bdced5c9a2922521e325896a7bbbf0132c94e56","fixed":"52aeb1e07ec223caf212f036817976c98d2aa250","status":"affected"},{"type":"git","introduced":"4bdced5c9a2922521e325896a7bbbf0132c94e56","fixed":"9f25edc5a20cb52a5abbf25f0724bb4732b81801","status":"affected"},{"type":"git","introduced":"4bdced5c9a2922521e325896a7bbbf0132c94e56","fixed":"94894c9c477e53bcea052e075c53f89df3d2a33e","status":"affected"},{"type":"git","version":"cb1831a83e54cd3269a2420fce81c4fd8ae6f667","status":"affected"},{"type":"git","version":"1c37ff78298a6b6063649123356a312e1cce12ca","status":"affected"},{"type":"git","version":"f17c786b28a3060a566a170c2cf3bd7441fc30a3","status":"affected"},{"type":"semver","introduced":"4.4.103","fixed":"4.5","status":"affected"},{"type":"semver","introduced":"4.9.66","fixed":"4.10","status":"affected"},{"type":"semver","introduced":"4.14.3","fixed":"4.15","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.15","status":"unaffected"},{"type":"semver","introduced":"5.10.252","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.202","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.165","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.128","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.75","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.14","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.4","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.4.103","fixed":"4.5"},{"status":"affected","introduced":"4.9.66","fixed":"4.10"},{"status":"affected","introduced":"4.14.3","fixed":"5.10.252"},{"status":"affected","introduced":"5.11","fixed":"5.15.202"},{"status":"affected","introduced":"5.16","fixed":"6.1.165"},{"status":"affected","introduced":"6.2","fixed":"6.6.128"},{"status":"affected","introduced":"6.7","fixed":"6.12.75"},{"status":"affected","introduced":"6.13","fixed":"6.18.14"},{"status":"affected","introduced":"6.19","fixed":"6.19.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d57d0746276a88ea43a2cc62b849fd8a95e32e41","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3b3c672a66db3de3b40f8a7057864bc1f874ede3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/16ca9f3117e9a294646c897daf08a5ab546c711b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8ad5577b2d4acfd83f03d97a0aece2d18aac5f07","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a6a73403733e86748421f2eeaf028c85683ef896","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/52aeb1e07ec223caf212f036817976c98d2aa250","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9f25edc5a20cb52a5abbf25f0724bb4732b81801","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/94894c9c477e53bcea052e075c53f89df3d2a33e","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T15:44:31.654Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-45919","url":"https://www.cve.org/CVERecord?id=CVE-2026-45919","licence":"CVE Terms of Use","modified":"2026-11-06T15:53:12.903Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-45919","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45919","licence":"Public domain","modified":"2026-11-06T16:18:52.047Z"}],"updatedAt":"2026-11-25T22:59:22.505Z","epss":{"score":0.00172,"percentile":0.03894,"date":"2026-11-30T12:00:22.000Z"}}