CVE-2026-98938
rust: irq: pass RegistrationInner as cookie to request_irq
Mitigation
- Upgrade Linux to 9a7931e847f338a687e96cde9f37e0cff83ddd84 or later.
Who should check
- Anyone running Linux >= 29e16fcd67ee5b1d0417a657294cf96fdf2f8df9, < 9a7931e847f338a687e96cde9f37e0cff83ddd84
- Anyone running Linux 6.18
Vulnerability facts
- Affected
- Linux >= 29e16fcd67ee5b1d0417a657294cf96fdf2f8df9, < 9a7931e847f338a687e96cde9f37e0cff83ddd84; Linux 6.18
- Fixed in
- Linux 9a7931e847f338a687e96cde9f37e0cff83ddd84
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.19% chance of exploitation in 30 days (percentile 5, 2026-11-26)
- Modified
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.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-98938. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98938.md Affected: Linux >= 29e16fcd67ee5b1d0417a657294cf96fdf2f8df9, < 9a7931e847f338a687e96cde9f37e0cff83ddd84; Linux 6.18 Fixed in: Linux 9a7931e847f338a687e96cde9f37e0cff83ddd84 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-98938 being exploited?
There is no confirmed exploitation: CVE-2026-98938 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-98938?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-98938?
Linux >= 29e16fcd67ee5b1d0417a657294cf96fdf2f8df9, < 9a7931e847f338a687e96cde9f37e0cff83ddd84; Linux 6.18.
Is there a fix for CVE-2026-98938?
Yes. Fixed in Linux 9a7931e847f338a687e96cde9f37e0cff83ddd84. Upgrade Linux to 9a7931e847f338a687e96cde9f37e0cff83ddd84 or later.
How do I check if I'm affected by CVE-2026-98938?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.