bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-64325

5.5medium

linux6.18.60 · 6.18.54 · 6.18.8in 3 of 4 releases

Reach linux · 6 builds in 3 of 4 releases

full reviewcross-check✓ a member decided

v25.03.1not in NVD's range
v26.01.06.18.8
v26.09.06.18.54
v26.10.0latest6.18.60
aarch64_minimal
x86_64
aarch64_minimal–
x86_64–
aarch64_minimalNot built · autox86_64Openaarch64_minimalNot built · autox86_64Openaarch64_minimalNot built · autox86_64ANot affected

Description · NVD

wifi: mt76: mt7921/mt7925: fix NULL dereference in CSA beacon

This patch is based on a BUG as reported by Bongani Hlope at https://lore.kernel.org/all/20260502125824.425d7159@bongani-mini.home.org.za/

When a channel-switch announcement (CSA) beacon is received, cfg80211 queues a wiphy work item that eventually calls mt7921_channel_switch_rx_beacon(). If the station disconnects (or the channel context is otherwise torn down) between the time the work is queued and the time it runs, the driver's dev->new_ctx pointer can already have been cleared to NULL. mt7921_channel_switch_rx_beacon() then dereferences new_ctx unconditionally, triggering a NULL pointer dereference at address 0x0:

  BUG: kernel NULL pointer dereference, address: 0000000000000000
  RIP: 0010:mt7921_channel_switch_rx_beacon+0x1f/0x100 [mt7921_common]

The same missing guard exists in mt7925_channel_switch_rx_beacon(), which shares the same code pattern introduced by the same commit.

Add an early-return NULL check for dev->new_ctx in both mt7921_channel_switch_rx_beacon() and mt7925_channel_switch_rx_beacon(). When new_ctx is NULL there is no pending channel switch to process, so returning immediately is the correct and safe action.

Oops-Analysis: http://oops.fenrus.org/reports/lkml/20260502125824.425d7159@bongani-mini.home.org.za/report.html

Published 2026-07-25NVD

CVSS 3.1Local · low privileges · no user interaction

How it is reached

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None

What it costs

Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References 3
Review Av26.10.0x86_64Not affectedAccepted by a member, 2026-11-18. The fix for CVE-2026-64325 is already present in the linux 6.18.60 source used by this build: mt7921_channel_switch_rx_beacon() in drivers/net/wireless/mediatek/mt76/mt7921/main.c contains the early if (!dev->new_ctx) return; guard that the upstream/stable fix adds (stable commit 351dd7d2c80d is part of the 6.18.y series).Open the review →

Build check · v26.10.0 aarch64_minimal

None of the source files the CNA lists for CVE-2026-64325 (drivers/net/wireless/mediatek/mt76/mt7921/main.c, drivers/net/wireless/mediatek/mt76/mt7925/main.c) produced an object file in linux-6.18.60, so the affected code is not compiled into this kernel configuration.

Evidence 2

…/ is output/build/linux-6.18.60/drivers/net/wireless/mediatek/mt76/

  1. object file absent: not compiled

    …/mt7921/main.o

  2. object file absent: not compiled

    …/mt7925/main.o

Members of Kernel Kit decide. Sign in if you are one.