PULSE
FEED
← Todos os CVEs
CVE Watch23 de out. de 2026

CVE-2026-98938

In the Linux kernel, the following vulnerability has been resolved: rust: irq: pass RegistrationInner as cookie to request_irq With commit

CVSS

—

Sem CVSS

EPSS

0.2%

p5

KEV

—

Exploit Today

1

0-100

Publicado: 23 de out. de 2026 · Última mod.: 23 de out. de 2026

EPSS · 30d
0.2%EPSS · 30 dias0.2%
2026-10-252026-11-07
Descrição técnica

In the Linux kernel, the following vulnerability has been resolved: rust: irq: pass RegistrationInner as cookie to request_irq With commit ba268514ea14 ("rust: devres: fix race condition due to nesting"), Devres::new() returns Result<Self> by value instead of initializing in-place via PinInit. Because request_irq() is called inside Devres::new(), registration.inner is still uninitialized when the IRQ is enabled, so accessing registration.inner.device() in the IRQ callback can read uninitialized memory. Fix this by storing the Device and handler pointer in RegistrationInner and passing RegistrationInner as the IRQ cookie after its fields are initialized. This is not needed in mainline because commit 98c63ce4d760 ("rust: irq: make Registration compatible with lifetime-bound drivers") removed Devres from irq::Registration and moved request_irq() after all fields are initialized.

Referências oficiais
CVEs relacionados

Nenhum CVE relacionado por CWE ou produto.