{"api_version":"1","generated_at":"2026-12-01T14:41:38+00:00","cve":"CVE-2026-139175","urls":{"html":"https://cve.report/CVE-2026-139175","api":"https://cve.report/api/cve/CVE-2026-139175.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139175","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139175"},"summary":{"title":"sched_ext: Fix bypassed tasks looping on a host without SCX_CAP_ENQ","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nsched_ext: Fix bypassed tasks looping on a host without SCX_CAP_ENQ\n\nBypass exists so that runnable tasks make progress without trusting the BPF\nscheduler. A host with SCX_CAP_ENQ_IMMED (BASE) but not SCX_CAP_ENQ on a cpu\ncannot run a single bypassed task there. The task loops instead:\n\n 1. a bypassed task lands on the host's bypass DSQ for the cpu\n 2. the cpu's dispatch descends into the host, which holds BASE there\n 3. the host consumes the task into the local DSQ as a plain insert\n 4. the insert needs ENQ and the host lacks it, so the task is rejected\n 5. the reject drain reenqueues the task and it is back at step 1\n\nA bypass consume puts a task on the cpu being dispatched for, to run right\naway. That is the IMMED contract, and BASE is the cap it needs. Consume with\nSCX_ENQ_IMMED. BASE is then the one cap a bypassed task ever needs. Dispatch\ndescends into a host only on a cpu where the host holds BASE, so a consume\nnever lacks it.\n\nA consumed task is first on the local DSQ when dispatch enters the host with\nthe DSQ empty. That is always the case for the root and normally for a\nparent dispatching into a child.\n\nA consumed task that cannot run right away is reenqueued like any IMMED task\nand goes back to the bypass DSQ. Waiting on the local DSQ would need ENQ.\nThe task cannot run right away when a higher class or a HEAD insert took the\ncpu meanwhile, or when the parent queued its own task before dispatching\ninto the host.\n\nEach such task waits on the bypass DSQ for the next dispatch. The reenqueue\nis not counted against the reenqueue limit, as the task's scheduler is\nbypassing.\n\nv2: The description says that the reenqueue of a consumed task is not\ncounted against the reenqueue limit (sashiko).","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:36","updated_at":"2026-11-30 14:18:36"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/1321de51d5cb66cb2c35c6e9c9657686351c6494","name":"https://git.kernel.org/stable/c/1321de51d5cb66cb2c35c6e9c9657686351c6494","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a676ada0d6544928c0ceb032fb991a9abe0977db","name":"https://git.kernel.org/stable/c/a676ada0d6544928c0ceb032fb991a9abe0977db","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139175","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139175","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 701b7bcad8681b161de791579aeb3de285f9a20f 1321de51d5cb66cb2c35c6e9c9657686351c6494 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 701b7bcad8681b161de791579aeb3de285f9a20f a676ada0d6544928c0ceb032fb991a9abe0977db git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7.3","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["kernel/sched/ext/inlines.h","kernel/sched/ext/sub.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"1321de51d5cb66cb2c35c6e9c9657686351c6494","status":"affected","version":"701b7bcad8681b161de791579aeb3de285f9a20f","versionType":"git"},{"lessThan":"a676ada0d6544928c0ceb032fb991a9abe0977db","status":"affected","version":"701b7bcad8681b161de791579aeb3de285f9a20f","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["kernel/sched/ext/inlines.h","kernel/sched/ext/sub.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"7.3"},{"lessThan":"7.3","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"7.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"7.3","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nsched_ext: Fix bypassed tasks looping on a host without SCX_CAP_ENQ\n\nBypass exists so that runnable tasks make progress without trusting the BPF\nscheduler. A host with SCX_CAP_ENQ_IMMED (BASE) but not SCX_CAP_ENQ on a cpu\ncannot run a single bypassed task there. The task loops instead:\n\n 1. a bypassed task lands on the host's bypass DSQ for the cpu\n 2. the cpu's dispatch descends into the host, which holds BASE there\n 3. the host consumes the task into the local DSQ as a plain insert\n 4. the insert needs ENQ and the host lacks it, so the task is rejected\n 5. the reject drain reenqueues the task and it is back at step 1\n\nA bypass consume puts a task on the cpu being dispatched for, to run right\naway. That is the IMMED contract, and BASE is the cap it needs. Consume with\nSCX_ENQ_IMMED. BASE is then the one cap a bypassed task ever needs. Dispatch\ndescends into a host only on a cpu where the host holds BASE, so a consume\nnever lacks it.\n\nA consumed task is first on the local DSQ when dispatch enters the host with\nthe DSQ empty. That is always the case for the root and normally for a\nparent dispatching into a child.\n\nA consumed task that cannot run right away is reenqueued like any IMMED task\nand goes back to the bypass DSQ. Waiting on the local DSQ would need ENQ.\nThe task cannot run right away when a higher class or a HEAD insert took the\ncpu meanwhile, or when the parent queued its own task before dispatching\ninto the host.\n\nEach such task waits on the bypass DSQ for the next dispatch. The reenqueue\nis not counted against the reenqueue limit, as the task's scheduler is\nbypassing.\n\nv2: The description says that the reenqueue of a consumed task is not\ncounted against the reenqueue limit (sashiko)."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:32:16.493Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/1321de51d5cb66cb2c35c6e9c9657686351c6494"},{"url":"https://git.kernel.org/stable/c/a676ada0d6544928c0ceb032fb991a9abe0977db"}],"title":"sched_ext: Fix bypassed tasks looping on a host without SCX_CAP_ENQ","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139175","datePublished":"2026-11-30T13:32:16.493Z","dateReserved":"2026-11-30T13:22:15.918Z","dateUpdated":"2026-11-30T13:32:16.493Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:36","lastModifiedDate":"2026-11-30 14:18:36","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139175","Ordinal":"1","Title":"sched_ext: Fix bypassed tasks looping on a host without SCX_CAP_","CVE":"CVE-2026-139175","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139175","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nsched_ext: Fix bypassed tasks looping on a host without SCX_CAP_ENQ\n\nBypass exists so that runnable tasks make progress without trusting the BPF\nscheduler. A host with SCX_CAP_ENQ_IMMED (BASE) but not SCX_CAP_ENQ on a cpu\ncannot run a single bypassed task there. The task loops instead:\n\n 1. a bypassed task lands on the host's bypass DSQ for the cpu\n 2. the cpu's dispatch descends into the host, which holds BASE there\n 3. the host consumes the task into the local DSQ as a plain insert\n 4. the insert needs ENQ and the host lacks it, so the task is rejected\n 5. the reject drain reenqueues the task and it is back at step 1\n\nA bypass consume puts a task on the cpu being dispatched for, to run right\naway. That is the IMMED contract, and BASE is the cap it needs. Consume with\nSCX_ENQ_IMMED. BASE is then the one cap a bypassed task ever needs. Dispatch\ndescends into a host only on a cpu where the host holds BASE, so a consume\nnever lacks it.\n\nA consumed task is first on the local DSQ when dispatch enters the host with\nthe DSQ empty. That is always the case for the root and normally for a\nparent dispatching into a child.\n\nA consumed task that cannot run right away is reenqueued like any IMMED task\nand goes back to the bypass DSQ. Waiting on the local DSQ would need ENQ.\nThe task cannot run right away when a higher class or a HEAD insert took the\ncpu meanwhile, or when the parent queued its own task before dispatching\ninto the host.\n\nEach such task waits on the bypass DSQ for the next dispatch. The reenqueue\nis not counted against the reenqueue limit, as the task's scheduler is\nbypassing.\n\nv2: The description says that the reenqueue of a consumed task is not\ncounted against the reenqueue limit (sashiko).","Type":"Description","Title":"sched_ext: Fix bypassed tasks looping on a host without SCX_CAP_"}]}}}