◆ CVE Hub

CVE-2026-98938

rust: irq: pass RegistrationInner as cookie to request_irq

Published
2026-10-23
Last modified
2026-10-23
CNA
Linux
NVD status
Received
CVSS v3.1 (listed by NVD)
—
Not scored
CVSS v4.0 (listed by NVD)
—
Not scored
CVSS (listed by CVE.org)
—
Not scored
EPSS exploit probability
0.2%
Percentile 8.2%
as of 2026-10-24
CISA KEV
—
Not listed

Description

NVD

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 products and packages

CNA (CVE.org)

VendorProductVersions
LinuxLinux
affected: 29e16fcd67ee5b1d0417a657294cf96fdf2f8df9 … < 9a7931e847f338a687e96cde9f37e0cff83ddd84
default: unaffected
LinuxLinux
affected: 6.18
unaffected: 0 … < 6.18
unaffected: 7.2.10 … <= 7.2.*
default: affected

Open-source packages (GitHub Advisory / OSV)

rust: irq: pass RegistrationInner as cookie to request_irq

EcosystemPackageAffected versionsFixed in
>= 29e16fcd67ee5b1d0417a657294cf96fdf2f8df9, < 9a7931e847f338a687e96cde9f37e0cff83ddd849a7931e847f338a687e96cde9f37e0cff83ddd84
LinuxKernel>= 6.18.0, < 7.2.107.2.10

Linux distribution status

Red Hat ↗

No record

Debian ↗

ReleasePackageStatusFixed version / notes
bookwormlinuxnot-affected unimportant
forkylinuxresolved not yet assigned7.2.10-1
sidlinuxresolved not yet assigned7.2.10-1
trixielinuxnot-affected unimportant

Ubuntu ↗

No record

References (4)