CVE-2026-98938

published 23 Oct 2026 · updated 23 Oct 2026

rust: irq: pass RegistrationInner as cookie to request_irq

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 9a7931e847f338a687e96cde9f37e0cff83ddd84.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.18, >=29e16fcd67ee5b1d0417a657294cf96fdf2f8df9 <9a7931e847f338a687e96cde9f37e0cff83ddd849a7931e847f338a687e96cde9f37e0cff83ddd84

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-98938 severity on Zeptric[![CVE-2026-98938](https://zeptric.io/badge/cve/CVE-2026-98938.svg)](https://zeptric.io/cve/CVE-2026-98938)