bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-53113

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: ath11k: fix memory leaks in beacon template setup

The functions ath11k_mac_setup_bcn_tmpl_ema() and ath11k_mac_setup_bcn_tmpl_mbssid() allocate memory for beacon templates but fail to free it when parameter setup returns an error.

Since beacon templates must be released during normal execution, they must also be released in the error handling paths to prevent memory leaks.

Fix this by using unified exit paths with proper cleanup in the respective error paths.

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

Fable 5.1 · high confidence · 2026-11-05

The linux-6.18.60 source in this build already contains the fix for CVE-2026-53113: both ath11k_mac_setup_bcn_tmpl_ema() and ath11k_mac_setup_bcn_tmpl_mbssid() in drivers/net/wireless/ath/ath11k/mac.c use unified free: exit paths that release the beacon template(s) (ieee80211_beacon_free_ema_list / kfree_skb) on the ath11k_mac_set_vif_params / ath11k_mac_set_nontx_vif_params error returns, which is precisely the change the fix commit makes. NVD's range is stale relative to this stable backport.

As a secondary point, although CONFIG_ATH11K=m is set, neither ATH11K_PCI nor ATH11K_AHB bus glue is enabled or built (no ath11k_pci.o/ath11k_ahb.o in objects.txt), so the core module cannot even bind to hardware on this image.

Evidence 7
  1. ath11k_mac_setup_bcn_tmpl_ema(): the !beacons and set_vif_params failure cases do `ret = ...; goto free;` instead of returning directly

    output/build/linux-6.18.60/drivers/net/wireless/ath/ath11k/mac.c:1574-1585

  2. Unified `free:` label calling ieee80211_beacon_free_ema_list(beacons) before return (the fix's cleanup path)

    output/build/linux-6.18.60/drivers/net/wireless/ath/ath11k/mac.c:1615-1617

  3. ath11k_mac_setup_bcn_tmpl_mbssid(): set_vif_params/set_nontx_vif_params failures `goto free`, which does kfree_skb(bcn) — fixed form

    output/build/linux-6.18.60/drivers/net/wireless/ath/ath11k/mac.c:1644-1661

  4. Kernel is 6.18.60 (VERSION=6 PATCHLEVEL=18 SUBLEVEL=60), a stable release that includes this backport

    output/build/linux-6.18.60/Makefile:2-4

  5. CONFIG_ATH11K=m but CONFIG_ATH11K_PCI not set; CONFIG_ATH11K_AHB absent

    output/build/linux-6.18.60/.config:2410-2411

  6. No ath11k_pci.o or ath11k_ahb.o produced; only the ath11k core objects are compiled, so no bus driver can probe hardware

    output/objects.txt

  7. None of the 139 Infix patches touch ath11k; the fix comes from the upstream stable tarball itself

    output/build/linux-6.18.60/.applied_patches_list

Version and patches

CVE fix: upstream commit 5d63aa38d5ca (and stable backports 5fc3d921..., 7bedc489..., 9478aa5b..., ff49eba5...). Vulnerable code used direct return -EINVAL after ath11k_mac_set_vif_params()/ath11k_mac_set_nontx_vif_params() failure, leaking the beacon template(s). The 6.18.60 tree in this build has the fixed goto free form in both functions, so the stable backport is already included; NVD's CPE range for 6.18.60 is stale. No Infix patch modifies ath11k.

Recommendation

No action; document as N/A (fix already present in linux 6.18.60 as shipped). Optionally note that ath11k has no bus glue (PCI/AHB) enabled in the x86_64 kernel config, so the driver cannot bind to any device regardless.

Open questions

No git history is available in the unpacked tarball to cite the exact stable commit ID that landed in 6.18.60, but the source hunks match the fix unambiguously.

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