CVE-2025-22032: wifi: mt76: mt7921: fix kernel panic due to null pointer dereference

Published Apr 16, 2025
·
Updated

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

wifi: mt76: mt7921: fix kernel panic due to null pointer dereference

Address a kernel panic caused by a null pointer dereference in the mt792xrxgetwcid function. The issue arises because the deflink structure is not properly initialized with the sta context. This patch ensures that the deflink structure is correctly linked to the sta context, preventing the null pointer dereference.

BUG: kernel NULL pointer dereference, address: 0000000000000400 #PF: supervisor read access in kernel mode #PF: errorcode(0x0000) - not-present page PGD 0 P4D 0 Oops: Oops: 0000 [#1] PREEMPT SMP NOPTI CPU: 0 UID: 0 PID: 470 Comm: mt76-usb-rx phy Not tainted 6.12.13-gentoo-dist #1 Hardware name: /AMD HUDSON-M1, BIOS 4.6.4 11/15/2011 RIP: 0010:mt792xrxgetwcid+0x48/0x140 [mt792xlib] RSP: 0018:ffffa147c055fd98 EFLAGS: 00010202 RAX: 0000000000000000 RBX: ffff8e9ecb652000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff8e9ecb652000 RBP: 0000000000000685 R08: ffff8e9ec6570000 R09: 0000000000000000 R10: ffff8e9ecd2ca000 R11: ffff8e9f22a217c0 R12: 0000000038010119 R13: 0000000080843801 R14: ffff8e9ec6570000 R15: ffff8e9ecb652000 FS: 0000000000000000(0000) GS:ffff8e9f22a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000400 CR3: 000000000d2ea000 CR4: 00000000000006f0 Call Trace: <TASK> ? diebody.cold+0x19/0x27 ? pagefaultoops+0x15a/0x2f0 ? searchmoduleextables+0x19/0x60 ? searchbpfextables+0x5f/0x80 ? excpagefault+0x7e/0x180 ? asmexcpagefault+0x26/0x30 ? mt792xrxgetwcid+0x48/0x140 [mt792xlib] mt7921queuerxskb+0x1c6/0xaa0 [mt7921common] mt76uallocqueues+0x784/0x810 [mt76usb] ? pfxmt76workerfn+0x10/0x10 [mt76] mt76workerfn+0x4f/0x80 [mt76] kthread+0xd2/0x100 ? pfxkthread+0x10/0x10 retfromfork+0x34/0x50 ? pfxkthread+0x10/0x10 retfromforkasm+0x1a/0x30 </TASK> ---[ end trace 0000000000000000 ]---

Affected Software

4 affected components
Linux Linux kernel>=6.12.13<6.12.23
Linux Linux kernel>=6.13.2<6.13.11
Linux Linux kernel>=6.14<6.14.2
Linux Kernel

Event History

Apr 16, 2025
CVE Published
via MITRE·02:11 PM
Data Sourced
via MITRE·02:11 PM
Description
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-22032?

CVE-2025-22032 is classified as a high severity vulnerability due to its potential to cause a kernel panic.

2

How does CVE-2025-22032 affect the Linux kernel?

CVE-2025-22032 affects the Linux kernel by causing a kernel panic due to a null pointer dereference in the mt792x_rx_get_wcid function.

3

How do I fix CVE-2025-22032?

To fix CVE-2025-22032, ensure your Linux kernel is updated to a version that includes the patch addressing the vulnerability.

4

Which versions of the Linux kernel are affected by CVE-2025-22032?

CVE-2025-22032 affects Linux kernel versions between 6.12.13 to 6.12.23, 6.13.2 to 6.13.11, and 6.14 to 6.14.2.

5

What are the consequences of not addressing CVE-2025-22032?

Not addressing CVE-2025-22032 may lead to system instability and unexpected crashes due to kernel panics.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203