Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id DA85AC531DF for ; Fri, 23 Aug 2024 00:57:08 +0000 (UTC) Received: from mx0b-0064b401.pphosted.com (mx0b-0064b401.pphosted.com [205.220.178.238]) by mx.groups.io with SMTP id smtpd.web10.6625.1724374621012867615 for ; Thu, 22 Aug 2024 17:57:01 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: windriver.com, ip: 205.220.178.238, mailfrom: prvs=8965975543=randy.macleod@windriver.com) Received: from pps.filterd (m0250812.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 47N0fVRS026506 for ; Fri, 23 Aug 2024 00:57:00 GMT Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 412ju6x005-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 23 Aug 2024 00:56:59 +0000 (GMT) Received: from m0250812.ppops.net (m0250812.ppops.net [127.0.0.1]) by pps.reinject (8.18.0.8/8.18.0.8) with ESMTP id 47N0uxWP015628; Fri, 23 Aug 2024 00:56:59 GMT Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2047.outbound.protection.outlook.com [104.47.55.47]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 412ju6x004-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Aug 2024 00:56:58 +0000 (GMT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=xHhPf6lBuYPUiaC14gWLxWBMSqO6ZKw9aJa6CgADKx+lfHc+45wjyLvqYqsslOqstp393AdiuLg4NI3WZhjSp3ZJwJUxo4uOhT4De+jW6+KlVfCEvlo6PO0dYFRSJ4AhfGpmE7Xd3jcBCtGJtjNc0BsPGKm5yQnSAxHjZYSFphxpGnwBrs072Dh/GlQ5ZEK3o66Z4Gh6CABhtg/Gp3zl+GGNY/N0qXtZ3la36ChuGZqmTBXH8rX8y7TasmUyT/+CgwO1JVOQBtBqH9wvRPGVXt1cNPjWVXRLty/MUdE1VeS0Evsi0dYeKuhzoQG8agzBBZt87FwzD/I3+jEyhv859w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Tezvth1Z2JHTE6DYc7ZrBe3luFtLXCtC4m14vo2b1fA=; b=eS77LeiD/XUbUkp+sqafT7M+iiiJ7vBIFNfzrAOhDjNKES29yPWE3YZ65y1nl0NsAmGFneKlpaww2E7lbyXJF6ZKFvVAP3RvpTJAsUl9XRx6P0chvOQvUH4EZ3SkH7A2CnKAG4gN6Y82wa8HVJWVMG1hIcw9i3fF6Ks1xxW/eadUDEUJ7T+vSvN5XbTPgg9GGCw+Y1iEqInCkEU/b3Qdtf2YcwNUtSAc0DRlaCDR6tBL+SUh7mESxT3o5lEf0uHUI00HaycAxnYBOhNtLbLgfpSA63Q0dQzO+XbLb+hQSf/wjawCaEhQraSTLSdchuwv1Thq2Gu1MLqxtsIZFfAfKQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none Received: from CH3PR11MB8496.namprd11.prod.outlook.com (2603:10b6:610:1ba::22) by IA1PR11MB8151.namprd11.prod.outlook.com (2603:10b6:208:44d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.20; Fri, 23 Aug 2024 00:56:53 +0000 Received: from CH3PR11MB8496.namprd11.prod.outlook.com ([fe80::cdc3:a646:2a93:9552]) by CH3PR11MB8496.namprd11.prod.outlook.com ([fe80::cdc3:a646:2a93:9552%6]) with mapi id 15.20.7897.014; Fri, 23 Aug 2024 00:56:53 +0000 Content-Type: multipart/alternative; boundary="------------YSDDcjQE4Ni0JhLBVmnLWAPq" Message-ID: <9d603884-968b-4439-b88b-2bf8f6aebb9c@windriver.com> Date: Thu, 22 Aug 2024 20:56:51 -0400 User-Agent: Mozilla Thunderbird Subject: Re: [OE-core][master][scarthgap][PATCH] wpa-supplicant: Upgrade 2.10 -> 2.11 To: sdoshi@mvista.com, openembedded-core@lists.openembedded.org, "steve@sakoman.com" References: <20240822161721.6699-1-sdoshi@mvista.com> Content-Language: en-CA From: Randy MacLeod In-Reply-To: <20240822161721.6699-1-sdoshi@mvista.com> X-ClientProxiedBy: YQBPR0101CA0275.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c01:68::25) To CH3PR11MB8496.namprd11.prod.outlook.com (2603:10b6:610:1ba::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH3PR11MB8496:EE_|IA1PR11MB8151:EE_ X-MS-Office365-Filtering-Correlation-Id: 936bb3eb-9176-46d2-bed6-08dcc30e7a51 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|4022899009|366016; X-Microsoft-Antispam-Message-Info: =?utf-8?B?S0FwTlg2YzlMOE9ad3ZUc2xZZzA5OFFWOXR2WmtpVWNORFVuemFxR25IaHFP?= =?utf-8?B?OWtxTU9YREZpUTJDY2RWd0NkWUZCdzZuZk43T2lFNVM3QkQrYlliWDhMbEtN?= =?ut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OdXRwRnl4dTc3aUdzUDNZUXdvYmlFclFU?= =?utf-8?B?ZVEvSXR6Skt0SWF3eGVWT1B2MUMzcHp0VmZXc0pvVllZbnJ0bDh3V2QxRzBV?= =?utf-8?B?b1o0NUdJdWt6U3J6YWk2OFIzSUZEVjhqOXBPRWFtSE9ua0ZubmFHa1o1T2I3?= =?utf-8?B?TWFiYVhLL3Zoc2hyN21QY0lBMW9icVlNTEdhZUVuMzhhVlIwWUphTHpTYWx6?= =?utf-8?B?a1JCek9FTU5RcTUxVExMRWZqRkcvQjRGaHNkRkpPeE9zS0N0SG50RS84d0Ni?= =?utf-8?B?RDJXRzNvOGpoTUc0VG1XQ1I5am55RVBXeXpWYWpWcG43TU1sZjlMQkQzay9v?= =?utf-8?B?c0U5Y0FjRG1oVzVYSnZvQW5saFBHWnFHT1FrUzJQeTlIWTlDOWU2SnJGc3VM?= =?utf-8?B?cTQ3d0l2U0NSUDNQeU1NVDducFhNSTZYN1duUEE1aVRDWm03U0VlR0JlcXVN?= =?utf-8?B?b3c9PQ==?= X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: 936bb3eb-9176-46d2-bed6-08dcc30e7a51 X-MS-Exchange-CrossTenant-AuthSource: CH3PR11MB8496.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Aug 2024 00:56:53.0451 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: k8Ed78dZIv9kkTSltXBMkzVGvuqoGcY6Z3SeAYfp88QHI8YAahIOt5L5aaO/SHy/oPy0Lw/kYHDaKJgML/QerXPwNBAfh5JM6Cp7Glh7+E8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR11MB8151 X-Proofpoint-ORIG-GUID: 3_VqCfWSjZ89pQv4X2z7ah96OqQLGWCI X-Authority-Analysis: v=2.4 cv=VdWlP0p9 c=1 sm=1 tr=0 ts=66c7de5b cx=c_pps a=2/f09Pi2ycfuKzF0xiDRrg==:117 a=Ol13hO9ccFRV9qXi2t6ftBPywas=:19 a=xqWC_Br6kY4A:10 a=yoJbH4e0A30A:10 a=bRTqI5nwn0kA:10 a=Q4-j1AaZAAAA:8 a=fk1lIlRQAAAA:8 a=yaAG3qJ-AAAA:8 a=pGLkceISAAAA:8 a=JfrnYn6hAAAA:8 a=COk6AnOGAAAA:8 a=t7CeM3EgAAAA:8 a=lZI6BftWLBXyHBpGwdsA:9 a=CYH4U5sQG6XSfQ-T:21 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=tmL6ccyT9T4A:10 a=GFfUI7B0NGUA:10 a=oUHh9KSzjG4A:10 a=_DcmwgE0N9P0SH7Fl0YA:9 a=10jHs9LQOepAk9KF:21 a=_W_S_7VecoQA:10 a=lqcHg5cX4UMA:10 a=T1a-OTYGVawA:10 a=9H3Qd4_ONW2Ztcrla5EB:22 a=U75ogvRika4pmaD_UPO0:22 a=oLVlbjkABFOu4cUI0CGI:22 a=1CNFftbPRP8L7MoqJWF3:22 a=TjNXssC_j7lpFel5tvFf:22 a=FdTzh2GWekK77mhwV6Dw:22 X-Proofpoint-GUID: V-4SYxvTpXvxGjDgs20JVoFRQzaP-2zB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-22_17,2024-08-22_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 phishscore=0 spamscore=0 malwarescore=0 impostorscore=0 mlxscore=0 suspectscore=0 mlxlogscore=999 lowpriorityscore=0 bulkscore=0 priorityscore=1501 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.21.0-2407110000 definitions=main-2408230005 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 23 Aug 2024 00:57:08 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/203665 --------------YSDDcjQE4Ni0JhLBVmnLWAPq Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by mx0a-0064b401.pphosted.com id 47N0fVRS026506 For scarthgap, it's good but not mandatory to have Steve on the To/CC lis= t. On 2024-08-22 12:17 p.m., Siddharth Doshi via lists.openembedded.org wrot= e: > From: Siddharth Doshi > > License-Update: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > - README: Change in copyright years as perhttps://w1.fi/cgit/hostap/com= mit/README?id=3Dd945ddd368085f255e68328f2d3b020ceea359af > - wpa_supplicant/wpa_supplicant.c: Change in copyright years as perhttp= s://w1.fi/cgit/hostap/commit/wpa_supplicant/wpa_supplicant.c?id=3Dd945ddd= 368085f255e68328f2d3b020ceea359af > > CVE's Fixed: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > - CVE-2024-5290 wpa_supplicant: wpa_supplicant loading arbitrary shared= objects allowing privilege escalation > - CVE-2023-52160 wpa_supplicant: potential authorization bypass > > Changes between 2.10 -> 2.11: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > https://w1.fi/cgit/hostap/commit/wpa_supplicant/ChangeLog?id=3Dd945ddd3= 68085f255e68328f2d3b020ceea359af Hello Siddharth, This update make sense for the master brnanch but likely not for=20 scarthgap unless you can show that this is a bug fix only release. It certainly does not look like a small bug fix only update based on: =E2=9D=AF git diff hostap_2_10 hostap_2_11 | diffstat | tail -1 =C2=A0534 files changed, 85965 insertions(+), 16847 deletions(-) =E2=9D=AF git log --oneline hostap_2_10..hostap_2_11 | wc -l 2295 and the hostap and wpa-supplicant ChangeLogs which mention adding=20 features below (1). Since the repo ( git://w1.fi/srv/git/hostap.git ) doesn't have a stable=20 branch for 2.10: =E2=9D=AF git branch -a * master =C2=A0 remotes/origin/HEAD -> origin/master =C2=A0 remotes/origin/android-jb =C2=A0 remotes/origin/android-kk =C2=A0 remotes/origin/android-l =C2=A0 remotes/origin/android-m =C2=A0 remotes/origin/aosp-jb =C2=A0 remotes/origin/aosp-kk =C2=A0 remotes/origin/main =C2=A0 remotes/origin/master =C2=A0 remotes/origin/pending you'll have to backport any CVE fixes that you're interested in unless someone explains why this is a sensible update for scarthgap. Thanks, ../Randy 1) =E2=9D=AF git diff hostap_2_10 hostap_2_11 hostapd/ChangeLog | cat diff --git a/hostapd/ChangeLog b/hostapd/ChangeLog index 279298e4d..1c8240d33 100644 --- a/hostapd/ChangeLog +++ b/hostapd/ChangeLog @@ -1,5 +1,42 @@ =C2=A0ChangeLog for hostapd +2024-07-20 - v2.11 +=C2=A0=C2=A0=C2=A0 * Wi-Fi Easy Connect +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - add support for DPP release 3 +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - allow Configurator parameters to be pro= vided during config exchange +=C2=A0=C2=A0=C2=A0 * HE/IEEE 802.11ax/Wi-Fi 6 +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - various fixes +=C2=A0=C2=A0=C2=A0 * EHT/IEEE 802.11be/Wi-Fi 7 +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - add preliminary support +=C2=A0=C2=A0=C2=A0 * SAE: add support for fetching the password from a R= ADIUS server +=C2=A0=C2=A0=C2=A0 * support OpenSSL 3.0 API changes +=C2=A0=C2=A0=C2=A0 * support background radar detection and CAC with som= e additional +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 drivers +=C2=A0=C2=A0=C2=A0 * support RADIUS ACL/PSK check during 4-way handshake= =20 (wpa_psk_radius=3D3) +=C2=A0=C2=A0=C2=A0 * EAP-SIM/AKA: support IMSI privacy +=C2=A0=C2=A0=C2=A0 * improve 4-way handshake operations +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - use Secure=3D1 in message 3 during PTK = rekeying +=C2=A0=C2=A0=C2=A0 * OCV: do not check Frequency Segment 1 Channel Numbe= r for 160 MHz=20 cases +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 to avoid interoperability issues +=C2=A0=C2=A0=C2=A0 * support new SAE AKM suites with variable length key= s +=C2=A0=C2=A0=C2=A0 * support new AKM for 802.1X/EAP with SHA384 +=C2=A0=C2=A0=C2=A0 * extend PASN support for secure ranging +=C2=A0=C2=A0=C2=A0 * FT: Use SHA256 to derive PMKID for AKM 00-0F-AC:3 (= FT-EAP) +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - this is based on additional details bei= ng added in the IEEE 802.11 +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 standard +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - the new implementation is not backwards= compatible +=C2=A0=C2=A0=C2=A0 * improved ACS to cover additional channel types/band= widths +=C2=A0=C2=A0=C2=A0 * extended Multiple BSSID support +=C2=A0=C2=A0=C2=A0 * fix beacon protection with FT protocol (incorrect B= IGTK was provided) +=C2=A0=C2=A0=C2=A0 * support unsynchronized service discovery (USD) +=C2=A0=C2=A0=C2=A0 * add preliminary support for RADIUS/TLS +=C2=A0=C2=A0=C2=A0 * add support for explicit SSID protection in 4-way h= andshake +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (a mitigation for CVE-2023-52424; disable= d by default for now, can be +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 enabled with ssid_protection=3D1) +=C2=A0=C2=A0=C2=A0 * fix SAE H2E rejected groups validation to avoid dow= ngrade attacks +=C2=A0=C2=A0=C2=A0 * use stricter validation for some RADIUS messages +=C2=A0=C2=A0=C2=A0 * a large number of other fixes, cleanup, and extensi= ons + =C2=A02022-01-16 - v2.10 =C2=A0=C2=A0=C2=A0=C2=A0 * SAE changes =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - improved protection against side = channel attacks =E2=9D=AF=C2=A0 git diff hostap_2_10 hostap_2_11 wpa_supplicant/ChangeLog= | cat diff --git a/wpa_supplicant/ChangeLog b/wpa_supplicant/ChangeLog index efcc6cd9c..3f4162eb0 100644 --- a/wpa_supplicant/ChangeLog +++ b/wpa_supplicant/ChangeLog @@ -1,5 +1,55 @@ =C2=A0ChangeLog for wpa_supplicant +2024-07-20 - v2.11 +=C2=A0=C2=A0=C2=A0 * Wi-Fi Easy Connect +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - add support for DPP release 3 +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - allow Configurator parameters to be pro= vided during config exchange +=C2=A0=C2=A0=C2=A0 * MACsec +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - add support for GCM-AES-256 cipher suit= e +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - remove incorrect EAP Session-Id length = constraint +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - add hardware offload support for additi= onal drivers +=C2=A0=C2=A0=C2=A0 * HE/IEEE 802.11ax/Wi-Fi 6 +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - support BSS color updates +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - various fixes +=C2=A0=C2=A0=C2=A0 * EHT/IEEE 802.11be/Wi-Fi 7 +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - add preliminary support +=C2=A0=C2=A0=C2=A0 * support OpenSSL 3.0 API changes +=C2=A0=C2=A0=C2=A0 * improve EAP-TLS support for TLSv1.3 +=C2=A0=C2=A0=C2=A0 * EAP-SIM/AKA: support IMSI privacy +=C2=A0=C2=A0=C2=A0 * improve mitigation against DoS attacks when PMF is = used +=C2=A0=C2=A0=C2=A0 * improve 4-way handshake operations +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - discard unencrypted EAPOL frames in add= itional cases +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - use Secure=3D1 in message 2 during PTK = rekeying +=C2=A0=C2=A0=C2=A0 * OCV: do not check Frequency Segment 1 Channel Numbe= r for 160 MHz=20 cases +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 to avoid interoperability issues +=C2=A0=C2=A0=C2=A0 * support new SAE AKM suites with variable length key= s +=C2=A0=C2=A0=C2=A0 * support new AKM for 802.1X/EAP with SHA384 +=C2=A0=C2=A0=C2=A0 * improve cross-AKM roaming with driver-based SME/BSS= selection +=C2=A0=C2=A0=C2=A0 * PASN +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - extend support for secure ranging +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - allow PASN implementation to be used wi= th external programs for +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Wi-Fi Aware +=C2=A0=C2=A0=C2=A0 * FT: Use SHA256 to derive PMKID for AKM 00-0F-AC:3 (= FT-EAP) +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - this is based on additional details bei= ng added in the IEEE 802.11 +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 standard +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - the new implementation is not backwards= compatible, but PMKSA +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 caching with FT-EAP was, and = still is, disabled by default +=C2=A0=C2=A0=C2=A0 * support a pregenerated MAC (mac_addr=3D3) as an alt= ernative mechanism +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 for using per-network random MAC addresse= s +=C2=A0=C2=A0=C2=A0 * EAP-PEAP: require Phase 2 authentication by default= (phase2_auth=3D1) +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 to improve security for still unfortunate= ly common invalid +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 configurations that do not set ca_cert +=C2=A0=C2=A0=C2=A0 * extend SCS support for QoS Characteristics +=C2=A0=C2=A0=C2=A0 * extend MSCS support +=C2=A0=C2=A0=C2=A0 * support unsynchronized service discovery (USD) +=C2=A0=C2=A0=C2=A0 * add support for explicit SSID protection in 4-way h= andshake +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (a mitigation for CVE-2023-52424; disable= d by default for now, can be +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 enabled with ssid_protection=3D1) +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - in addition, verify SSID after key setu= p when beacon protection is +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 used +=C2=A0=C2=A0=C2=A0 * fix SAE H2E rejected groups validation to avoid dow= ngrade attacks +=C2=A0=C2=A0=C2=A0 * a large number of other fixes, cleanup, and extensi= ons + =C2=A02022-01-16 - v2.10 =C2=A0=C2=A0=C2=A0=C2=A0 * SAE changes =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - improved protection against side = channel attacks > > Note: > =3D=3D=3D=3D=3D > Patches > 0001-build-Re-enable-options-for-libwpa_client.so-and-wpa.patch, > 0002-Fix-removal-of-wpa_passphrase-on-make-clean.patch, > 0001-Install-wpa_passphrase-when-not-disabled.patch, > 0001-PEAP-client-Update-Phase-2-authentication-requiremen.patch (CVE-20= 23-52160) > are already fixed and hence removing them. > > Signed-off-by: Siddharth Doshi > --- > ...all-wpa_passphrase-when-not-disabled.patch | 33 --- > ...te-Phase-2-authentication-requiremen.patch | 213 -----------------= - > ...options-for-libwpa_client.so-and-wpa.patch | 73 ------ > ...oval-of-wpa_passphrase-on-make-clean.patch | 26 --- > ...plicant_2.10.bb =3D> wpa-supplicant_2.11.bb} | 10 +- > 5 files changed, 3 insertions(+), 352 deletions(-) > delete mode 100644 meta/recipes-connectivity/wpa-supplicant/wpa-suppl= icant/0001-Install-wpa_passphrase-when-not-disabled.patch > delete mode 100644 meta/recipes-connectivity/wpa-supplicant/wpa-suppl= icant/0001-PEAP-client-Update-Phase-2-authentication-requiremen.patch > delete mode 100644 meta/recipes-connectivity/wpa-supplicant/wpa-suppl= icant/0001-build-Re-enable-options-for-libwpa_client.so-and-wpa.patch > delete mode 100644 meta/recipes-connectivity/wpa-supplicant/wpa-suppl= icant/0002-Fix-removal-of-wpa_passphrase-on-make-clean.patch > rename meta/recipes-connectivity/wpa-supplicant/{wpa-supplicant_2.10.= bb =3D> wpa-supplicant_2.11.bb} (90%) > > diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/00= 01-Install-wpa_passphrase-when-not-disabled.patch b/meta/recipes-connecti= vity/wpa-supplicant/wpa-supplicant/0001-Install-wpa_passphrase-when-not-d= isabled.patch > deleted file mode 100644 > index c04c608bde..0000000000 > --- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0001-Inst= all-wpa_passphrase-when-not-disabled.patch > +++ /dev/null > @@ -1,33 +0,0 @@ > -From 57b12a1e43605f71239a21488cb9b541f0751dda Mon Sep 17 00:00:00 2001 > -From: Alex Kiernan > -Date: Thu, 21 Apr 2022 10:15:29 +0100 > -Subject: [PATCH] Install wpa_passphrase when not disabled > - > -As part of fixing CONFIG_NO_WPA_PASSPHRASE, whilst wpa_passphrase gets > -built, its not installed during `make install`. > - > -Fixes: cb41c214b78d ("build: Re-enable options for libwpa_client.so an= d wpa_passphrase") > -Signed-off-by: Alex Kiernan > -Signed-off-by: Alex Kiernan > -Upstream-Status: Submitted [http://lists.infradead.org/pipermail/hosta= p/2022-April/040448.html] > ---- > - wpa_supplicant/Makefile | 3 +++ > - 1 file changed, 3 insertions(+) > - > -diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile > -index 0bab313f2355..12787c0c7d0f 100644 > ---- a/wpa_supplicant/Makefile > -+++ b/wpa_supplicant/Makefile > -@@ -73,6 +73,9 @@ $(DESTDIR)$(BINDIR)/%: % > - > - install: $(addprefix $(DESTDIR)$(BINDIR)/,$(BINALL)) > - $(MAKE) -C ../src install > -+ifndef CONFIG_NO_WPA_PASSPHRASE > -+ install -D wpa_passphrase $(DESTDIR)/$(BINDIR)/wpa_passphrase > -+endif > - ifdef CONFIG_BUILD_WPA_CLIENT_SO > - install -m 0644 -D libwpa_client.so $(DESTDIR)/$(LIBDIR)/libwpa_clie= nt.so > - install -m 0644 -D ../src/common/wpa_ctrl.h $(DESTDIR)/$(INCDIR)/wpa= _ctrl.h > --- > -2.35.1 > - > diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/00= 01-PEAP-client-Update-Phase-2-authentication-requiremen.patch b/meta/reci= pes-connectivity/wpa-supplicant/wpa-supplicant/0001-PEAP-client-Update-Ph= ase-2-authentication-requiremen.patch > deleted file mode 100644 > index 620560d3c7..0000000000 > --- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0001-PEAP= -client-Update-Phase-2-authentication-requiremen.patch > +++ /dev/null > @@ -1,213 +0,0 @@ > -From f6f7cead3661ceeef54b21f7e799c0afc98537ec Mon Sep 17 00:00:00 2001 > -From: Jouni Malinen > -Date: Sat, 8 Jul 2023 19:55:32 +0300 > -Subject: [PATCH] PEAP client: Update Phase 2 authentication requiremen= ts > - > -The previous PEAP client behavior allowed the server to skip Phase 2 > -authentication with the expectation that the server was authenticated > -during Phase 1 through TLS server certificate validation. Various PEAP > -specifications are not exactly clear on what the behavior on this fron= t > -is supposed to be and as such, this ended up being more flexible than > -the TTLS/FAST/TEAP cases. However, this is not really ideal when > -unfortunately common misconfiguration of PEAP is used in deployed > -devices where the server trust root (ca_cert) is not configured or the > -user has an easy option for allowing this validation step to be skippe= d. > - > -Change the default PEAP client behavior to be to require Phase 2 > -authentication to be successfully completed for cases where TLS sessio= n > -resumption is not used and the client certificate has not been > -configured. Those two exceptions are the main cases where a deployed > -authentication server might skip Phase 2 and as such, where a more > -strict default behavior could result in undesired interoperability > -issues. Requiring Phase 2 authentication will end up disabling TLS > -session resumption automatically to avoid interoperability issues. > - > -Allow Phase 2 authentication behavior to be configured with a new phas= e1 > -configuration parameter option: > -'phase2_auth' option can be used to control Phase 2 (i.e., within TLS > -tunnel) behavior for PEAP: > - * 0 =3D do not require Phase 2 authentication > - * 1 =3D require Phase 2 authentication when client certificate > - (private_key/client_cert) is no used and TLS session resumption was > - not used (default) > - * 2 =3D require Phase 2 authentication in all cases > - > -Signed-off-by: Jouni Malinen > - > -CVE: CVE-2023-52160 > -Upstream-Status: Backport [https://w1.fi/cgit/hostap/commit/?id=3D8e64= 85a1bcb0baffdea9e55255a81270b768439c] > - > -Signed-off-by: Claus Stovgaard > - > ---- > - src/eap_peer/eap_config.h | 8 ++++++ > - src/eap_peer/eap_peap.c | 40 +++++++++++++++++++++++++++--= - > - src/eap_peer/eap_tls_common.c | 6 +++++ > - src/eap_peer/eap_tls_common.h | 5 ++++ > - wpa_supplicant/wpa_supplicant.conf | 7 ++++++ > - 5 files changed, 63 insertions(+), 3 deletions(-) > - > -diff --git a/src/eap_peer/eap_config.h b/src/eap_peer/eap_config.h > -index 3238f74..047eec2 100644 > ---- a/src/eap_peer/eap_config.h > -+++ b/src/eap_peer/eap_config.h > -@@ -469,6 +469,14 @@ struct eap_peer_config { > - * 1 =3D use cryptobinding if server supports it > - * 2 =3D require cryptobinding > - * > -+ * phase2_auth option can be used to control Phase 2 (i.e., within T= LS > -+ * tunnel) behavior for PEAP: > -+ * 0 =3D do not require Phase 2 authentication > -+ * 1 =3D require Phase 2 authentication when client certificate > -+ * (private_key/client_cert) is no used and TLS session resumption = was > -+ * not used (default) > -+ * 2 =3D require Phase 2 authentication in all cases > -+ * > - * EAP-WSC (WPS) uses following options: pin=3DDevice_Password and > - * uuid=3DDevice_UUID > - * > -diff --git a/src/eap_peer/eap_peap.c b/src/eap_peer/eap_peap.c > -index 12e30df..6080697 100644 > ---- a/src/eap_peer/eap_peap.c > -+++ b/src/eap_peer/eap_peap.c > -@@ -67,6 +67,7 @@ struct eap_peap_data { > - u8 cmk[20]; > - int soh; /* Whether IF-TNCCS-SOH (Statement of Health; Microsoft NAP= ) > - * is enabled. */ > -+ enum { NO_AUTH, FOR_INITIAL, ALWAYS } phase2_auth; > - }; > - > - > -@@ -114,6 +115,19 @@ static void eap_peap_parse_phase1(struct eap_peap= _data *data, > - wpa_printf(MSG_DEBUG, "EAP-PEAP: Require cryptobinding"); > - } > - > -+ if (os_strstr(phase1, "phase2_auth=3D0")) { > -+ data->phase2_auth =3D NO_AUTH; > -+ wpa_printf(MSG_DEBUG, > -+ "EAP-PEAP: Do not require Phase 2 authentication"); > -+ } else if (os_strstr(phase1, "phase2_auth=3D1")) { > -+ data->phase2_auth =3D FOR_INITIAL; > -+ wpa_printf(MSG_DEBUG, > -+ "EAP-PEAP: Require Phase 2 authentication for initial connectio= n"); > -+ } else if (os_strstr(phase1, "phase2_auth=3D2")) { > -+ data->phase2_auth =3D ALWAYS; > -+ wpa_printf(MSG_DEBUG, > -+ "EAP-PEAP: Require Phase 2 authentication for all cases"); > -+ } > - #ifdef EAP_TNC > - if (os_strstr(phase1, "tnc=3Dsoh2")) { > - data->soh =3D 2; > -@@ -142,6 +156,7 @@ static void * eap_peap_init(struct eap_sm *sm) > - data->force_peap_version =3D -1; > - data->peap_outer_success =3D 2; > - data->crypto_binding =3D OPTIONAL_BINDING; > -+ data->phase2_auth =3D FOR_INITIAL; > - > - if (config && config->phase1) > - eap_peap_parse_phase1(data, config->phase1); > -@@ -454,6 +469,20 @@ static int eap_tlv_validate_cryptobinding(struct = eap_sm *sm, > - } > - > - > -+static bool peap_phase2_sufficient(struct eap_sm *sm, > -+ struct eap_peap_data *data) > -+{ > -+ if ((data->phase2_auth =3D=3D ALWAYS || > -+ (data->phase2_auth =3D=3D FOR_INITIAL && > -+ !tls_connection_resumed(sm->ssl_ctx, data->ssl.conn) && > -+ !data->ssl.client_cert_conf) || > -+ data->phase2_eap_started) && > -+ !data->phase2_eap_success) > -+ return false; > -+ return true; > -+} > -+ > -+ > - /** > - * eap_tlv_process - Process a received EAP-TLV message and generate = a response > - * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init(= ) > -@@ -568,6 +597,11 @@ static int eap_tlv_process(struct eap_sm *sm, str= uct eap_peap_data *data, > - " - force failed Phase 2"); > - resp_status =3D EAP_TLV_RESULT_FAILURE; > - ret->decision =3D DECISION_FAIL; > -+ } else if (!peap_phase2_sufficient(sm, data)) { > -+ wpa_printf(MSG_INFO, > -+ "EAP-PEAP: Server indicated Phase 2 success, but sufficient P= hase 2 authentication has not been completed"); > -+ resp_status =3D EAP_TLV_RESULT_FAILURE; > -+ ret->decision =3D DECISION_FAIL; > - } else { > - resp_status =3D EAP_TLV_RESULT_SUCCESS; > - ret->decision =3D DECISION_UNCOND_SUCC; > -@@ -887,8 +921,7 @@ continue_req: > - /* EAP-Success within TLS tunnel is used to indicate > - * shutdown of the TLS channel. The authentication has > - * been completed. */ > -- if (data->phase2_eap_started && > -- !data->phase2_eap_success) { > -+ if (!peap_phase2_sufficient(sm, data)) { > - wpa_printf(MSG_DEBUG, "EAP-PEAP: Phase 2 " > - "Success used to indicate success, " > - "but Phase 2 EAP was not yet " > -@@ -1199,8 +1232,9 @@ static struct wpabuf * eap_peap_process(struct e= ap_sm *sm, void *priv, > - static bool eap_peap_has_reauth_data(struct eap_sm *sm, void *priv) > - { > - struct eap_peap_data *data =3D priv; > -+ > - return tls_connection_established(sm->ssl_ctx, data->ssl.conn) && > -- data->phase2_success; > -+ data->phase2_success && data->phase2_auth !=3D ALWAYS; > - } > - > - > -diff --git a/src/eap_peer/eap_tls_common.c b/src/eap_peer/eap_tls_comm= on.c > -index c1837db..a53eeb1 100644 > ---- a/src/eap_peer/eap_tls_common.c > -+++ b/src/eap_peer/eap_tls_common.c > -@@ -239,6 +239,12 @@ static int eap_tls_params_from_conf(struct eap_sm= *sm, > - > - sm->ext_cert_check =3D !!(params->flags & TLS_CONN_EXT_CERT_CHECK); > - > -+ if (!phase2) > -+ data->client_cert_conf =3D params->client_cert || > -+ params->client_cert_blob || > -+ params->private_key || > -+ params->private_key_blob; > -+ > - return 0; > - } > - > -diff --git a/src/eap_peer/eap_tls_common.h b/src/eap_peer/eap_tls_comm= on.h > -index 9ac0012..3348634 100644 > ---- a/src/eap_peer/eap_tls_common.h > -+++ b/src/eap_peer/eap_tls_common.h > -@@ -79,6 +79,11 @@ struct eap_ssl_data { > - * tls_v13 - Whether TLS v1.3 or newer is used > - */ > - int tls_v13; > -+ > -+ /** > -+ * client_cert_conf: Whether client certificate has been configured > -+ */ > -+ bool client_cert_conf; > - }; > - > - > -diff --git a/wpa_supplicant/wpa_supplicant.conf b/wpa_supplicant/wpa_s= upplicant.conf > -index 6619d6b..d63f73c 100644 > ---- a/wpa_supplicant/wpa_supplicant.conf > -+++ b/wpa_supplicant/wpa_supplicant.conf > -@@ -1321,6 +1321,13 @@ fast_reauth=3D1 > - # * 0 =3D do not use cryptobinding (default) > - # * 1 =3D use cryptobinding if server supports it > - # * 2 =3D require cryptobinding > -+# 'phase2_auth' option can be used to control Phase 2 (i.e., within T= LS > -+# tunnel) behavior for PEAP: > -+# * 0 =3D do not require Phase 2 authentication > -+# * 1 =3D require Phase 2 authentication when client certificate > -+# (private_key/client_cert) is no used and TLS session resumption = was > -+# not used (default) > -+# * 2 =3D require Phase 2 authentication in all cases > - # EAP-WSC (WPS) uses following options: pin=3D or > - # pbc=3D1. > - # > diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/00= 01-build-Re-enable-options-for-libwpa_client.so-and-wpa.patch b/meta/reci= pes-connectivity/wpa-supplicant/wpa-supplicant/0001-build-Re-enable-optio= ns-for-libwpa_client.so-and-wpa.patch > deleted file mode 100644 > index 6e930fc98d..0000000000 > --- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0001-buil= d-Re-enable-options-for-libwpa_client.so-and-wpa.patch > +++ /dev/null > @@ -1,73 +0,0 @@ > -From cb41c214b78d6df187a31950342e48a403dbd769 Mon Sep 17 00:00:00 2001 > -From: Sergey Matyukevich > -Date: Tue, 22 Feb 2022 11:52:19 +0300 > -Subject: [PATCH 1/2] build: Re-enable options for libwpa_client.so and > - wpa_passphrase > - > -Commit a41a29192e5d ("build: Pull common fragments into a build.rules > -file") introduced a regression into wpa_supplicant build process. The > -build target libwpa_client.so is not built regardless of whether the > -option CONFIG_BUILD_WPA_CLIENT_SO is set or not. This happens because > -this config option is used before it is imported from the configuratio= n > -file. Moving its use after including build.rules does not help: the > -variable ALL is processed by build.rules and further changes are not > -applied. Similarly, option CONFIG_NO_WPA_PASSPHRASE also does not work > -as expected: wpa_passphrase is always built regardless of whether the > -option is set or not. > - > -Re-enable these options by adding both build targets to _all > -dependencies. > - > -Fixes: a41a29192e5d ("build: Pull common fragments into a build.rules = file") > -Signed-off-by: Sergey Matyukevich > -Upstream-Status: Backport > -Signed-off-by: Alex Kiernan > -Signed-off-by: Alex Kiernan > ---- > - wpa_supplicant/Makefile | 19 ++++++++++++------- > - 1 file changed, 12 insertions(+), 7 deletions(-) > - > -diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile > -index cb66defac7c8..c456825ae75f 100644 > ---- a/wpa_supplicant/Makefile > -+++ b/wpa_supplicant/Makefile > -@@ -1,24 +1,29 @@ > - BINALL=3Dwpa_supplicant wpa_cli > - > --ifndef CONFIG_NO_WPA_PASSPHRASE > --BINALL +=3D wpa_passphrase > --endif > -- > - ALL =3D $(BINALL) > - ALL +=3D systemd/wpa_supplicant.service > - ALL +=3Dsystemd/wpa_supplicant@.service > - ALL +=3Dsystemd/wpa_supplicant-nl80211@.service > - ALL +=3Dsystemd/wpa_supplicant-wired@.service > - ALL +=3D dbus/fi.w1.wpa_supplicant1.service > --ifdef CONFIG_BUILD_WPA_CLIENT_SO > --ALL +=3D libwpa_client.so > --endif > - > - EXTRA_TARGETS=3Ddynamic_eap_methods > - > - CONFIG_FILE=3D.config > - include ../src/build.rules > - > -+ifdef CONFIG_BUILD_WPA_CLIENT_SO > -+# add the dependency this way to allow CONFIG_BUILD_WPA_CLIENT_SO > -+# being set in the config which is read by build.rules > -+_all: libwpa_client.so > -+endif > -+ > -+ifndef CONFIG_NO_WPA_PASSPHRASE > -+# add the dependency this way to allow CONFIG_NO_WPA_PASSPHRASE > -+# being set in the config which is read by build.rules > -+_all: wpa_passphrase > -+endif > -+ > - ifdef LIBS > - # If LIBS is set with some global build system defaults, clone those = for > - # LIBS_c and LIBS_p to cover wpa_passphrase and wpa_cli as well. > --- > -2.35.1 > - > diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/00= 02-Fix-removal-of-wpa_passphrase-on-make-clean.patch b/meta/recipes-conne= ctivity/wpa-supplicant/wpa-supplicant/0002-Fix-removal-of-wpa_passphrase-= on-make-clean.patch > deleted file mode 100644 > index 53b0fcdf53..0000000000 > --- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0002-Fix-= removal-of-wpa_passphrase-on-make-clean.patch > +++ /dev/null > @@ -1,26 +0,0 @@ > -From d001b301ba7987f4b39453a211631b85c48f2ff8 Mon Sep 17 00:00:00 2001 > -From: Jouni Malinen > -Date: Thu, 3 Mar 2022 13:26:42 +0200 > -Subject: [PATCH 2/2] Fix removal of wpa_passphrase on 'make clean' > - > -Fixes: 0430bc8267b4 ("build: Add a common-clean target") > -Signed-off-by: Jouni Malinen > -Upstream-Status: Backport > -Signed-off-by: Alex Kiernan > -Signed-off-by: Alex Kiernan > ---- > - wpa_supplicant/Makefile | 1 + > - 1 file changed, 1 insertion(+) > - > -diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile > -index c456825ae75f..4b4688931b1d 100644 > ---- a/wpa_supplicant/Makefile > -+++ b/wpa_supplicant/Makefile > -@@ -2077,3 +2077,4 @@ clean: common-clean > - rm -f libwpa_client.a > - rm -f libwpa_client.so > - rm -f libwpa_test1 libwpa_test2 > -+ rm -f wpa_passphrase > --- > -2.35.1 > - > diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.= 10.bb b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb > similarity index 90% > rename from meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.1= 0.bb > rename to meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.= bb > index 8113bcab09..321dedc58a 100644 > --- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb > +++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb > @@ -5,8 +5,8 @@ BUGTRACKER =3D"http://w1.fi/security/" > SECTION =3D "network" > LICENSE =3D "BSD-3-Clause" > LIC_FILES_CHKSUM =3D"file://COPYING;md5=3D5ebcb90236d1ad640558c3d3cd3= 035df \ -=20 > file://README;beginline=3D1;endline=3D56;md5=3De3d2f6c2948991e37c1ca496= 0de84747=20 > \ -=20 > file://wpa_supplicant/wpa_supplicant.c;beginline=3D1;endline=3D12;md5=3D= 76306a95306fee9a976b0ac1be70f705" > +file://README;beginline=3D1;endline=3D56;md5=3D6e4b25e7d74bfc44a32ba37= bdf5210a6 \ > +file://wpa_supplicant/wpa_supplicant.c;beginline=3D1;endline=3D12;md5=3D= f5ccd57ea91e04800edb88267bf8eae4" > =20 > DEPENDS =3D "dbus libnl" > =20 > @@ -15,12 +15,8 @@ SRC_URI =3D"http://w1.fi/releases/wpa_supplicant-${P= V}.tar.gz \=20 > file://wpa_supplicant.conf \ file://wpa_supplicant.conf-sane \=20 > file://99_wpa_supplicant \ -=20 > file://0001-build-Re-enable-options-for-libwpa_client.so-and-wpa.patch=20 > \ - file://0002-Fix-removal-of-wpa_passphrase-on-make-clean.patch \ -=20 > file://0001-Install-wpa_passphrase-when-not-disabled.patch \ -=20 > file://0001-PEAP-client-Update-Phase-2-authentication-requiremen.patch = \ " > -SRC_URI[sha256sum] =3D "20df7ae5154b3830355f8ab4269123a87affdea59fe74f= e9292a91d0d7e17b2f" > +SRC_URI[sha256sum] =3D "912ea06f74e30a8e36fbb68064d6cdff218d8d591db0fc= 5d75dee6c81ac7fc0a" > =20 > S =3D "${WORKDIR}/wpa_supplicant-${PV}" > =20 > > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- > Links: You receive all messages sent to this group. > View/Reply Online (#203657):https://lists.openembedded.org/g/openembedd= ed-core/message/203657 > Mute This Topic:https://lists.openembedded.org/mt/108040776/3616765 > Group Owner:openembedded-core+owner@lists.openembedded.org > Unsubscribe:https://lists.openembedded.org/g/openembedded-core/unsub [r= andy.macleod@windriver.com] > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- > --=20 # Randy MacLeod # Wind River Linux --------------YSDDcjQE4Ni0JhLBVmnLWAPq Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by mx0a-0064b401.pphosted.com id 47N0fVRS026506
For scarthgap, it's good but not mandatory to have Steve on the To/CC list.

On 2024-08-22 12:17 p.m., Siddharth Doshi via lists.openembedded.org wrote:
From: Siddharth Doshi <sdoshi=
@mvista.com>

License-Update:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
- README: Change in copyright years as per https://w1.fi/cgit/hostap/commit/README?id=3Dd=
945ddd368085f255e68328f2d3b020ceea359af
- wpa_supplicant/wpa_supplicant.c: Change in copyright years as per https://w1.fi/cgit/hostap/commit/wpa_supplicant/wpa_supplicant.c?id=3D=
d945ddd368085f255e68328f2d3b020ceea359af

CVE's Fixed:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
- CVE-2024-5290 wpa_supplicant: wpa_supplicant loading arbitrary shared o=
bjects allowing privilege escalation
- CVE-2023-52160 wpa_supplicant: potential authorization bypass

Changes between 2.10 -> 2.11:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
https://w1.fi/cgit/hostap/commit/wpa_supplicant/ChangeLog?id=3Dd945ddd3=
68085f255e68328f2d3b020ceea359af


Hello Siddharth,


This update make sense for the master brnanch but likely not for scarthgap unless you can show that
this is a bug fix only release. 


It certainly does not look like a small bug fix only update based on:

=E2=9D=AF git diff hostap_2_10 hostap_2_11 | diffstat | tail -1  534 files changed, 85965 insertions(+), 16847 deletions(-)

=E2=9D=AF git log --oneline hostap_2_10..hostap_2_11 | wc -l
2295

and the hostap and wpa-supplicant ChangeLogs which mention adding features below (1).


Since the repo ( git://w1.fi/srv/git/hostap.git ) doesn't have a stable branch for 2.10:

=E2=9D=AF git branch -a
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/android-jb
  remotes/origin/android-kk
  remotes/origin/android-l
  remotes/origin/android-m
  remotes/origin/aosp-jb
  remotes/origin/aosp-kk
  remotes/origin/main
  remotes/origin/master
  remotes/origin/pending


you'll have to backport any CVE fixes that you're interested in unless
someone explains why this is a sensible update for scarthgap.

Thanks,

../Randy


1)


=E2=9D=AF git diff hostap_2_10 hostap_2_11 hostapd/ChangeLog | cat=
diff --git a/hostapd/ChangeLog b/hostapd/ChangeLog
index 279298e4d..1c8240d33 100644
--- a/hostapd/ChangeLog
+++ b/hostapd/ChangeLog
@@ -1,5 +1,42 @@
 ChangeLog for hostapd
 
+2024-07-20 - v2.11
+    * Wi-Fi Easy Connect
+      - add support for DPP release 3
+      - allow Configurator parameters to = be provided during config exchange
+    * HE/IEEE 802.11ax/Wi-Fi 6
+      - various fixes
+    * EHT/IEEE 802.11be/Wi-Fi 7
+      - add preliminary support
+    * SAE: add support for fetching the password fr= om a RADIUS server
+    * support OpenSSL 3.0 API changes
+    * support background radar detection and CAC wi= th some additional
+      drivers
+    * support RADIUS ACL/PSK check during 4-way han= dshake (wpa_psk_radius=3D3)
+    * EAP-SIM/AKA: support IMSI privacy
+    * improve 4-way handshake operations
+      - use Secure=3D1 in message 3 durin= g PTK rekeying
+    * OCV: do not check Frequency Segment 1 Channel= Number for 160 MHz cases
+      to avoid interoperability issues +    * support new SAE AKM suites with variable leng= th keys
+    * support new AKM for 802.1X/EAP with SHA384 +    * extend PASN support for secure ranging
+    * FT: Use SHA256 to derive PMKID for AKM 00-0F-= AC:3 (FT-EAP)
+      - this is based on additional detai= ls being added in the IEEE 802.11
+        standard
+      - the new implementation is not bac= kwards compatible
+    * improved ACS to cover additional channel type= s/bandwidths
+    * extended Multiple BSSID support
+    * fix beacon protection with FT protocol (incor= rect BIGTK was provided)
+    * support unsynchronized service discovery (USD= )
+    * add preliminary support for RADIUS/TLS
+    * add support for explicit SSID protection in 4= -way handshake
+      (a mitigation for CVE-2023-52424; d= isabled by default for now, can be
+      enabled with ssid_protection=3D1) +    * fix SAE H2E rejected groups validation to avo= id downgrade attacks
+    * use stricter validation for some RADIUS messa= ges
+    * a large number of other fixes, cleanup, and e= xtensions
+
 2022-01-16 - v2.10
     * SAE changes
       - improved protection against = side channel attacks


=E2=9D=AF  git diff hostap_2_10 hostap_2_11 wpa_supplicant/Ch= angeLog | cat
diff --git a/wpa_supplicant/ChangeLog b/wpa_supplicant/ChangeLog index efcc6cd9c..3f4162eb0 100644
--- a/wpa_supplicant/ChangeLog
+++ b/wpa_supplicant/ChangeLog
@@ -1,5 +1,55 @@
 ChangeLog for wpa_supplicant
 
+2024-07-20 - v2.11
+    * Wi-Fi Easy Connect
+      - add support for DPP release 3
+      - allow Configurator parameters to = be provided during config exchange
+    * MACsec
+      - add support for GCM-AES-256 ciphe= r suite
+      - remove incorrect EAP Session-Id l= ength constraint
+      - add hardware offload support for = additional drivers
+    * HE/IEEE 802.11ax/Wi-Fi 6
+      - support BSS color updates
+      - various fixes
+    * EHT/IEEE 802.11be/Wi-Fi 7
+      - add preliminary support
+    * support OpenSSL 3.0 API changes
+    * improve EAP-TLS support for TLSv1.3
+    * EAP-SIM/AKA: support IMSI privacy
+    * improve mitigation against DoS attacks when P= MF is used
+    * improve 4-way handshake operations
+      - discard unencrypted EAPOL frames = in additional cases
+      - use Secure=3D1 in message 2 durin= g PTK rekeying
+    * OCV: do not check Frequency Segment 1 Channel= Number for 160 MHz cases
+      to avoid interoperability issues +    * support new SAE AKM suites with variable leng= th keys
+    * support new AKM for 802.1X/EAP with SHA384 +    * improve cross-AKM roaming with driver-based S= ME/BSS selection
+    * PASN
+      - extend support for secure ranging=
+      - allow PASN implementation to be u= sed with external programs for
+        Wi-Fi Aware
+    * FT: Use SHA256 to derive PMKID for AKM 00-0F-= AC:3 (FT-EAP)
+      - this is based on additional detai= ls being added in the IEEE 802.11
+        standard
+      - the new implementation is not bac= kwards compatible, but PMKSA
+        caching with FT-EAP was= , and still is, disabled by default
+    * support a pregenerated MAC (mac_addr=3D3) as = an alternative mechanism
+      for using per-network random MAC ad= dresses
+    * EAP-PEAP: require Phase 2 authentication by d= efault (phase2_auth=3D1)
+      to improve security for still unfor= tunately common invalid
+      configurations that do not set ca_c= ert
+    * extend SCS support for QoS Characteristics +    * extend MSCS support
+    * support unsynchronized service discovery (USD= )
+    * add support for explicit SSID protection in 4= -way handshake
+      (a mitigation for CVE-2023-52424; d= isabled by default for now, can be
+      enabled with ssid_protection=3D1) +      - in addition, verify SSID after ke= y setup when beacon protection is
+        used
+    * fix SAE H2E rejected groups validation to avo= id downgrade attacks
+    * a large number of other fixes, cleanup, and e= xtensions
+
 2022-01-16 - v2.10
     * SAE changes
       - improved protection against = side channel attacks



Note:
=3D=3D=3D=3D=3D
Patches
0001-build-Re-enable-options-for-libwpa_client.so-and-wpa.patch,
0002-Fix-removal-of-wpa_passphrase-on-make-clean.patch,
0001-Install-wpa_passphrase-when-not-disabled.patch,
0001-PEAP-client-Update-Phase-2-authentication-requiremen.patch (CVE-2023=
-52160)
are already fixed and hence removing them.

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
---
 ...all-wpa_passphrase-when-not-disabled.patch |  33 ---
 ...te-Phase-2-authentication-requiremen.patch | 213 ------------------
 ...options-for-libwpa_client.so-and-wpa.patch |  73 ------
 ...oval-of-wpa_passphrase-on-make-clean.patch |  26 ---
 ...plicant_2.10.bb =3D> wpa-supplicant_2.11.bb} |  10 +-
 5 files changed, 3 insertions(+), 352 deletions(-)
 delete mode 100644 meta/recipes-connectivity/wpa-supplicant/wpa-supplica=
nt/0001-Install-wpa_passphrase-when-not-disabled.patch
 delete mode 100644 meta/recipes-connectivity/wpa-supplicant/wpa-supplica=
nt/0001-PEAP-client-Update-Phase-2-authentication-requiremen.patch
 delete mode 100644 meta/recipes-connectivity/wpa-supplicant/wpa-supplica=
nt/0001-build-Re-enable-options-for-libwpa_client.so-and-wpa.patch
 delete mode 100644 meta/recipes-connectivity/wpa-supplicant/wpa-supplica=
nt/0002-Fix-removal-of-wpa_passphrase-on-make-clean.patch
 rename meta/recipes-connectivity/wpa-supplicant/{wpa-supplicant_2.10.bb =
=3D> wpa-supplicant_2.11.bb} (90%)

diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0001=
-Install-wpa_passphrase-when-not-disabled.patch b/meta/recipes-connectivi=
ty/wpa-supplicant/wpa-supplicant/0001-Install-wpa_passphrase-when-not-dis=
abled.patch
deleted file mode 100644
index c04c608bde..0000000000
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0001-Instal=
l-wpa_passphrase-when-not-disabled.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 57b12a1e43605f71239a21488cb9b541f0751dda Mon Sep 17 00:00:00 2001
-From: Alex Kiernan <alexk@zuma.ai>
-Date: Thu, 21 Apr 2022 10:15:29 +0100
-Subject: [PATCH] Install wpa_passphrase when not disabled
-
-As part of fixing CONFIG_NO_WPA_PASSPHRASE, whilst wpa_passphrase gets
-built, its not installed during `make install`.
-
-Fixes: cb41c214b78d ("build: Re-enable options for libwpa_client.so=
 and wpa_passphrase")
-Signed-off-by: Alex Kiernan <alexk@zuma.ai>
-Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
-Upstream-Status: Submitted [http:/=
/lists.infradead.org/pipermail/hostap/2022-April/040448.html]
----
- wpa_supplicant/Makefile | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
-index 0bab313f2355..12787c0c7d0f 100644
---- a/wpa_supplicant/Makefile
-+++ b/wpa_supplicant/Makefile
-@@ -73,6 +73,9 @@ $(DESTDIR)$(BINDIR)/%: %
-=20
- install: $(addprefix $(DESTDIR)$(BINDIR)/,$(BINALL))
- 	$(MAKE) -C ../src install
-+ifndef CONFIG_NO_WPA_PASSPHRASE
-+	install -D wpa_passphrase $(DESTDIR)/$(BINDIR)/wpa_passphrase
-+endif
- ifdef CONFIG_BUILD_WPA_CLIENT_SO
- 	install -m 0644 -D libwpa_client.so $(DESTDIR)/$(LIBDIR)/libwpa_client=
.so
- 	install -m 0644 -D ../src/common/wpa_ctrl.h $(DESTDIR)/$(INCDIR)/wpa_c=
trl.h
---=20
-2.35.1
-
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0001=
-PEAP-client-Update-Phase-2-authentication-requiremen.patch b/meta/recipe=
s-connectivity/wpa-supplicant/wpa-supplicant/0001-PEAP-client-Update-Phas=
e-2-authentication-requiremen.patch
deleted file mode 100644
index 620560d3c7..0000000000
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0001-PEAP-c=
lient-Update-Phase-2-authentication-requiremen.patch
+++ /dev/null
@@ -1,213 +0,0 @@
-From f6f7cead3661ceeef54b21f7e799c0afc98537ec Mon Sep 17 00:00:00 2001
-From: Jouni Malinen <j@w1.fi>
-Date: Sat, 8 Jul 2023 19:55:32 +0300
-Subject: [PATCH] PEAP client: Update Phase 2 authentication requirements
-
-The previous PEAP client behavior allowed the server to skip Phase 2
-authentication with the expectation that the server was authenticated
-during Phase 1 through TLS server certificate validation. Various PEAP
-specifications are not exactly clear on what the behavior on this front
-is supposed to be and as such, this ended up being more flexible than
-the TTLS/FAST/TEAP cases. However, this is not really ideal when
-unfortunately common misconfiguration of PEAP is used in deployed
-devices where the server trust root (ca_cert) is not configured or the
-user has an easy option for allowing this validation step to be skipped.
-
-Change the default PEAP client behavior to be to require Phase 2
-authentication to be successfully completed for cases where TLS session
-resumption is not used and the client certificate has not been
-configured. Those two exceptions are the main cases where a deployed
-authentication server might skip Phase 2 and as such, where a more
-strict default behavior could result in undesired interoperability
-issues. Requiring Phase 2 authentication will end up disabling TLS
-session resumption automatically to avoid interoperability issues.
-
-Allow Phase 2 authentication behavior to be configured with a new phase1
-configuration parameter option:
-'phase2_auth' option can be used to control Phase 2 (i.e., within TLS
-tunnel) behavior for PEAP:
- * 0 =3D do not require Phase 2 authentication
- * 1 =3D require Phase 2 authentication when client certificate
-   (private_key/client_cert) is no used and TLS session resumption was
-   not used (default)
- * 2 =3D require Phase 2 authentication in all cases
-
-Signed-off-by: Jouni Malinen <j@w1.fi>
-
-CVE: CVE-2023-52160
-Upstream-Status: Backport [https://w1.fi/cgit/hostap/commit/?id=3D8e6485a1bcb0baffdea9e55255a8=
1270b768439c]
-
-Signed-off-by: Claus Stovgaard <claus.stovgaard@gmail.com>
-
----
- src/eap_peer/eap_config.h          |  8 ++++++
- src/eap_peer/eap_peap.c            | 40 +++++++++++++++++++++++++++---
- src/eap_peer/eap_tls_common.c      |  6 +++++
- src/eap_peer/eap_tls_common.h      |  5 ++++
- wpa_supplicant/wpa_supplicant.conf |  7 ++++++
- 5 files changed, 63 insertions(+), 3 deletions(-)
-
-diff --git a/src/eap_peer/eap_config.h b/src/eap_peer/eap_config.h
-index 3238f74..047eec2 100644
---- a/src/eap_peer/eap_config.h
-+++ b/src/eap_peer/eap_config.h
-@@ -469,6 +469,14 @@ struct eap_peer_config {
- 	 * 1 =3D use cryptobinding if server supports it
- 	 * 2 =3D require cryptobinding
- 	 *
-+	 * phase2_auth option can be used to control Phase 2 (i.e., within TLS
-+	 * tunnel) behavior for PEAP:
-+	 * 0 =3D do not require Phase 2 authentication
-+	 * 1 =3D require Phase 2 authentication when client certificate
-+	 *  (private_key/client_cert) is no used and TLS session resumption wa=
s
-+	 *  not used (default)
-+	 * 2 =3D require Phase 2 authentication in all cases
-+	 *
- 	 * EAP-WSC (WPS) uses following options: pin=3DDevice_Password and
- 	 * uuid=3DDevice_UUID
- 	 *
-diff --git a/src/eap_peer/eap_peap.c b/src/eap_peer/eap_peap.c
-index 12e30df..6080697 100644
---- a/src/eap_peer/eap_peap.c
-+++ b/src/eap_peer/eap_peap.c
-@@ -67,6 +67,7 @@ struct eap_peap_data {
- 	u8 cmk[20];
- 	int soh; /* Whether IF-TNCCS-SOH (Statement of Health; Microsoft NAP)
- 		  * is enabled. */
-+	enum { NO_AUTH, FOR_INITIAL, ALWAYS } phase2_auth;
- };
-=20
-=20
-@@ -114,6 +115,19 @@ static void eap_peap_parse_phase1(struct eap_peap_d=
ata *data,
- 		wpa_printf(MSG_DEBUG, "EAP-PEAP: Require cryptobinding");
- 	}
-=20
-+	if (os_strstr(phase1, "phase2_auth=3D0")) {
-+		data->phase2_auth =3D NO_AUTH;
-+		wpa_printf(MSG_DEBUG,
-+			   "EAP-PEAP: Do not require Phase 2 authentication");
-+	} else if (os_strstr(phase1, "phase2_auth=3D1")) {
-+		data->phase2_auth =3D FOR_INITIAL;
-+		wpa_printf(MSG_DEBUG,
-+			   "EAP-PEAP: Require Phase 2 authentication for initial connec=
tion");
-+	} else if (os_strstr(phase1, "phase2_auth=3D2")) {
-+		data->phase2_auth =3D ALWAYS;
-+		wpa_printf(MSG_DEBUG,
-+			   "EAP-PEAP: Require Phase 2 authentication for all cases"=
;);
-+	}
- #ifdef EAP_TNC
- 	if (os_strstr(phase1, "tnc=3Dsoh2")) {
- 		data->soh =3D 2;
-@@ -142,6 +156,7 @@ static void * eap_peap_init(struct eap_sm *sm)
- 	data->force_peap_version =3D -1;
- 	data->peap_outer_success =3D 2;
- 	data->crypto_binding =3D OPTIONAL_BINDING;
-+	data->phase2_auth =3D FOR_INITIAL;
-=20
- 	if (config && config->phase1)
- 		eap_peap_parse_phase1(data, config->phase1);
-@@ -454,6 +469,20 @@ static int eap_tlv_validate_cryptobinding(struct ea=
p_sm *sm,
- }
-=20
-=20
-+static bool peap_phase2_sufficient(struct eap_sm *sm,
-+				   struct eap_peap_data *data)
-+{
-+	if ((data->phase2_auth =3D=3D ALWAYS ||
-+	     (data->phase2_auth =3D=3D FOR_INITIAL &&
-+	      !tls_connection_resumed(sm->ssl_ctx, data->ssl.conn) &=
&
-+	      !data->ssl.client_cert_conf) ||
-+	     data->phase2_eap_started) &&
-+	    !data->phase2_eap_success)
-+		return false;
-+	return true;
-+}
-+
-+
- /**
-  * eap_tlv_process - Process a received EAP-TLV message and generate a =
response
-  * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init()
-@@ -568,6 +597,11 @@ static int eap_tlv_process(struct eap_sm *sm, struc=
t eap_peap_data *data,
- 					   " - force failed Phase 2");
- 				resp_status =3D EAP_TLV_RESULT_FAILURE;
- 				ret->decision =3D DECISION_FAIL;
-+			} else if (!peap_phase2_sufficient(sm, data)) {
-+				wpa_printf(MSG_INFO,
-+					   "EAP-PEAP: Server indicated Phase 2 success, but sufficien=
t Phase 2 authentication has not been completed");
-+				resp_status =3D EAP_TLV_RESULT_FAILURE;
-+				ret->decision =3D DECISION_FAIL;
- 			} else {
- 				resp_status =3D EAP_TLV_RESULT_SUCCESS;
- 				ret->decision =3D DECISION_UNCOND_SUCC;
-@@ -887,8 +921,7 @@ continue_req:
- 			/* EAP-Success within TLS tunnel is used to indicate
- 			 * shutdown of the TLS channel. The authentication has
- 			 * been completed. */
--			if (data->phase2_eap_started &&
--			    !data->phase2_eap_success) {
-+			if (!peap_phase2_sufficient(sm, data)) {
- 				wpa_printf(MSG_DEBUG, "EAP-PEAP: Phase 2 "
- 					   "Success used to indicate success, "
- 					   "but Phase 2 EAP was not yet "
-@@ -1199,8 +1232,9 @@ static struct wpabuf * eap_peap_process(struct eap=
_sm *sm, void *priv,
- static bool eap_peap_has_reauth_data(struct eap_sm *sm, void *priv)
- {
- 	struct eap_peap_data *data =3D priv;
-+
- 	return tls_connection_established(sm->ssl_ctx, data->ssl.conn) &=
amp;&
--		data->phase2_success;
-+		data->phase2_success && data->phase2_auth !=3D ALWAYS;
- }
-=20
-=20
-diff --git a/src/eap_peer/eap_tls_common.c b/src/eap_peer/eap_tls_common=
.c
-index c1837db..a53eeb1 100644
---- a/src/eap_peer/eap_tls_common.c
-+++ b/src/eap_peer/eap_tls_common.c
-@@ -239,6 +239,12 @@ static int eap_tls_params_from_conf(struct eap_sm *=
sm,
-=20
- 	sm->ext_cert_check =3D !!(params->flags & TLS_CONN_EXT_CERT_=
CHECK);
-=20
-+	if (!phase2)
-+		data->client_cert_conf =3D params->client_cert ||
-+			params->client_cert_blob ||
-+			params->private_key ||
-+			params->private_key_blob;
-+
- 	return 0;
- }
-=20
-diff --git a/src/eap_peer/eap_tls_common.h b/src/eap_peer/eap_tls_common=
.h
-index 9ac0012..3348634 100644
---- a/src/eap_peer/eap_tls_common.h
-+++ b/src/eap_peer/eap_tls_common.h
-@@ -79,6 +79,11 @@ struct eap_ssl_data {
- 	 * tls_v13 - Whether TLS v1.3 or newer is used
- 	 */
- 	int tls_v13;
-+
-+	/**
-+	 * client_cert_conf: Whether client certificate has been configured
-+	 */
-+	bool client_cert_conf;
- };
-=20
-=20
-diff --git a/wpa_supplicant/wpa_supplicant.conf b/wpa_supplicant/wpa_sup=
plicant.conf
-index 6619d6b..d63f73c 100644
---- a/wpa_supplicant/wpa_supplicant.conf
-+++ b/wpa_supplicant/wpa_supplicant.conf
-@@ -1321,6 +1321,13 @@ fast_reauth=3D1
- #	 * 0 =3D do not use cryptobinding (default)
- #	 * 1 =3D use cryptobinding if server supports it
- #	 * 2 =3D require cryptobinding
-+#	'phase2_auth' option can be used to control Phase 2 (i.e., within TLS
-+#	tunnel) behavior for PEAP:
-+#	 * 0 =3D do not require Phase 2 authentication
-+#	 * 1 =3D require Phase 2 authentication when client certificate
-+#	   (private_key/client_cert) is no used and TLS session resumption wa=
s
-+#	   not used (default)
-+#	 * 2 =3D require Phase 2 authentication in all cases
- #	EAP-WSC (WPS) uses following options: pin=3D<Device Password> o=
r
- #	pbc=3D1.
- #
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0001=
-build-Re-enable-options-for-libwpa_client.so-and-wpa.patch b/meta/recipe=
s-connectivity/wpa-supplicant/wpa-supplicant/0001-build-Re-enable-options=
-for-libwpa_client.so-and-wpa.patch
deleted file mode 100644
index 6e930fc98d..0000000000
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0001-build-=
Re-enable-options-for-libwpa_client.so-and-wpa.patch
+++ /dev/null
@@ -1,73 +0,0 @@
-From cb41c214b78d6df187a31950342e48a403dbd769 Mon Sep 17 00:00:00 2001
-From: Sergey Matyukevich <geomatsi@gmail.com>
-Date: Tue, 22 Feb 2022 11:52:19 +0300
-Subject: [PATCH 1/2] build: Re-enable options for libwpa_client.so and
- wpa_passphrase
-
-Commit a41a29192e5d ("build: Pull common fragments into a build.rul=
es
-file") introduced a regression into wpa_supplicant build process. T=
he
-build target libwpa_client.so is not built regardless of whether the
-option CONFIG_BUILD_WPA_CLIENT_SO is set or not. This happens because
-this config option is used before it is imported from the configuration
-file. Moving its use after including build.rules does not help: the
-variable ALL is processed by build.rules and further changes are not
-applied. Similarly, option CONFIG_NO_WPA_PASSPHRASE also does not work
-as expected: wpa_passphrase is always built regardless of whether the
-option is set or not.
-
-Re-enable these options by adding both build targets to _all
-dependencies.
-
-Fixes: a41a29192e5d ("build: Pull common fragments into a build.rul=
es file")
-Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
-Upstream-Status: Backport
-Signed-off-by: Alex Kiernan <alexk@zuma.ai>
-Signed-off-by: Alex Kiernan <alexk@gmail.com>
----
- wpa_supplicant/Makefile | 19 ++++++++++++-------
- 1 file changed, 12 insertions(+), 7 deletions(-)
-
-diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
-index cb66defac7c8..c456825ae75f 100644
---- a/wpa_supplicant/Makefile
-+++ b/wpa_supplicant/Makefile
-@@ -1,24 +1,29 @@
- BINALL=3Dwpa_supplicant wpa_cli
-=20
--ifndef CONFIG_NO_WPA_PASSPHRASE
--BINALL +=3D wpa_passphrase
--endif
--
- ALL =3D $(BINALL)
- ALL +=3D systemd/wpa_supplicant.service
- ALL +=3D systemd/wpa_supplicant@.service
- ALL +=3D systemd/wpa_supplicant-nl80211@.service
- ALL +=3D systemd/wpa_supplicant-wired@.service
- ALL +=3D dbus/fi.w1.wpa_supplicant1.service
--ifdef CONFIG_BUILD_WPA_CLIENT_SO
--ALL +=3D libwpa_client.so
--endif
-=20
- EXTRA_TARGETS=3Ddynamic_eap_methods
-=20
- CONFIG_FILE=3D.config
- include ../src/build.rules
-=20
-+ifdef CONFIG_BUILD_WPA_CLIENT_SO
-+# add the dependency this way to allow CONFIG_BUILD_WPA_CLIENT_SO
-+# being set in the config which is read by build.rules
-+_all: libwpa_client.so
-+endif
-+
-+ifndef CONFIG_NO_WPA_PASSPHRASE
-+# add the dependency this way to allow CONFIG_NO_WPA_PASSPHRASE
-+# being set in the config which is read by build.rules
-+_all: wpa_passphrase
-+endif
-+
- ifdef LIBS
- # If LIBS is set with some global build system defaults, clone those fo=
r
- # LIBS_c and LIBS_p to cover wpa_passphrase and wpa_cli as well.
---=20
-2.35.1
-
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0002=
-Fix-removal-of-wpa_passphrase-on-make-clean.patch b/meta/recipes-connect=
ivity/wpa-supplicant/wpa-supplicant/0002-Fix-removal-of-wpa_passphrase-on=
-make-clean.patch
deleted file mode 100644
index 53b0fcdf53..0000000000
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0002-Fix-re=
moval-of-wpa_passphrase-on-make-clean.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From d001b301ba7987f4b39453a211631b85c48f2ff8 Mon Sep 17 00:00:00 2001
-From: Jouni Malinen <quic_jouni@quicinc.com>
-Date: Thu, 3 Mar 2022 13:26:42 +0200
-Subject: [PATCH 2/2] Fix removal of wpa_passphrase on 'make clean'
-
-Fixes: 0430bc8267b4 ("build: Add a common-clean target")
-Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
-Upstream-Status: Backport
-Signed-off-by: Alex Kiernan <alexk@zuma.ai>
-Signed-off-by: Alex Kiernan <alexk@gmail.com>
----
- wpa_supplicant/Makefile | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
-index c456825ae75f..4b4688931b1d 100644
---- a/wpa_supplicant/Makefile
-+++ b/wpa_supplicant/Makefile
-@@ -2077,3 +2077,4 @@ clean: common-clean
- 	rm -f libwpa_client.a
- 	rm -f libwpa_client.so
- 	rm -f libwpa_test1 libwpa_test2
-+	rm -f wpa_passphrase
---=20
-2.35.1
-
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10=
.bb b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb
similarity index 90%
rename from meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.=
bb
rename to meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb
index 8113bcab09..321dedc58a 100644
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.10.bb
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.11.bb
@@ -5,8 +5,8 @@ BUGTRACKER =3D "http://w1.fi/security/"
 SECTION =3D "network"
 LICENSE =3D "BSD-3-Clause"
 LIC_FILES_CHKSUM =3D "file://COPYING;md5=3D5ebcb90236d1ad640558c3d3cd3035d=
f \
-                    file://README;beginline=3D1;endline=3D56;md5=3De3d2f=
6c2948991e37c1ca4960de84747 \
-                    file://wpa_supplicant/wpa_supplicant.c;beginline=3D1=
;endline=3D12;md5=3D76306a95306fee9a976b0ac1be70f705"
+                    f=
ile://README;beginline=3D1;endline=3D56;md5=3D6e4b25e7d74bfc44a32ba37bdf5=
210a6 \
+                    file://wpa_supplicant/wpa_supplicant.c;beginline=3D=
1;endline=3D12;md5=3Df5ccd57ea91e04800edb88267bf8eae4"
=20
 DEPENDS =3D "dbus libnl"
=20
@@ -15,12 +15,8 @@ SRC_URI =3D "http://w1.fi/releases/wpa_su=
pplicant-${PV}.tar.gz \
            file://wpa_supplicant.conf \
            file://wpa_supplicant.conf-sane \
            file://99_wpa_supplicant \
-           file://0001-build-Re-enable-options-for-libwpa_client.so-and-=
wpa.patch \
-           file://0002-Fix-removal-of-wpa_passphrase-on-make-clean.patch=
 \
-           file://0001-Install-wpa_passphrase-when-not-disabled.patch \
-           file://0001-PEAP-client-Update-Phase-2-authentication-require=
men.patch \
            "
-SRC_URI[sha256sum] =3D "20df7ae5154b3830355f8ab4269123a87affdea59fe=
74fe9292a91d0d7e17b2f"
+SRC_URI[sha256sum] =3D "912ea06f74e30a8e36fbb68064d6cdff218d8d591db=
0fc5d75dee6c81ac7fc0a"
=20
 S =3D "${WORKDIR}/wpa_supplicant-${PV}"
=20

-=3D-=3D-=3D-=3D-=3D-=3D-=3D=
-=3D-=3D-=3D-=3D-
Links: You receive all messages sent to this group.
View/Reply Online (#203657): https:/=
/lists.openembedded.org/g/openembedded-core/message/203657
Mute This Topic: https://lists.openembedded.org/mt=
/108040776/3616765
Group Owner: openembedded-core+owner@lists.op=
enembedded.org
Unsubscribe: https://lists.openembedded.org/g=
/openembedded-core/unsub [randy.macleod@windriver.com]
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-


--=20
# Randy MacLeod
# Wind River Linux
--------------YSDDcjQE4Ni0JhLBVmnLWAPq--