Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-49476

MEDIUM 5.5EPSS 13%

mt76: mt7921: fix kernel crash at mt7921_pci_remove

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 5c14a5f944b91371961548b1907802f74a4d2e5c, < 09693f5b636fb3f6dd56fd943226fc1bbc600b51; >= 5c14a5f944b91371961548b1907802f74a4d2e5c, < 677e669973bf5460705bc65033445ea9f6615999; >= 5c14a5f944b91371961548b1907802f74a4d2e5c, < ad483ed9dd5193a54293269c852a29051813b7bd
  • Anyone running Linux 5.12

Vulnerability facts

Affected
Linux >= 5c14a5f944b91371961548b1907802f74a4d2e5c, < 09693f5b636fb3f6dd56fd943226fc1bbc600b51; >= 5c14a5f944b91371961548b1907802f74a4d2e5c, < 677e669973bf5460705bc65033445ea9f6615999; >= 5c14a5f944b91371961548b1907802f74a4d2e5c, < ad483ed9dd5193a54293269c852a29051813b7bd; Linux 5.12
Fixed in
Linux 09693f5b636fb3f6dd56fd943226fc1bbc600b51, Linux 677e669973bf5460705bc65033445ea9f6615999
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
EPSS
0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
CWE
CWE-476
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: mt76: mt7921: fix kernel crash at mt7921_pci_remove The crash log shown it is possible that mt7921_irq_handler is called while devm_free_irq is being handled so mt76_free_device need to be postponed until devm_free_irq is completed to solve the crash we free the mt76 device too early. [ 9299.339655] BUG: kernel NULL pointer dereference, address: 0000000000000008 [ 9299.339705] #PF: supervisor read access in kernel mode [ 9299.339735] #PF: error_code(0x0000) - not-present page [ 9299.339768] PGD 0 P4D 0 [ 9299.339786] Oops: 0000 [#1] SMP PTI [ 9299.339812] CPU: 1 PID: 1624 Comm: prepare-suspend Not tainted 5.15.14-1.fc32.qubes.x86_64 #1 [ 9299.339863] Hardware name: Xen HVM domU, BIOS 4.14.3 01/20/2022 [ 9299.339901] RIP: 0010:mt7921_irq_handler+0x1e/0x70 [mt7921e] [ 9299.340048] RSP: 0018:ffffa81b80c27cb0 EFLAGS: 00010082 [ 9299.340081] RAX: 0000000000000000 RBX: ffff98a4cb752020 RCX: ffffffffa96211c5 [ 9299.340123] RDX: 0000000000000000 RSI: 00000000000d4204 RDI: ffff98a4cb752020 [ 9299.340165] RBP: ffff98a4c28a62a4 R08: ffff98a4c37a96c0 R09: 0000000080150011 [ 9299.340207] R10: 0000000040000000 R11: 0000000000000000 R12: ffff98a4c4eaa080 [ 9299.340249] R13: ffff98a4c28a6360 R14: ffff98a4cb752020 R15: ffff98a4c28a6228 [ 9299.340297] FS: 00007260840d3740(0000) GS:ffff98a4ef700000(0000) knlGS:0000000000000000 [ 9299.340345] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 9299.340383] CR2: 0000000000000008 CR3: 0000000004c56001 CR4: 0000000000770ee0 [ 9299.340432] PKRU: 55555554 [ 9299.340449] Call Trace: [ 9299.340467] <TASK> [ 9299.340485] __free_irq+0x221/0x350 [ 9299.340527] free_irq+0x30/0x70 [ 9299.340553] devm_free_irq+0x55/0x80 [ 9299.340579] mt7921_pci_remove+0x2f/0x40 [mt7921e] [ 9299.340616] pci_device_remove+0x3b/0xa0 [ 9299.340651] __device_release_driver+0x17a/0x240 [ 9299.340686] device_driver_detach+0x3c/0xa0 [ 9299.340714] unbind_store+0x113/0x130 [ 9299.340740] kernfs_fop_write_iter+0x124/0x1b0 [ 9299.340775] new_sync_write+0x15c/0x1f0 [ 9299.340806] vfs_write+0x1d2/0x270 [ 9299.340831] ksys_write+0x67/0xe0 [ 9299.340857] do_syscall_64+0x3b/0x90 [ 9299.340887] entry_SYSCALL_64_after_hwframe+0x44/0xae

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 5c14a5f944b91371961548b1907802f74a4d2e5c, < 09693f5b636fb3f6dd56fd943226fc1bbc600b51; >= 5c14a5f944b91371961548b1907802f74a4d2e5c, < 677e669973bf5460705bc65033445ea9f6615999; >= 5c14a5f944b91371961548b1907802f74a4d2e5c, < ad483ed9dd5193a54293269c852a29051813b7bd—cvelist
Linux5.12—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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

Details: https://flawdb.com/CVE-2022-49476.md
Affected: Linux >= 5c14a5f944b91371961548b1907802f74a4d2e5c, < 09693f5b636fb3f6dd56fd943226fc1bbc600b51; >= 5c14a5f944b91371961548b1907802f74a4d2e5c, < 677e669973bf5460705bc65033445ea9f6615999; >= 5c14a5f944b91371961548b1907802f74a4d2e5c, < ad483ed9dd5193a54293269c852a29051813b7bd; Linux 5.12
Fixed in: Linux 09693f5b636fb3f6dd56fd943226fc1bbc600b51, Linux 677e669973bf5460705bc65033445ea9f6615999

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.

References

FAQ

Is CVE-2022-49476 being exploited?

There is no confirmed exploitation: CVE-2022-49476 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-49476?

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

Which versions are affected by CVE-2022-49476?

Linux >= 5c14a5f944b91371961548b1907802f74a4d2e5c, < 09693f5b636fb3f6dd56fd943226fc1bbc600b51; >= 5c14a5f944b91371961548b1907802f74a4d2e5c, < 677e669973bf5460705bc65033445ea9f6615999; >= 5c14a5f944b91371961548b1907802f74a4d2e5c, < ad483ed9dd5193a54293269c852a29051813b7bd; Linux 5.12.

Is there a fix for CVE-2022-49476?

Yes. Fixed in Linux 09693f5b636fb3f6dd56fd943226fc1bbc600b51, Linux 677e669973bf5460705bc65033445ea9f6615999. No fix listed yet: follow the vendor advisory.

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

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.

Sponsors