# CVE-2021-47027: mt76: mt7921: fix kernel crash when the firmware fails to download

> 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.25% (percentile 10, 2026-11-26)
- **Published:** 2024-02-28T08:13:38.385Z
- **Modified:** 2026-06-17T04:16:14.183Z

## Who should check

- Anyone running Linux \>= 5c14a5f944b91371961548b1907802f74a4d2e5c, \< a46b536cd60c0dbd4bf767c62a8774dec52bf099; \>= 5c14a5f944b91371961548b1907802f74a4d2e5c, \< e230f0c44f011f3270680a506b19b7e84c5e8923
- Anyone running Linux 5.12

## Description

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

mt76: mt7921: fix kernel crash when the firmware fails to download

Fix kernel crash when the firmware is missing or fails to download.

\[    9.444758\] kernel BUG at drivers/pci/msi.c:375!
\[    9.449363\] Internal error: Oops - BUG: 0 \[\#1\] PREEMPT SMP
\[    9.501033\] pstate: a0400009 (NzCv daif +PAN -UAO)
\[    9.505814\] pc : free\_msi\_irqs+0x180/0x184
\[    9.509897\] lr : free\_msi\_irqs+0x40/0x184
\[    9.513893\] sp : ffffffc015193870
\[    9.517194\] x29: ffffffc015193870 x28: 00000000f0e94fa2
\[    9.522492\] x27: 0000000000000acd x26: 000000000000009a
\[    9.527790\] x25: ffffffc0152cee58 x24: ffffffdbb383e0d8
\[    9.533087\] x23: ffffffdbb38628d0 x22: 0000000000040200
\[    9.538384\] x21: ffffff8cf7de7318 x20: ffffff8cd65a2480
\[    9.543681\] x19: ffffff8cf7de7000 x18: 0000000000000000
\[    9.548979\] x17: ffffff8cf9ca03b4 x16: ffffffdc13ad9a34
\[    9.554277\] x15: 0000000000000000 x14: 0000000000080800
\[    9.559575\] x13: ffffff8cd65a2980 x12: 0000000000000000
\[    9.564873\] x11: ffffff8cfa45d820 x10: ffffff8cfa45d6d0
\[    9.570171\] x9 : 0000000000000040 x8 : ffffff8ccef1b780
\[    9.575469\] x7 : aaaaaaaaaaaaaaaa x6 : 0000000000000000
\[    9.580766\] x5 : ffffffdc13824900 x4 : ffffff8ccefe0000
\[    9.586063\] x3 : 0000000000000000 x2 : 0000000000000000
\[    9.591362\] x1 : 0000000000000125 x0 : ffffff8ccefe0000
\[    9.596660\] Call trace:
\[    9.599095\]  free\_msi\_irqs+0x180/0x184
\[    9.602831\]  pci\_disable\_msi+0x100/0x130
\[    9.606740\]  pci\_free\_irq\_vectors+0x24/0x30
\[    9.610915\]  mt7921\_pci\_probe+0xbc/0x250 \[mt7921e\]
\[    9.615693\]  pci\_device\_probe+0xd4/0x14c
\[    9.619604\]  really\_probe+0x134/0x2ec
\[    9.623252\]  driver\_probe\_device+0x64/0xfc
\[    9.627335\]  device\_driver\_attach+0x4c/0x6c
\[    9.631506\]  \_\_driver\_attach+0xac/0xc0
\[    9.635243\]  bus\_for\_each\_dev+0x8c/0xd4
\[    9.639066\]  driver\_attach+0x2c/0x38
\[    9.642628\]  bus\_add\_driver+0xfc/0x1d0
\[    9.646365\]  driver\_register+0x64/0xf8
\[    9.650101\]  \_\_pci\_register\_driver+0x6c/0x7c
\[    9.654360\]  init\_module+0x28/0xfdc \[mt7921e\]
\[    9.658704\]  do\_one\_initcall+0x13c/0x2d0
\[    9.662615\]  do\_init\_module+0x58/0x1e8
\[    9.666351\]  load\_module+0xd80/0xeb4
\[    9.669912\]  \_\_arm64\_sys\_finit\_module+0xa8/0xe0
\[    9.674430\]  el0\_svc\_common+0xa4/0x16c
\[    9.678168\]  el0\_svc\_compat\_handler+0x2c/0x40
\[    9.682511\]  el0\_svc\_compat+0x8/0x10
\[    9.686076\] Code: a94257f6 f9400bf7 a8c47bfd d65f03c0 (d4210000)
\[    9.692155\] ---\[ end trace 7621f966afbf0a29 \]---
\[    9.697385\] Kernel panic - not syncing: Fatal exception
\[    9.702599\] SMP: stopping secondary CPUs
\[    9.706549\] Kernel Offset: 0x1c03600000 from 0xffffffc010000000
\[    9.712456\] PHYS\_OFFSET: 0xfffffff440000000
\[    9.716625\] CPU features: 0x080026,2a80aa18
\[    9.720795\] Memory Limit: none

## Affected and fixed versions

- Linux: \>= 5c14a5f944b91371961548b1907802f74a4d2e5c, \< a46b536cd60c0dbd4bf767c62a8774dec52bf099; \>= 5c14a5f944b91371961548b1907802f74a4d2e5c, \< e230f0c44f011f3270680a506b19b7e84c5e8923 (cvelist)
- Linux: 5.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2021-47027.md
Affected: Linux >= 5c14a5f944b91371961548b1907802f74a4d2e5c, < a46b536cd60c0dbd4bf767c62a8774dec52bf099; >= 5c14a5f944b91371961548b1907802f74a4d2e5c, < e230f0c44f011f3270680a506b19b7e84c5e8923; Linux 5.12
Fixed in: no fixed version listed yet

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-2021-47027 being exploited?

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

### How serious is CVE-2021-47027?

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

### Which versions are affected by CVE-2021-47027?

Linux \>= 5c14a5f944b91371961548b1907802f74a4d2e5c, \< a46b536cd60c0dbd4bf767c62a8774dec52bf099; \>= 5c14a5f944b91371961548b1907802f74a4d2e5c, \< e230f0c44f011f3270680a506b19b7e84c5e8923; Linux 5.12.

### Is there a fix for CVE-2021-47027?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2021-47027?

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/a46b536cd60c0dbd4bf767c62a8774dec52bf099>
- patch: <https://git.kernel.org/stable/c/e230f0c44f011f3270680a506b19b7e84c5e8923>

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

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