{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143194",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.359Z",
        "datePublished": "2026-12-03T09:20:21.847Z",
        "dateUpdated": "2026-12-03T09:20:21.847Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T09:20:21.847Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsched_ext: Reject DSQ iterator kfuncs in tracing programs\n\nbpf_iter_scx_dsq_next() and bpf_iter_scx_dsq_destroy() take the target\nuser DSQ's raw spinlock, but they are in scx_kfunc_ids_any, which is\nalso registered for BPF_PROG_TYPE_TRACING.\n\nFor an active root scheduler without ops.sub_attach, the compatibility\npath in scx_prog_sched() lets an unassociated tracing program resolve to\nthat scheduler. The tracing program can then call the iterator kfuncs\nwhile the target DSQ lock is already held.\n\nFor example, a scheduler which mixes FIFO and priority-queue insertions\ninto a user DSQ triggers scx_error() from scx_dispatch_enqueue() while\nholding that DSQ's lock. scx_claim_exit() emits sched_ext_exit before\nthe lock is released:\n\n  scx_dispatch_enqueue()\n    raw_spin_lock(&dsq->lock)\n    scx_error()\n      scx_claim_exit()\n        trace_sched_ext_exit()\n          tracing BPF program\n            bpf_iter_scx_dsq_new(dsq_id)\n            bpf_for_each(scx_dsq, p, dsq_id, 0)\n              bpf_iter_scx_dsq_next(it)\n                raw_spin_lock_irqsave(&dsq->lock)\n\nThe tracing program recursively acquires the same raw spinlock and locks\nup the CPU. Because the tracepoint runs before scx_finish_exit(),\ndisable_irq_work is not queued and the scheduler cannot enter its normal\ndisable path.\n\nReject the two iterator kfuncs from tracing programs at verification\ntime. The kfuncs remain available to SCX struct_ops and syscall\nprograms. bpf_iter_scx_dsq_destroy() has no independent live\nreproduction: its cursor only links into the DSQ after at least one\nsuccessful next(), which deadlocks in the same window first. It is\nincluded for symmetry.\n\nThis extends the coverage of commit b07a7450f6ef (\"sched_ext: Reject\nrq-lock-taking kfuncs in tracing programs\") and commit 4c2e0751d5e6\n(\"sched_ext: Reject scx_bpf_destroy_dsq() in tracing programs\")."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "kernel/sched/ext/ext.c"
                    ],
                    "versions": [
                        {
                            "version": "650ba21b131ed1f8ee57826b2c6295a3be221132",
                            "lessThan": "5a55ec80c7696d694c49f3e189293bee6e8a0395",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "650ba21b131ed1f8ee57826b2c6295a3be221132",
                            "lessThan": "700a332c3fe33014bbd5ae852d71ba679fc29e0a",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "kernel/sched/ext/ext.c"
                    ],
                    "versions": [
                        {
                            "version": "6.12",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.12",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.7",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc3",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.12",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.12",
                                    "versionEndExcluding": "7.4-rc3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/5a55ec80c7696d694c49f3e189293bee6e8a0395"
                },
                {
                    "url": "https://git.kernel.org/stable/c/700a332c3fe33014bbd5ae852d71ba679fc29e0a"
                }
            ],
            "title": "sched_ext: Reject DSQ iterator kfuncs in tracing programs",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}