# CVE-2024-26892: wifi: mt76: mt7921e: fix use-after-free in free\_irq()

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.32% (percentile 17, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-04-17T10:27:44.697Z
- **Modified:** 2026-06-17T07:18:37.300Z

## Who should check

- Anyone running Linux \>= 9270270d62191b7549296721e8d5f3dc0df01563, \< c7dd42fbebcfb02bef070fd48f774d6412d0b49d; \>= 9270270d62191b7549296721e8d5f3dc0df01563, \< bfe1adf1606f76c180324e53b130f0e76d5cc6c3; \>= 9270270d62191b7549296721e8d5f3dc0df01563, \< bfeaef901194c5923ce3330272786eff2fac513a; \>= 9270270d62191b7549296721e8d5f3dc0df01563, \< c957280ef6ab6bdf559a91ae693a6b34310697e3; a76eaaaafd8b408238d7865bbbbd311f08988f3d; 95e41ac30a0d0b3637f0b3c93235a7a107a2fb7f; \>= 6.2.15, \< 6.3; \>= 6.3.2, \< 6.4
- Anyone running Linux 6.4

## Description

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

wifi: mt76: mt7921e: fix use-after-free in free\_irq()

From commit a304e1b82808 ("\[PATCH\] Debug shared irqs"), there is a test
to make sure the shared irq handler should be able to handle the unexpected
event after deregistration. For this case, let's apply MT76\_REMOVED flag to
indicate the device was removed and do not run into the resource access
anymore.

BUG: KASAN: use-after-free in mt7921\_irq\_handler+0xd8/0x100 \[mt7921e\]
Read of size 8 at addr ffff88824a7d3b78 by task rmmod/11115
CPU: 28 PID: 11115 Comm: rmmod Tainted: G        W    L    5.17.0 \#10
Hardware name: Micro-Star International Co., Ltd. MS-7D73/MPG B650I
EDGE WIFI (MS-7D73), BIOS 1.81 01/05/2024
Call Trace:
 \<TASK\>
 dump\_stack\_lvl+0x6f/0xa0
 print\_address\_description.constprop.0+0x1f/0x190
 ? mt7921\_irq\_handler+0xd8/0x100 \[mt7921e\]
 ? mt7921\_irq\_handler+0xd8/0x100 \[mt7921e\]
 kasan\_report.cold+0x7f/0x11b
 ? mt7921\_irq\_handler+0xd8/0x100 \[mt7921e\]
 mt7921\_irq\_handler+0xd8/0x100 \[mt7921e\]
 free\_irq+0x627/0xaa0
 devm\_free\_irq+0x94/0xd0
 ? devm\_request\_any\_context\_irq+0x160/0x160
 ? kobject\_put+0x18d/0x4a0
 mt7921\_pci\_remove+0x153/0x190 \[mt7921e\]
 pci\_device\_remove+0xa2/0x1d0
 \_\_device\_release\_driver+0x346/0x6e0
 driver\_detach+0x1ef/0x2c0
 bus\_remove\_driver+0xe7/0x2d0
 ? \_\_check\_object\_size+0x57/0x310
 pci\_unregister\_driver+0x26/0x250
 \_\_do\_sys\_delete\_module+0x307/0x510
 ? free\_module+0x6a0/0x6a0
 ? fpregs\_assert\_state\_consistent+0x4b/0xb0
 ? rcu\_read\_lock\_sched\_held+0x10/0x70
 ? syscall\_enter\_from\_user\_mode+0x20/0x70
 ? trace\_hardirqs\_on+0x1c/0x130
 do\_syscall\_64+0x5c/0x80
 ? trace\_hardirqs\_on\_prepare+0x72/0x160
 ? do\_syscall\_64+0x68/0x80
 ? trace\_hardirqs\_on\_prepare+0x72/0x160
 entry\_SYSCALL\_64\_after\_hwframe+0x44/0xae

## Affected and fixed versions

- Linux: \>= 9270270d62191b7549296721e8d5f3dc0df01563, \< c7dd42fbebcfb02bef070fd48f774d6412d0b49d; \>= 9270270d62191b7549296721e8d5f3dc0df01563, \< bfe1adf1606f76c180324e53b130f0e76d5cc6c3; \>= 9270270d62191b7549296721e8d5f3dc0df01563, \< bfeaef901194c5923ce3330272786eff2fac513a; \>= 9270270d62191b7549296721e8d5f3dc0df01563, \< c957280ef6ab6bdf559a91ae693a6b34310697e3; a76eaaaafd8b408238d7865bbbbd311f08988f3d; 95e41ac30a0d0b3637f0b3c93235a7a107a2fb7f; \>= 6.2.15, \< 6.3; \>= 6.3.2, \< 6.4 (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- Upgrade Linux to 6.4 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-26892.md
Affected: Linux >= 9270270d62191b7549296721e8d5f3dc0df01563, < c7dd42fbebcfb02bef070fd48f774d6412d0b49d; >= 9270270d62191b7549296721e8d5f3dc0df01563, < bfe1adf1606f76c180324e53b130f0e76d5cc6c3; >= 9270270d62191b7549296721e8d5f3dc0df01563, < bfeaef901194c5923ce3330272786eff2fac513a; >= 9270270d62191b754929672…
Fixed in: Linux 6.3, Linux 6.4

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-2024-26892 being exploited?

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

### How serious is CVE-2024-26892?

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

### Which versions are affected by CVE-2024-26892?

Linux \>= 9270270d62191b7549296721e8d5f3dc0df01563, \< c7dd42fbebcfb02bef070fd48f774d6412d0b49d; \>= 9270270d62191b7549296721e8d5f3dc0df01563, \< bfe1adf1606f76c180324e53b130f0e76d5cc6c3; \>= 9270270d62191b7549296721e8d5f3dc0df01563, \< bfeaef901194c5923ce3330272786eff2fac513a; \>= 9270270d62191b7549296721e8d5f3dc0df01563, \< c957280ef6ab6bdf559a91ae693a6b34310697e3; a76eaaaafd8b408238d7865bbbbd311f08988f3d; 95e41ac30a0d0b3637f0b3c93235a7a107a2fb7f; \>= 6.2.15, \< 6.3; \>= 6.3.2, \< 6.4; Linux 6.4.

### Is there a fix for CVE-2024-26892?

Yes. Fixed in Linux 6.3, Linux 6.4. Upgrade Linux to 6.4 or later.

### How do I check if I'm affected by CVE-2024-26892?

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/c7dd42fbebcfb02bef070fd48f774d6412d0b49d>
- patch: <https://git.kernel.org/stable/c/bfe1adf1606f76c180324e53b130f0e76d5cc6c3>
- patch: <https://git.kernel.org/stable/c/bfeaef901194c5923ce3330272786eff2fac513a>
- patch: <https://git.kernel.org/stable/c/c957280ef6ab6bdf559a91ae693a6b34310697e3>

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

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