CVE-2026-98938
publishedrust: irq: pass RegistrationInner as cookie to request_irq
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux29e16fcd67ee5b1d0417a657294cf96fdf2f8df9 to < 9a7931e847f338a687e96cde9f37e0cff83ddd84 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.18 (affected) · 0 to < 6.18 (unaffected · semver) · 7.2.10 through 7.2.* (unaffected · semver) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected; Pending Fix | Not stated | Amazon Linux assessment |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 29e16fcd67ee5b1d0417a657294cf96fdf2f8df9 to < 9a7931e847f338a687e96cde9f37e0cff83ddd84 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.18 (affected)0 to < 6.18 (unaffected · semver)7.2.10 through 7.2.* (unaffected · semver)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
1Provider assertions
1Linux · cna
rust: irq: pass RegistrationInner as cookie to request_irq
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 827df4ab1a972f71d94b617765fc94108a6326c9943191bd3670beda7f585212
- Ingested
- 23 Oct 2026, 12:23:35 UTC
- Source record
- Official CVE record