sched_ext: Fix possible deadlock in the deferred_irq_workfn() (Linux Linux)

CVE-2025-68333
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.11 % · centile 1 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

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.

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 5b26f7b920f76b2b9cc398c252a9e35e44bf5bb9 < 541959b2fadb832a7d0ceb95041dc52bdcf6bff7 ; affected 5b26f7b920f76b2b9cc398c252a9e35e44bf5bb9 < 600b4379b9a7ba41340d652211fb29699da4c629 ; affected 5b26f7b920f76b2b9cc398c252a9e35e44bf5bb9 < a257e974210320ede524f340ffe16bf4bf0dda1e
Linux · Linuxaffected 6.12 ; unaffected 0 < 6.12 ; unaffected 6.12.68 ≤ 6.12.* ; unaffected 6.17.12 ≤ 6.17.* ; unaffected 6.18 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD