CVE-2026-43115
JSON

5.5medium

srcu: Use irq_work to start GP in tiny SRCU

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.15% (higher than 2% of CVEs)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: srcu: Use irq_work to start GP in tiny SRCU Tiny SRCU's srcu_gp_start_if_needed() directly calls schedule_work(), which acquires the workqueue pool->lock. This causes a lockdep splat when call_srcu() is called with a scheduler lock held, due to: call_srcu() [holding pi_lock] srcu_gp_start_if_needed() schedule_work() -> pool->lock workqueue_init() / create_worker() [holding pool->lock] wake_up_process() -> try_to_wake_up() -> pi_lock Also add irq_work_sync() to cleanup_srcu_struct() to prevent a use-after-free if a queued irq_work fires after cleanup begins. Tested with rcutorture SRCU-T and no lockdep warnings. [ Thanks to Boqun for similar fix in patch "rcu: Use an intermediate irq_work to start process_srcu()" ]

Affected

Product or packageVersionsReported by
Linux Linuxfrom d8be81735aa89413b333de488251f0e64e2be591 before 28768bc7ea0b13f558a70f63cc3cfcd32d55d488, from d8be81735aa89413b333de488251f0e64e2be591 before bb37286db65368cb72ba8757ad86299c4e4a73fc, from d8be81735aa89413b333de488251f0e64e2be591 before a6fc88b22bc8d12ad52e8412c667ec0f5bf055af, 4.12
Not affected: before 4.12, from 6.18.57 up to 6.18.*, from 6.19.14 up to 6.19.*, from 7.0 up to *
CVE List
linux linux_kernelfrom 4.12 before 6.19.14, 7.0NVD

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: srcu: Use irq_work to start GP in tiny SRCU Tiny SRCU's srcu_gp_start_if_needed() directly calls schedule_work(), which acquires the workqueue pool->lock. This causes a lockdep splat when call_srcu() is called with a scheduler lock held, due to: call_srcu() [holding pi_lock] srcu_gp_start_if_needed() schedule_work() -> pool->lock workqueue_init() / create_worker() [holding pool->lock] wake_up_process() -> try_to_wake_up() -> pi_lock Also add irq_work_sync() to cleanup_srcu_struct() to prevent a use-after-free if a queued irq_work fires after cleanup begins. Tested with rcutorture SRCU-T and no lockdep warnings. [ Thanks to Boqun for similar fix in patch "rcu: Use an intermediate irq_work to start process_srcu()" ]

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: srcu: Usar irq_work para iniciar GP en tiny SRCU El srcu_gp_start_if_needed() de Tiny SRCU llama directamente a schedule_work(), que adquiere el pool -> lock de la workqueue. Esto causa un lockdep splat cuando se llama a call_srcu() con un bloqueo del planificador mantenido, debido a: call_srcu() [manteniendo pi_lock] srcu_gp_start_if_needed() schedule_work() -> pool -> lock workqueue_init() / create_worker() [manteniendo pool -> lock] wake_up_process() -> try_to_wake_up() -> pi_lock También añadir irq_work_sync() a cleanup_srcu_struct() para prevenir un uso después de liberación si un irq_work en cola se dispara después de que comience la limpieza. Probado con rcutorture SRCU-T y sin advertencias de lockdep. [ Gracias a Boqun por una corrección similar en el parche ’rcu: Usar un irq_work intermedio para iniciar process_srcu()’ ]

References

Sources

SourceRecordLicence
CVE ListCVE-2026-43115 changed 2026-10-30CVE Terms of Use
NVDCVE-2026-43115 changed 2026-11-11Public domain