# CVE-2025-68333: sched_ext: Fix possible deadlock in the deferred_irq_workfn()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2025-12-22T16:14:11.081Z
- Modified: 2026-10-19T21:10:00.160Z
- Weaknesses: CWE-667
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

sched_ext: Fix possible deadlock in the deferred_irq_workfn()

For PREEMPT_RT=y kernels, the deferred_irq_workfn() is executed in
the per-cpu irq_work/* task context and not disable-irq, if the rq
returned by container_of() is current CPU's rq, the following scenarios
may occur:

lock(&rq->__lock);
<Interrupt>
  lock(&rq->__lock);

This commit use IRQ_WORK_INIT_HARD() to replace init_irq_work() to
initialize rq->scx.deferred_irq_work, make the deferred_irq_workfn()
is always invoked in hard-irq context.

(As written by CVE List.)

## Affected

- Linux Linux: from 5b26f7b920f76b2b9cc398c252a9e35e44bf5bb9 before 541959b2fadb832a7d0ceb95041dc52bdcf6bff7; from 5b26f7b920f76b2b9cc398c252a9e35e44bf5bb9 before 600b4379b9a7ba41340d652211fb29699da4c629; from 5b26f7b920f76b2b9cc398c252a9e35e44bf5bb9 before a257e974210320ede524f340ffe16bf4bf0dda1e; 6.12 (not affected: before 6.12; from 6.12.68 up to 6.12.*; from 6.17.12 up to 6.17.*; from 6.18 up to *)
- linux linux_kernel: from 6.12 before 6.12.68; from 6.13 before 6.17.12; 6.18

## References

- <https://git.kernel.org/stable/c/541959b2fadb832a7d0ceb95041dc52bdcf6bff7> (patch)
- <https://git.kernel.org/stable/c/600b4379b9a7ba41340d652211fb29699da4c629> (patch)
- <https://git.kernel.org/stable/c/a257e974210320ede524f340ffe16bf4bf0dda1e> (patch)

## Sources

- CVE List: [CVE-2025-68333](https://www.cve.org/CVERecord?id=CVE-2025-68333), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-68333](https://nvd.nist.gov/vuln/detail/CVE-2025-68333), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-68333 · Whole record: https://cve.day/CVE-2025-68333.json · Rebuilt by cve.day 2026-11-25T22:59:09.793Z
