1
1
openwrt/package
dastarothx 903310097b
wifi-scripts: ucode: fix null dereference for 6GHz-only radios
he_phy_cap and he_mac_cap in phy_capabilities are only populated inside
the iftype_data loop. On 6GHz-only radios (e.g. QCN9074/ath11k_pci),
when capability bytes are unavailable they remain null, causing null
dereferences in device_htmode_append():

  Reference error: left-hand side expression is null
  if (!(he_phy_cap[3] & 0x80))

Initialise both to [] before the loop and guard the consumer side with
?? [] so bitwise checks conservatively disable beamformer/beamformee/twt
features rather than crashing.

Link: https://github.com/openwrt/openwrt/issues/23488
Signed-off-by: dastarothx <darkastalier@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23496
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2026-05-24 13:14:17 +02:00
..
base-files base-files: add options to disable default button handling 2026-05-20 00:02:31 +02:00
boot uboot-mediatek: fix malformed patch 2026-05-22 01:47:47 +01:00
devel package: binutils: deduplicate ld 2026-04-18 19:34:21 +02:00
firmware rtl826x-firmware: depend on kmod-phy-realtek 2026-05-22 20:53:04 +01:00
kernel kernel: add kmod-hwmon-corsair-cpro 2026-05-23 18:45:20 +02:00
libs libubox: update to Git HEAD (2026-05-23) 2026-05-23 19:33:16 +02:00
network wifi-scripts: ucode: fix null dereference for 6GHz-only radios 2026-05-24 13:14:17 +02:00
system ubus: update to Git HEAD (2026-05-23) 2026-05-23 19:32:01 +02:00
utils util-linux: update to 2.42.1 2026-05-19 23:39:29 +02:00
Makefile build: add CycloneDX SBOM processing to apk 2026-05-17 12:21:09 +02:00