Skip to contentSkip to conversation

hostapd: upgrade 2.11 -> 2.12

PATCH New [email protected] 1 participant 6 messages Aug 11

lore
Share & tools
lore
#0 lore raw

PATCH 1/6 hostapd: upgrade 2.11 -> 2.12

From: Ankur Tyagi <[email protected]>

License-Update: Copyright updated to 2026[1].

Dropped patches that are part of the upstream version.

Changelog[2]:
* support RSN overriding (e.g., WPA3-Personal Compatibility Mode)
* EHT/IEEE 802.11be/Wi-Fi 7
- more complete support
- fix message validation issues that could enable DoS attacks
- fix group key rekeying
* enable SAE group 20 by default if SAE-EXT-KEY is enabled
* reject unexpected SAE password identifier to avoid DoS attack against a specific STA
* mandate use of SAE H2E when using password identifiers
* assign VLAN when using SAE with PMKSA caching
* support SPP A-MSDU negotiation
* support IEEE 802.11bi functionality
- changing SAE password identifiers
- EPPKE
- IEEE 802.1X/EAP in Authentication frames
- Association frame encryption
- PMKID privacy
* remove the driver interface for now obsolete Host AP driver
* remove the driver interface for now obsolete Atheros WEXT interface
* move supported, basic, and Beacon TX rate configuration to be at BSS level instead of per-radio for all BSSs
* fix various issues in Multiple-BSSID functionality
* support OpenSSL 3.0 API changes
* EAP-TEAP: protocol changes based on RFC 9930; this is not compatible with previous versions
* support Automated Frequency Coordination (AFC) on the 6 GHz band
* improve GAS/ANQP processing to support larger ANQP responses
* a large number of other fixes, cleanup, and extensions

[1] https://git.w1.fi/cgit/hostap/commit/README?h=hostap_2_12&id=e58715b1b7f8d53e493017f5ce4a3b45e53f3d23
[2] https://git.w1.fi/cgit/hostap/tree/hostapd/ChangeLog?h=hostap_2_12

---
 ...e64-for-hostapd-CONFIG_SAE_PK-builds.patch | 40 ----------
 ...learing-up-settings-for-color-switch.patch | 34 --------
 .../hostapd/hostapd/CVE-2025-24912-01.patch   | 79 -------------------
 .../hostapd/hostapd/CVE-2025-24912-02.patch   | 70 ----------------
 .../{hostapd_2.11.bb => hostapd_2.12.bb}      |  8 +-
 5 files changed, 2 insertions(+), 229 deletions(-)
 delete mode 100644 meta-oe/recipes-connectivity/hostapd/hostapd/0001-Include-base64-for-hostapd-CONFIG_SAE_PK-builds.patch
 delete mode 100644 meta-oe/recipes-connectivity/hostapd/hostapd/0002-hostapd-Fix-clearing-up-settings-for-color-switch.patch
 delete mode 100644 meta-oe/recipes-connectivity/hostapd/hostapd/CVE-2025-24912-01.patch
 delete mode 100644 meta-oe/recipes-connectivity/hostapd/hostapd/CVE-2025-24912-02.patch
 rename meta-oe/recipes-connectivity/hostapd/{hostapd_2.11.bb => hostapd_2.12.bb} (80%)
meta-oe/recipes-connectivity/hostapd/hostapd/0001-Include-base64-for-hostapd-CONFIG_SAE_PK-builds.patch deleted +0 -40
deleted file mode 100644
index e790e8e0f2..0000000000
@@ -1,40 +0,0 @@
-From 430bc89b9a29537d9d22bb42406f3d14072a01d4 Mon Sep 17 00:00:00 2001
-From: Jouni Malinen <[email protected]>
-Date: Sun, 22 Dec 2024 18:53:12 +0200
-Subject: [PATCH] Include base64 for hostapd CONFIG_SAE_PK builds
-
-CONFIG_SAE_PK=y needs base64 functionality, so set NEED_BASE64
-automatically for it.
-
-Signed-off-by: Jouni Malinen <[email protected]>
-Upstream-Status: Backport [https://git.w1.fi/cgit/hostap/commit/?id=430bc89b9a29537d9d22bb42406f3d14072a01d4]
-Signed-off-by: Peter Kjellerstedt <[email protected]>
----
- hostapd/Android.mk | 1 +
- hostapd/Makefile   | 1 +
- 2 files changed, 2 insertions(+)
-
-diff --git a/hostapd/Android.mk b/hostapd/Android.mk
-index e6c2fbf18..6e0d77d28 100644
---- a/hostapd/Android.mk
-+++ b/hostapd/Android.mk
-@@ -260,6 +260,7 @@ OBJS += src/common/sae.c
- ifdef CONFIG_SAE_PK
- L_CFLAGS += -DCONFIG_SAE_PK
- NEED_AES_SIV=y
-+NEED_BASE64=y
- OBJS += src/common/sae_pk.c
- endif
- NEED_ECC=y
-diff --git a/hostapd/Makefile b/hostapd/Makefile
-index fa0d366a8..c3419c10e 100644
---- a/hostapd/Makefile
-+++ b/hostapd/Makefile
-@@ -299,6 +299,7 @@ OBJS += ../src/common/sae.o
- ifdef CONFIG_SAE_PK
- CFLAGS += -DCONFIG_SAE_PK
- NEED_AES_SIV=y
-+NEED_BASE64=y
- OBJS += ../src/common/sae_pk.o
- endif
- NEED_ECC=y
meta-oe/recipes-connectivity/hostapd/hostapd/0002-hostapd-Fix-clearing-up-settings-for-color-switch.patch deleted +0 -34
deleted file mode 100644
index 5d6cce3f14..0000000000
@@ -1,34 +0,0 @@
-From 161327f91d956771996c96ea1b6e4e1cb8dc074c Mon Sep 17 00:00:00 2001
-From: Stone Zhang <[email protected]>
-Date: Mon, 14 Oct 2024 18:47:32 +0800
-Subject: [PATCH] hostapd: Fix clearing up settings for color switch
-
-Settings for color switch (struct cca_settings settings)
-is used without zero clearing, which causes the member
-settings->ubpr->unsol_bcast_probe_resp_intervalettings
-to be a random value. It is againsts the NLA policy of
-NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_INT and causes
-BSS color switch failure.
-
-Fixes: 654d2395dddf ("BSS coloring: Handling of collision events and triggering CCA")
-Signed-off-by: Stone Zhang <[email protected]>
-Upstream-Status: Backport [https://w1.fi/cgit/hostap.git/commit/?id=161327f91d956771996c96ea1b6e4e1cb8dc074c]
----
- src/ap/hostapd.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/ap/hostapd.c b/src/ap/hostapd.c
-index 5ba2cab2c..90e93b6dc 100644
---- a/src/ap/hostapd.c
-+++ b/src/ap/hostapd.c
-@@ -4768,6 +4768,7 @@ static void hostapd_switch_color_timeout_handler(void *eloop_data,
- 		struct cca_settings settings;
- 		int ret;
- 
-+		os_memset(&settings, 0, sizeof(settings));
- 		hostapd_cleanup_cca_params(bss);
- 		bss->cca_color = r;
- 		bss->cca_count = 10;
--- 
-2.45.2
-
meta-oe/recipes-connectivity/hostapd/hostapd/CVE-2025-24912-01.patch deleted +0 -79

79 lines not on this page · raw message

meta-oe/recipes-connectivity/hostapd/hostapd/CVE-2025-24912-02.patch deleted +0 -70

70 lines not on this page · raw message

meta-oe/recipes-connectivity/hostapd/hostapd_2.12.bb renamed from meta-oe/recipes-connectivity/hostapd/hostapd_2.11.bb +2 -6
similarity index 80%
rename from meta-oe/recipes-connectivity/hostapd/hostapd_2.11.bb
rename to meta-oe/recipes-connectivity/hostapd/hostapd_2.12.bb
index ce1c145fd7..7673ce0d38 100644
@@ -2,23 +2,19 @@ SUMMARY = "User space daemon for extended IEEE 802.11 management"
 HOMEPAGE = "http://w1.fi/hostapd/"
 SECTION = "kernel/userland"
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://hostapd/README;beginline=5;endline=47;md5=8e2c69e491b28390f9de0df1f64ebd6d"
+LIC_FILES_CHKSUM = "file://hostapd/README;beginline=5;endline=47;md5=4d666937756a064d6d90d128a32c3571"
 
 DEPENDS = "libnl openssl"
 
 SRC_URI = " \
     http://w1.fi/releases/hostapd-${PV}.tar.gz \
-    file://0001-Include-base64-for-hostapd-CONFIG_SAE_PK-builds.patch \
-    file://0002-hostapd-Fix-clearing-up-settings-for-color-switch.patch \
     file://defconfig \
     file://init \
     file://hostapd.service \
-    file://CVE-2025-24912-01.patch \
-    file://CVE-2025-24912-02.patch \
 "
 
 
-SRC_URI[sha256sum] = "2b3facb632fd4f65e32f4bf82a76b4b72c501f995a4f62e330219fe7aed1747a"
+SRC_URI[sha256sum] = "f43502561c28ba47ab77e18e1a973d07361c68cc8b14178e619bd5796b70eabd"
 
 inherit update-rc.d systemd pkgconfig features_check
 
#1 lore raw

PATCH 2/6 libdevmapper,lvm2: upgrade 2.03.41 -> 2.03.42,2.03.41 -> 2.03.42

From: Ankur Tyagi <[email protected]>

Changelog[1]:
- Add --lockopt retries=N to lvmlockd.
- Add --lockopt removeretry=SECONDS to lvmlockd to retry vgremove.
- Use lockd_lv lock probes for pvmove holder availability in shared VGs.
- Auto-revert metadata when initial pvmove mirror activation fails.
- Refuse activation of pvmove-locked LV when pvmove runs on another node.
- Allow pvmove --abort without args when using lvmlockd.
- Add cluster lock lifecycle for pvmove LV in shared VGs.
- Add support for pvmove in a shared VG.
- Allow lvremove -f to remove pvmove-locked LVs after interrupted pvmove.
- Handle active pvmove during vgchange -an with force flags.
- Fix pvmove completion to use suspend+resume for DM table reload.
- Fix deactivation cascade during active pvmove.
- Support inactive LVs in pvmove with metadata-only mirror insertion.
- Kill orphaned polling process on pvmove --abort.
- Support formatting vdo volumes with kernel vdo target (version >= 9.2).
- Fix VDO index_memory_size_mb quantization and report minimum required pool size.
- Add vdo_format.c with pre-format logical size computation for kernel format.
- Add --enable-asan/--enable-tsan to build with sanitizer options.
- Mirror cleans orphaned missing DM nodes on image removal.
- Splitcache deactivates individually activated component.
- Fix memleak in vgimportclone and vg_write_commit_bad_mdas().
- Fix autoactivation on top of MD and loop devices if udev db records incomplete.
- Make MD device ready state check in udev to be in sync with MD udev rules.

[1] https://sourceware.org/git/?p=lvm2.git;a=blob;f=WHATS_NEW;h=45ba143df59ed17f39fc3cc802b2f0cb32cfddc5;hb=56bef2d3430fcc5d5b00f64c099251ea824ad16f

---
 meta-oe/recipes-support/lvm2/lvm2.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-support/lvm2/lvm2.inc +2 -2
index 77dec89bbf..8c00063775 100644
@@ -18,8 +18,8 @@ SRC_URI = "git://sourceware.org/git/lvm2.git;branch=main;tag=${PV_TAG} \
            file://0001-include-libgen.h-for-basename.patch \
            "
 
-SRCREV = "539014d16099ee8d46318b49e9014332e2dc7ef3"
-PV = "2.03.41"
+SRCREV = "56bef2d3430fcc5d5b00f64c099251ea824ad16f"
+PV = "2.03.42"
 PV_TAG = "v${@d.getVar('PV').replace('.', '_')}"
 
 UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\_\d+)+)"
#2 lore raw

PATCH 3/6 postfix: upgrade 3.11.5 -> 3.11.6

In reply to [email protected]

From: Ankur Tyagi <[email protected]>

Release Note:
http://www.postfix.org/announcements/postfix-3.11.6.html

---
 .../postfix/{postfix_3.11.5.bb => postfix_3.11.6.bb}            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-networking/recipes-daemons/postfix/{postfix_3.11.5.bb => postfix_3.11.6.bb} (99%)
meta-networking/recipes-daemons/postfix/postfix_3.11.6.bb renamed from meta-networking/recipes-daemons/postfix/postfix_3.11.5.bb +1 -1
similarity index 99%
rename from meta-networking/recipes-daemons/postfix/postfix_3.11.5.bb
rename to meta-networking/recipes-daemons/postfix/postfix_3.11.6.bb
index 60f1889a38..14854ca11d 100644
@@ -29,7 +29,7 @@ SRC_URI = "http://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${P
            file://0001-Fix-build-with-musl.patch \
            "
 
-SRC_URI[sha256sum] = "4a6ab3d0e9390989fa201fc6c446045fc702c4e16e7a247c3ae261c9e9bee610"
+SRC_URI[sha256sum] = "b9a748705b1cab0a4afcbe42f934c82a33b342ba3229017fb508c71700078d07"
 
 UPSTREAM_CHECK_URI = "https://www.postfix.org/announcements.html"
 UPSTREAM_CHECK_REGEX = "postfix-(?P<pver>\d+(\.\d+)+)"
#3 lore raw

PATCH 4/6 capnproto: upgrade 1.4.0 -> 1.5.0

In reply to [email protected]

From: Ankur Tyagi <[email protected]>

Changelog:
https://github.com/capnproto/capnproto/compare/v1.4.0...v1.5.0

---
 .../capnproto/{capnproto_1.4.0.bb => capnproto_1.5.0.bb}        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-devtools/capnproto/{capnproto_1.4.0.bb => capnproto_1.5.0.bb} (95%)
meta-oe/recipes-devtools/capnproto/capnproto_1.5.0.bb renamed from meta-oe/recipes-devtools/capnproto/capnproto_1.4.0.bb +1 -1
similarity index 95%
rename from meta-oe/recipes-devtools/capnproto/capnproto_1.4.0.bb
rename to meta-oe/recipes-devtools/capnproto/capnproto_1.5.0.bb
index 948ff80345..b867c72e36 100644
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://../LICENSE;md5=a05663ae6cca874123bf667a60dca8c9"
 
 SRC_URI = "git://github.com/sandstorm-io/capnproto.git;branch=release-${PV};protocol=https;tag=v${PV} \
            file://0001-Export-binaries-only-for-native-build.patch"
-SRCREV = "8b892a8a11a632f5d52b877a49728808a142379a"
+SRCREV = "373e61ec89e2359f1c362e9b2eadc552f4779306"
 
 S = "${UNPACKDIR}/${BP}/c++"
 
#4 lore raw

PATCH 5/6 libcec: upgrade 8.1.3 -> 8.1.6

In reply to [email protected]

From: Ankur Tyagi <[email protected]>

https://github.com/Pulse-Eight/libcec/releases/tag/libcec-8.1.4
https://github.com/Pulse-Eight/libcec/releases/tag/libcec-8.1.5
https://github.com/Pulse-Eight/libcec/releases/tag/libcec-8.1.6

---
 .../libcec/{libcec_8.1.3.bb => libcec_8.1.6.bb}                 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-extended/libcec/{libcec_8.1.3.bb => libcec_8.1.6.bb} (96%)
meta-oe/recipes-extended/libcec/libcec_8.1.6.bb renamed from meta-oe/recipes-extended/libcec/libcec_8.1.3.bb +1 -1
similarity index 96%
rename from meta-oe/recipes-extended/libcec/libcec_8.1.3.bb
rename to meta-oe/recipes-extended/libcec/libcec_8.1.6.bb
index dd118753cd..c8b98d620f 100644
@@ -9,7 +9,7 @@ DEPENDS = "p8platform udev ncurses swig-native python3"
 DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11 libxrandr', '', d)}"
 DEPENDS:append:rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' userland', d)}"
 
-SRCREV = "bfc6a5fe0425d09f02e282f676113cc3150c118f"
+SRCREV = "19eaa50afe5407f02c5dede0298d092bc47d3162"
 SRC_URI = "git://github.com/Pulse-Eight/libcec.git;branch=release;protocol=https;tag=${BPN}-${PV} \
            file://0001-Enhance-reproducibility.patch \
           "
#5 lore raw

PATCH 6/6 hiredis: upgrade 1.4.0 -> 1.4.1

In reply to [email protected]

From: Ankur Tyagi <[email protected]>

Also update branch in the SRC_URI,

Changelog:
https://github.com/redis/hiredis/releases/tag/v1.4.1

---
 .../hiredis/{hiredis_1.4.0.bb => hiredis_1.4.1.bb}            | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-extended/hiredis/{hiredis_1.4.0.bb => hiredis_1.4.1.bb} (91%)
meta-oe/recipes-extended/hiredis/hiredis_1.4.1.bb renamed from meta-oe/recipes-extended/hiredis/hiredis_1.4.0.bb +2 -2
similarity index 91%
rename from meta-oe/recipes-extended/hiredis/hiredis_1.4.0.bb
rename to meta-oe/recipes-extended/hiredis/hiredis_1.4.1.bb
index 62e5a36318..6d4e7391cd 100644
@@ -5,10 +5,10 @@ LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d84d659a35c666d23233e54503aaea51"
 
 SRC_URI = " \
-    git://github.com/redis/hiredis;protocol=https;branch=master;tag=v${PV} \
+    git://github.com/redis/hiredis;protocol=https;branch=release/v1.4.X;tag=v${PV} \
     file://run-ptest \
     "
-SRCREV = "67c88a05bb97c40d5c29d0680e51828627e4f362"
+SRCREV = "616f2286ba5503f74ae96e720623fa11dbc690af"
 
 inherit cmake ptest