CVE-2026-98938
Last modified
CVE-2026-98938 is a vulnerability of currently unknown severity. 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..
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 Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 29e16fcd67ee5b1d0417a657294cf96fdf2f8df9, < 9a7931e847f338a687e96cde9f37e0cff83ddd84 |
| Linux | Linux | 6.18 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-98938?
How severe is CVE-2026-98938?
How do I fix CVE-2026-98938?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-98932In the Linux kernel, the following vulnerability has been re…7.4
- CVE-2026-98933In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98934In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98935In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98936In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98937In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98939In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9894Use after free in GPU in Google Chrome prior to 148.0.7778.2…8.3
- CVE-2026-98940In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98941In the Linux kernel, the following vulnerability has been re…7
- CVE-2026-98942In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98943Rejected reason: This CVE ID has been rejected or withdrawn …
Are you affected by CVE-2026-98938?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
