# CVE-2022-49512: mtd: rawnand: denali: Use managed device resources

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **Published:** 2025-02-26T02:13:42.128Z
- **Modified:** 2026-06-17T05:18:17.353Z

## Who should check

- Anyone running Linux \>= 93db446a424cee9387b532995e6b516667079555, \< 3c68daf4a368cd9e63ae5a2145c9e4a6f838c166; \>= 93db446a424cee9387b532995e6b516667079555, \< 3830dbdfb9a4aec680e43ed80b9f23db7a88eac9; \>= 93db446a424cee9387b532995e6b516667079555, \< 87149cf9186201a63f0e0b93d9fa93d480bcb771; \>= 93db446a424cee9387b532995e6b516667079555, \< efea1dd176edd17c8252051b7de6957f06efc394; \>= 93db446a424cee9387b532995e6b516667079555, \< 3a745b51cddafade99aaea1b93aad31e9614e230
- Anyone running Linux 4.17

## Description

In the Linux kernel, the following vulnerability has been resolved:

mtd: rawnand: denali: Use managed device resources

All of the resources used by this driver has managed interfaces, so use
them. Otherwise we will get the following splat:

\[    4.472703\] denali-nand-pci 0000:00:05.0: timeout while waiting for irq 0x1000
\[    4.474071\] denali-nand-pci: probe of 0000:00:05.0 failed with error -5
\[    4.473538\] nand: No NAND device found
\[    4.474068\] BUG: unable to handle page fault for address: ffffc90005000410
\[    4.475169\] \#PF: supervisor write access in kernel mode
\[    4.475579\] \#PF: error\_code(0x0002) - not-present page
\[    4.478362\] RIP: 0010:iowrite32+0x9/0x50
\[    4.486068\] Call Trace:
\[    4.486269\]  \<IRQ\>
\[    4.486443\]  denali\_isr+0x15b/0x300 \[denali\]
\[    4.486788\]  ? denali\_direct\_write+0x50/0x50 \[denali\]
\[    4.487189\]  \_\_handle\_irq\_event\_percpu+0x161/0x3b0
\[    4.487571\]  handle\_irq\_event+0x7d/0x1b0
\[    4.487884\]  handle\_fasteoi\_irq+0x2b0/0x770
\[    4.488219\]  \_\_common\_interrupt+0xc8/0x1b0
\[    4.488549\]  common\_interrupt+0x9a/0xc0

## Affected and fixed versions

- Linux: \>= 93db446a424cee9387b532995e6b516667079555, \< 3c68daf4a368cd9e63ae5a2145c9e4a6f838c166; \>= 93db446a424cee9387b532995e6b516667079555, \< 3830dbdfb9a4aec680e43ed80b9f23db7a88eac9; \>= 93db446a424cee9387b532995e6b516667079555, \< 87149cf9186201a63f0e0b93d9fa93d480bcb771; \>= 93db446a424cee9387b532995e6b516667079555, \< efea1dd176edd17c8252051b7de6957f06efc394; \>= 93db446a424cee9387b532995e6b516667079555, \< 3a745b51cddafade99aaea1b93aad31e9614e230 (cvelist)
- Linux: 4.17 (cvelist)

## Mitigation

- Upgrade Linux to 3a745b51cddafade99aaea1b93aad31e9614e230 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49512. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49512.md
Affected: Linux >= 93db446a424cee9387b532995e6b516667079555, < 3c68daf4a368cd9e63ae5a2145c9e4a6f838c166; >= 93db446a424cee9387b532995e6b516667079555, < 3830dbdfb9a4aec680e43ed80b9f23db7a88eac9; >= 93db446a424cee9387b532995e6b516667079555, < 87149cf9186201a63f0e0b93d9fa93d480bcb771; >= 93db446a424cee9387b5329…
Fixed in: Linux 3c68daf4a368cd9e63ae5a2145c9e4a6f838c166, Linux 3830dbdfb9a4aec680e43ed80b9f23db7a88eac9, Linux 87149cf9186201a63f0e0b93d9fa93d480bcb771, Linux 3a745b51cddafade99aaea1b93aad31e9614e230

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-2022-49512 being exploited?

There is no confirmed exploitation: CVE-2022-49512 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49512?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49512?

Linux \>= 93db446a424cee9387b532995e6b516667079555, \< 3c68daf4a368cd9e63ae5a2145c9e4a6f838c166; \>= 93db446a424cee9387b532995e6b516667079555, \< 3830dbdfb9a4aec680e43ed80b9f23db7a88eac9; \>= 93db446a424cee9387b532995e6b516667079555, \< 87149cf9186201a63f0e0b93d9fa93d480bcb771; \>= 93db446a424cee9387b532995e6b516667079555, \< efea1dd176edd17c8252051b7de6957f06efc394; \>= 93db446a424cee9387b532995e6b516667079555, \< 3a745b51cddafade99aaea1b93aad31e9614e230; Linux 4.17.

### Is there a fix for CVE-2022-49512?

Yes. Fixed in Linux 3c68daf4a368cd9e63ae5a2145c9e4a6f838c166, Linux 3830dbdfb9a4aec680e43ed80b9f23db7a88eac9, Linux 87149cf9186201a63f0e0b93d9fa93d480bcb771, Linux 3a745b51cddafade99aaea1b93aad31e9614e230. Upgrade Linux to 3a745b51cddafade99aaea1b93aad31e9614e230 or later.

### How do I check if I'm affected by CVE-2022-49512?

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

- patch: <https://git.kernel.org/stable/c/3c68daf4a368cd9e63ae5a2145c9e4a6f838c166>
- patch: <https://git.kernel.org/stable/c/3830dbdfb9a4aec680e43ed80b9f23db7a88eac9>
- patch: <https://git.kernel.org/stable/c/87149cf9186201a63f0e0b93d9fa93d480bcb771>
- patch: <https://git.kernel.org/stable/c/efea1dd176edd17c8252051b7de6957f06efc394>
- patch: <https://git.kernel.org/stable/c/3a745b51cddafade99aaea1b93aad31e9614e230>

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

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