{"id":"CVE-2025-68333","state":"PUBLISHED","title":"sched_ext: Fix possible deadlock in the deferred_irq_workfn()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nsched_ext: Fix possible deadlock in the deferred_irq_workfn()\n\nFor PREEMPT_RT=y kernels, the deferred_irq_workfn() is executed in\nthe per-cpu irq_work/* task context and not disable-irq, if the rq\nreturned by container_of() is current CPU's rq, the following scenarios\nmay occur:\n\nlock(&rq->__lock);\n<Interrupt>\n  lock(&rq->__lock);\n\nThis commit use IRQ_WORK_INIT_HARD() to replace init_irq_work() to\ninitialize rq->scx.deferred_irq_work, make the deferred_irq_workfn()\nis always invoked in hard-irq context.","publishedAt":"2025-12-22T16:14:11.081Z","updatedAt":"2026-05-11T21:51:09.677Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5b26f7b920f76b2b9cc398c252a9e35e44bf5bb9","status":"affected","lessThan":"541959b2fadb832a7d0ceb95041dc52bdcf6bff7","versionType":"git"},{"version":"5b26f7b920f76b2b9cc398c252a9e35e44bf5bb9","status":"affected","lessThan":"600b4379b9a7ba41340d652211fb29699da4c629","versionType":"git"},{"version":"5b26f7b920f76b2b9cc398c252a9e35e44bf5bb9","status":"affected","lessThan":"a257e974210320ede524f340ffe16bf4bf0dda1e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/sched/ext.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.12","versionType":"semver"},{"version":"6.12.68","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.17.12","status":"unaffected","lessThanOrEqual":"6.17.*","versionType":"semver"},{"version":"6.18","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/sched/ext.c"]}],"references":["https://git.kernel.org/stable/c/541959b2fadb832a7d0ceb95041dc52bdcf6bff7","https://git.kernel.org/stable/c/600b4379b9a7ba41340d652211fb29699da4c629","https://git.kernel.org/stable/c/a257e974210320ede524f340ffe16bf4bf0dda1e"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/68xxx/CVE-2025-68333.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-68333","state":"PUBLISHED","datePublished":"2025-12-22T16:14:11.081Z","dateUpdated":"2026-05-11T21:51:09.677Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-12-16T14:48:05.297Z"},"containers":{"cna":{"title":"sched_ext: Fix possible deadlock in the deferred_irq_workfn()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nsched_ext: Fix possible deadlock in the deferred_irq_workfn()\n\nFor PREEMPT_RT=y kernels, the deferred_irq_workfn() is executed in\nthe per-cpu irq_work/* task context and not disable-irq, if the rq\nreturned by container_of() is current CPU's rq, the following scenarios\nmay occur:\n\nlock(&rq->__lock);\n<Interrupt>\n  lock(&rq->__lock);\n\nThis commit use IRQ_WORK_INIT_HARD() to replace init_irq_work() to\ninitialize rq->scx.deferred_irq_work, make the deferred_irq_workfn()\nis always invoked in hard-irq context."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5b26f7b920f76b2b9cc398c252a9e35e44bf5bb9","status":"affected","lessThan":"541959b2fadb832a7d0ceb95041dc52bdcf6bff7","versionType":"git"},{"version":"5b26f7b920f76b2b9cc398c252a9e35e44bf5bb9","status":"affected","lessThan":"600b4379b9a7ba41340d652211fb29699da4c629","versionType":"git"},{"version":"5b26f7b920f76b2b9cc398c252a9e35e44bf5bb9","status":"affected","lessThan":"a257e974210320ede524f340ffe16bf4bf0dda1e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/sched/ext.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.12","versionType":"semver"},{"version":"6.12.68","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.17.12","status":"unaffected","lessThanOrEqual":"6.17.*","versionType":"semver"},{"version":"6.18","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/sched/ext.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/541959b2fadb832a7d0ceb95041dc52bdcf6bff7"},{"url":"https://git.kernel.org/stable/c/600b4379b9a7ba41340d652211fb29699da4c629"},{"url":"https://git.kernel.org/stable/c/a257e974210320ede524f340ffe16bf4bf0dda1e"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:51:09.677Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.12.68"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.17.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.18"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}