Linux Kernel
CVE-2025-38450
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local network-config privilege (CAP_NET_ADMIN)
-
DeliveryOperate mt7925 adapter in AP mode
-
ExploitAdd station via hostapd before init completes
-
ExecutionDereference NULL msta->vif
-
ImpactKernel panic / denial of service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a MediaTek mt7925 Wi-Fi adapter with the mt7925_common module operating in AP mode on Linux kernel 6.16-rc1 through 6.16-rc5. The crash triggers when mt7925_sta_set_decap_offload() is reached before the station is fully initialized so that msta->vif is NULL (observed via the hostapd → nl80211_new_station → ieee80211_add_station → ieee80211_check_fast_rx path). Limiting factors: exploitation needs local access plus the privilege to configure an access point (CAP_NET_ADMIN), the specific MediaTek hardware/driver must be present and in AP mode, and only release-candidate 6.16 kernels are affected; the precise timing that leaves msta->vif NULL is described only as the function being triggered 'before the station is fully initialized' and is not characterized as attacker-controlled in the available sources. |
| Impact | Signals are consistent and point to a low-to-moderate, non-urgent issue rather than a high-priority threat. The CVSS 3.1 base score is 5.5 (Medium) with vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - a local, low-privilege availability-only impact (CWE-476 NULL pointer dereference causing a kernel panic / DoS), with no confidentiality or integrity impact. EPSS is very low at 0.18% (7th percentile), the CVE is NOT in CISA KEV, and the only references are three kernel.org stable patch commits - no PoC or exploit reference is present, so exploitation status is 'no public exploit identified at time of analysis.' The vuln.today decision label is 'this_month,' i.e. routine patching cadence, not act_now/emergency. There is no SSVC decision data in the input to cross-reference. The one point worth flagging: the CVSS vector is AV:L/PR:L, but triggering the code path requires configuring the adapter as an access point (hostapd / nl80211_new_station), which on Linux needs CAP_NET_ADMIN - an elevated capability - so real-world preconditions are somewhat stronger than 'any low-privileged local user,' further reducing practical risk. Net: a genuine but low-priority defect; patch on normal schedule. |
| Exploit ScenarioDerived | On a system with a MediaTek mt7925 Wi-Fi adapter running in AP mode, a local operator configures the access point and hostapd adds a station before the station object is fully initialized; mt7925_sta_set_decap_offload() then dereferences a NULL msta->vif and the kernel panics, taking down the host (denial of service). No public exploit code or PoC reference is provided in the input. Because the vector is local (AV:L) and the trigger arises during normal AP station setup, complexity is low but it depends on local privilege to manage the interface. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
A NULL pointer dereference in the MediaTek mt7925 Wi-Fi driver (mt76 family) of the Linux kernel can panic the machine when an access point is brought up and mt7925_sta_set_decap_offload() is reached before a station is fully initialized, so that msta->vif is still NULL. Only Linux 6.16 release candidates rc1 through rc5 are affected per the affected CPE data, and the crash requires the mt7925_common module driving real MediaTek mt7925 hardware in AP mode, reachable only by a local user holding the privilege to configure an access point (CVSS PR:L, AV:L). Impact is availability-only (kernel panic / denial of service) with EPSS at 0.18% (7th percentile), no CISA KEV listing, and no public exploit identified at time of analysis; vendor-released fixes are available in the stable tree.
RemediationAI
Apply the vendor fix by updating to a kernel build that contains the upstream commit for this issue - the stable-tree patches are at https://git.kernel.org/stable/c/35ad47c0b3da04b00b19a8b9ed5632e2f2520472, https://git.kernel.org/stable/c/91c3dec2453b3742e8f666957b99945edc30577f and https://git.kernel.org/stable/c/9b50874f297fcc62adc7396f35209878e51010b0 - which adds the NULL check on msta->vif and the wcid.sta readiness check in mt7925_sta_set_decap_offload(); because these are stable backports, confirm the exact fixed kernel version with your distribution rather than assuming a release number. The advisory does not publish a workaround, and the driver-level fix is the complete remedy; the crash prerequisite is the ability to bring up an access point with CAP_NET_ADMIN on mt7925 hardware, so limiting AP-mode configuration to trusted local administrators reduces who can reach the faulty path, at the cost of removing self-service AP functionality for unprivileged users. Scheduling this within normal monthly maintenance is consistent with the low EPSS value and the absence of KEV or public exploit reporting.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The mt76 family is MediaTek's mac80211-based WLAN driver set, and mt7925_common implements the mt7925 chipset glue. Decap offload is a hardware-assisted receive path feature configured per station via mt7925_sta_set_decap_offload(), which is invoked from the mac80211 fast-receive setup routine ieee80211_check_fast_rx() when a station's state is moved during ieee80211_add_station(). The root cause is CWE-476: the function dereferences msta->vif without validating it, so a station that has not completed initialization (msta->vif still NULL, and wcid.sta not yet ready) causes a page fault in the driver. The supplied trace shows the path hostapd → nl80211_new_station → ieee80211_add_station → sta_apply_parameters → sta_info_move_state → ieee80211_check_fast_rx → mt7925_sta_set_decap_offload() faulting at an address near 0xffffffffffffffa0 on an arm64 Raspberry Pi 4 with an out-of-tree module taint. The fix adds an early return when msta->vif is NULL and additionally verifies that wcid.sta is ready, so decap offload is only configured for properly initialized stations. The available sources describe the trigger only as the function being reached 'before the station is fully initialized'; they do not characterize the timing window as attacker-controlled or describe a race or grooming primitive.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Local AP configuration path (AV:L) needing interface-management privilege (PR:L); reproduces during normal station setup so AC:L; availability-only kernel panic, no C/I impact.
Primary rating from NVD.
CVSS VectorNVD
DescriptionNVD
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7925: prevent NULL pointer dereference in mt7925_sta_set_decap_offload()
Add a NULL check for msta->vif before accessing its members to prevent a kernel panic in AP mode deployment. This also fix the issue reported in [1].
The crash occurs when this function is triggered before the station is fully initialized. The call trace shows a page fault at mt7925_sta_set_decap_offload() due to accessing resources when msta->vif is NULL.
Fix this by adding an early return if msta->vif is NULL and also check wcid.sta is ready. This ensures we only proceed with decap offload configuration when the station's state is properly initialized.
[14739.655703] Unable to handle kernel paging request at virtual address ffffffffffffffa0 [14739.811820] CPU: 0 UID: 0 PID: 895854 Comm: hostapd Tainted: G [14739.821394] Tainted: [C]=CRAP, [O]=OOT_MODULE [14739.825746] Hardware name: Raspberry Pi 4 Model B Rev 1.1 (DT) [14739.831577] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [14739.838538] pc : mt7925_sta_set_decap_offload+0xc0/0x1b8 [mt7925_common] [14739.845271] lr : mt7925_sta_set_decap_offload+0x58/0x1b8 [mt7925_common] [14739.851985] sp : ffffffc085efb500 [14739.855295] x29: ffffffc085efb500 x28: 0000000000000000 x27: ffffff807803a158 [14739.862436] x26: ffffff8041ececb8 x25: 0000000000000001 x24: 0000000000000001 [14739.869577] x23: 0000000000000001 x22: 0000000000000008 x21: ffffff8041ecea88 [14739.876715] x20: ffffff8041c19ca0 x19: ffffff8078031fe0 x18: 0000000000000000 [14739.883853] x17: 0000000000000000 x16: ffffffe2aeac1110 x15: 000000559da48080 [14739.890991] x14: 0000000000000001 x13: 0000000000000000 x12: 0000000000000000 [14739.898130] x11: 0a10020001008e88 x10: 0000000000001a50 x9 : ffffffe26457bfa0 [14739.905269] x8 : ffffff8042013bb0 x7 : ffffff807fb6cbf8 x6 : dead000000000100 [14739.912407] x5 : dead000000000122 x4 : ffffff80780326c8 x3 : 0000000000000000 [14739.919546] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffff8041ececb8 [14739.926686] Call trace: [14739.929130] mt7925_sta_set_decap_offload+0xc0/0x1b8 [mt7925_common] [14739.935505] ieee80211_check_fast_rx+0x19c/0x510 [mac80211] [14739.941344] _sta_info_move_state+0xe4/0x510 [mac80211] [14739.946860] sta_info_move_state+0x1c/0x30 [mac80211] [14739.952116] sta_apply_auth_flags.constprop.0+0x90/0x1b0 [mac80211] [14739.958708] sta_apply_parameters+0x234/0x5e0 [mac80211] [14739.964332] ieee80211_add_station+0xdc/0x190 [mac80211] [14739.969950] nl80211_new_station+0x46c/0x670 [cfg80211] [14739.975516] genl_family_rcv_msg_doit+0xdc/0x150 [14739.980158] genl_rcv_msg+0x218/0x298 [14739.983830] netlink_rcv_skb+0x64/0x138 [14739.987670] genl_rcv+0x40/0x60 [14739.990816] netlink_unicast+0x314/0x380 [14739.994742] netlink_sendmsg+0x198/0x3f0 [14739.998664] __sock_sendmsg+0x64/0xc0 [14740.002324] ____sys_sendmsg+0x260/0x298 [14740.006242] ___sys_sendmsg+0xb4/0x110
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB