bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-53102

5.5medium

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

Reach linux · 8 builds in 4 of 4 releases

full reviewcross-check✓ a member decided

Description · NVD

wifi: mt76: Fix memory leak after mt76_connac_mcu_alloc_sta_req()

mt76_connac_mcu_alloc_sta_req() allocates an skb which is expected to be freed eventually by mt76_mcu_skb_send_msg(). However, currently if an intermediate function fails before sending, the allocated skb is leaked.

Specifically, mt76_connac_mcu_sta_wed_update() and mt76_connac_mcu_sta_key_tlv() may fail, leading to an immediate memory leak in the error path.

Fix this by explicitly freeing the skb in these error paths. Commit 7c0f63fe37a5 ("wifi: mt76: mt7996: fix memory leak on mt7996_mcu_sta_key_tlv error") made a similar change.

Compile tested only. Issue found using a prototype static analysis tool and code review.

Published 2026-06-24NVD

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 6
Review Av26.10.0x86_64Not affected✓ accepted by a member, 2026-11-18 · settles 4 of 8

Fable 5.1 · high confidence · 2026-11-05

The fix for CVE-2026-53102 is already present in the linux 6.18.60 source in this tree: every error path after mt76_connac_mcu_alloc_sta_req() that the upstream commit patches (mt76_connac_mcu_sta_wed_update() and mt76_connac_mcu_sta_key_tlv()/mt7925_mcu_sta_key_tlv() failures) now calls dev_kfree_skb(skb) before returning, in all three CNA-listed files.

This is a stable backport in 6.18.60 itself (not an Infix patch), so NVD's version range is simply stale.

The mt76 drivers are built as modules (CONFIG_MT76_CONNAC_LIB=m, MT7915E=m, MT7925E=m) but that is moot since the vulnerable code is not present.

Evidence 6

…/ is output/build/linux-6.18.60/

  1. mt76_connac_mcu_sta_ba(): on mt76_connac_mcu_sta_wed_update() failure, dev_kfree_skb(skb) is called before return (fixed form)

    …/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c:1304-1308, 1320-1324

  2. mt76_connac_mcu_add_key(): both mt76_connac_mcu_sta_key_tlv() and mt76_connac_mcu_sta_wed_update() error paths free the skb (fixed form)

    …/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c:2779-2789

  3. mt7915 sta add path frees skb when mt76_connac_mcu_sta_wed_update() fails (fixed form)

    …/drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:1780-1784

  4. mt7925_mcu_add_key(): skb freed when mt7925_mcu_sta_key_tlv() fails (fixed form)

    …/drivers/net/wireless/mediatek/mt76/mt7925/mcu.c:1292-1296

  5. Kernel is 6.18.60; fix is in the upstream tarball, not from an Infix patch (.applied_patches_list has no patch naming this CVE)

    …/Makefile (VERSION=6 PATCHLEVEL=18 SUBLEVEL=60)

  6. CONFIG_MT76_CONNAC_LIB=m, CONFIG_MT7915E=m, CONFIG_MT7925E/U=m — the affected drivers are compiled as modules, but with fixed code

    …/.config:2437-2462

Version and patches

CNA lists the fix as backported to stable via the six referenced commits; linux 6.18.60 as unpacked in this tree already contains all the fix hunks (dev_kfree_skb on sta_wed_update / sta_key_tlv error paths in mt76_connac_mcu.c, mt7915/mcu.c, mt7925/mcu.c). NVD's CPE range matching 6.18.60 is stale. No Infix patch under patches/linux/6.18.60 references this CVE; none is needed.

Recommendation

Document as N/A (fix already present in 6.18.60 stable). No upgrade or backport required.

Open questions

None material. Could not fetch the referenced stable commits to confirm which 6.18.y release introduced the backport, but the code in the tree matches the fixed form exactly.

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