# CVE-2026-98938: rust: irq: pass RegistrationInner as cookie to request\_irq

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.19% (percentile 5, 2026-11-28)
- **Published:** 2026-10-23T12:11:59.043Z
- **Modified:** 2026-10-23T13:17:14.720Z

## Who should check

- Anyone running Linux \>= 29e16fcd67ee5b1d0417a657294cf96fdf2f8df9, \< 9a7931e847f338a687e96cde9f37e0cff83ddd84
- Anyone running Linux 6.18

## 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

- Linux: \>= 29e16fcd67ee5b1d0417a657294cf96fdf2f8df9, \< 9a7931e847f338a687e96cde9f37e0cff83ddd84 (cvelist)
- Linux: 6.18 (cvelist)

## Mitigation

- Upgrade Linux to 9a7931e847f338a687e96cde9f37e0cff83ddd84 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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-28).

### 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.

## References

- other: <https://git.kernel.org/stable/c/9a7931e847f338a687e96cde9f37e0cff83ddd84>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98938>

HTML: <https://flawdb.com/CVE-2026-98938> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98938>
