From nobody Tue Mar 15 19:29:14 2022 X-Original-To: freebsd-security@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 72E341A16ED4 for ; Tue, 15 Mar 2022 19:29:14 +0000 (UTC) (envelope-from security-advisories@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KJ3PQ2Z8Vz3jqr; Tue, 15 Mar 2022 19:29:14 +0000 (UTC) (envelope-from security-advisories@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647372554; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc; bh=ZYd2AZeFW88plFlPLxqBL7aAQGoKEKNhn8TWL0SPEy8=; b=mn1t+zeplt8x0uuCPaYWiL0EO38VgS35jS3p86i5jjzrYJWuX2s8d7gWm8wsaWSYkR+K7W JUuRrb+pbXhAph2xB8DR7EhS2iKavnxIi9hEscQoQ3oY42CO7LKtPtPlZVpso/ctkfqMuE ceeqDHiVhLMprkPYDsc2EBHFDaURxhbwviYyl4n9LUSif7FXYdKH6NI8owzLMCXjxeHQgk sADwaLdt/TW7bCB3dGHJk46HPwYVC/pPIcDOBd4iJKCuckYh7hsFEEGQ7xX6l0IAG7P0zs dY7uAuOFEQ0Cb4KDt1Ova6a5iPh3vM2+Xkg0UqHzF3q3/8gNPCVTYXrE3rwQjA== Received: by freefall.freebsd.org (Postfix, from userid 945) id 4193D460E; Tue, 15 Mar 2022 19:29:14 +0000 (UTC) From: FreeBSD Security Advisories To: FreeBSD Security Advisories Subject: FreeBSD Security Advisory FreeBSD-SA-22:02.wifi Reply-To: freebsd-security@freebsd.org Precedence: bulk Message-Id: <20220315192914.4193D460E@freefall.freebsd.org> Date: Tue, 15 Mar 2022 19:29:14 +0000 (UTC) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647372554; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc; bh=ZYd2AZeFW88plFlPLxqBL7aAQGoKEKNhn8TWL0SPEy8=; b=V2GvDutzPomUqysOda/LTQvKD7WuCa1/pC+7CRJjhVdA6akVsVLYkuCS7b5hjvS5/6xTnD WB6Ieag3hwCMfJRns0L9rMPFxfEpq+CjFGETva7gBsM12YU0f4HFJ1wQVLqE4lKu33sw0f kpbYaaS1uJlIjUnkFajen794sdGXXicf7MHpWu32ALGuDPAnpvVKk2efwHVeO3ezLXBI6m 6I+fv3NscLkCqMWaJG//jP8sFkeJzJWQ5Am9aPjGfhnjAudCNDuWHDy3T+oZ/Wk+rMyLml VS9K2Uo85D2t6twDBdyJanR9QTnlpJx+E+DywqwWMMa3MNoKd2rY7UuYg1oGHA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647372554; a=rsa-sha256; cv=none; b=qAbNObb6kr4QHAEegg718QQVJWMv2QfDrWyY2IgOqJr37xO0Qi/fmTSnAp5kKp08VDATSS wwvdHeAr7OCZo1/sA+zBr7QMg0G3cnLSVBT8vMO+oKPLMXvlttk8obHmBj087e80bsnS6w hCASj+RZrQBrNM+/UAPggYBvupDvArJuzXQiyYlIWOky5sMJCl/DWy7R0xf2kKFXWQc9pt /OubZ8fzNyPiCLNw4+thJmXC5DF2V6/5qKDR/nLgpmXvsMaAKzKLclaPvJQ1BsaRQy66PS qU8uAMhvslZ5t6HYRCaYF7bajrvfGuJp6siXjxbf3Zpr+Jwj3+Je+iaptboebA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N List-Id: Security issues List-Archive: https://lists.freebsd.org/archives/freebsd-security List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-security@freebsd.org X-BeenThere: freebsd-security@freebsd.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ============================================================================= FreeBSD-SA-22:02.wifi Security Advisory The FreeBSD Project Topic: Multiple WiFi issues Category: core Module: net80211 Announced: 2022-03-15 Affects: FreeBSD 12.x and FreeBSD 13.0 Corrected: 2021-11-19 00:01:25 UTC (stable/13, 13.0-STABLE) 2022-03-15 17:45:36 UTC (releng/13.0, 13.0-RELEASE-p8) 2022-02-15 16:05:49 UTC (stable/12, 12.3-STABLE) 2022-03-15 18:18:08 UTC (releng/12.3, 12.3-RELEASE-p3) 2022-03-15 18:17:30 UTC (releng/12.2, 12.2-RELEASE-p14) CVE Name: CVE-2020-26147, CVE-2020-24588, CVE-2020-26144 Note: This issue is already fixed in FreeBSD 13.1-BETA1. For general information regarding FreeBSD Security Advisories, including descriptions of the fields above, security branches, and the following sections, please visit . I. Background FreeBSD's net80211 kernel subsystem provides infrastructure and drivers for IEEE 802.11 wireless (Wi-Fi) communications. II. Problem Description The paper "Fragment and Forge: Breaking Wi-Fi Through Frame Aggregation and Fragmentation" reported a number of security vulnerabilities in 802.11 specificaiton related to frame aggregation and fragmentation. Additionally, FreeBSD 12.x missed length validation of SSIDs and Information Elements (IEs). III. Impact As reported on the FragAttacks website, the "design flaws are hard to abuse because doing so requires user interaction or is only possible when using uncommon network settings." Under suitable conditions an attacker may be able to extract sensitive data or inject data. IV. Workaround No workaround is available, but the ability to extract or inject data is mitigated by the use of application (e.g. HTTPS) or transport (e.g. TLS, IPSEC) layer encryption. V. Solution Upgrade your vulnerable system to a supported FreeBSD stable or release / security branch (releng) dated after the correction date, and reboot. Perform one of the following: 1) To update your vulnerable system via a binary patch: Systems running a RELEASE version of FreeBSD on the amd64, i386, or (on FreeBSD 13 and later) arm64 platforms can be updated via the freebsd-update(8) utility: # freebsd-update fetch # freebsd-update install # shutdown -r +10min "Rebooting for a security update" 2) To update your vulnerable system via a source code patch: The following patches have been verified to apply to the applicable FreeBSD release branches. a) Download the relevant patch from the location below, and verify the detached PGP signature using your PGP utility. [FreeBSD 13.0] # fetch https://security.FreeBSD.org/patches/SA-22:02/wifi.13.patch # fetch https://security.FreeBSD.org/patches/SA-22:02/wifi.13.patch.asc # gpg --verify wifi.13.patch.asc [FreeBSD 12.x] # fetch https://security.FreeBSD.org/patches/SA-22:02/wifi.12.patch # fetch https://security.FreeBSD.org/patches/SA-22:02/wifi.12.patch.asc # gpg --verify wifi.12.patch.asc b) Apply the patch. Execute the following commands as root: # cd /usr/src # patch < /path/to/patch c) Recompile your kernel as described in and reboot the system. VI. Correction details This issue is corrected by the corresponding Git commit hash or Subversion revision number in the following stable and release branches: Branch/path Hash Revision - ------------------------------------------------------------------------- stable/13/ 6acb9d5f955b stable/13-n248098 releng/13.0/ 0d1db5c3257e releng/13.0-n244782 stable/12/ r371640 releng/12.3/ r371748 releng/12.2/ r371740 - ------------------------------------------------------------------------- For FreeBSD 13 and later: Run the following command to see which files were modified by a particular commit: # git show --stat Or visit the following URL, replacing NNNNNN with the hash: To determine the commit count in a working tree (for comparison against nNNNNNN in the table above), run: # git rev-list --count --first-parent HEAD For FreeBSD 12 and earlier: Run the following command to see which files were modified by a particular revision, replacing NNNNNN with the revision number: # svn diff -cNNNNNN --summarize svn://svn.freebsd.org/base Or visit the following URL, replacing NNNNNN with the revision number: VII. References The latest revision of this advisory is available at -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE/A6HiuWv54gCjWNV05eS9J6n5cIFAmIw5aoACgkQ05eS9J6n 5cLuYw/+OtkGeEYFTmwoZrFn105OOhi1MHjopUmW3B3FDeIMP2BnULkCodLKpDqx WNROwaLBZ/FSHdX+rwcFhZVKksGuXafRY2bywDfJNCRmSIRjSEiSozIkJbihmKYq SAWxUwbZxkg+MPtgoiUNocXZhFplN4E1VmfZl6XDfcd9jrFTuNiMKPKWzW8haI7R H3Tovh6GgRLFfP5nnY2X8xZSSrxqkzXj4iRHJDedu6nmBFtsB34kjhW42fpycM/c irhHBApfgl9XW31sLSFP2lwhq36AVD27SaYKDWxAv4ywp6PiwPTTNr8lwk05Z0jp z76f3ZIBDhz3M3qzphMQ5wj6CB7SqTrgSD0WDZchdgDk904BdNum3vNRTO4x9iSB czlXk/utMbupW8AU9rjdKWeMz0DBpDGckjZq1Ot8+fSwbiLkPCjpYTDsxqiLZs6i xp/qjDW8rUKbgQSztSq3svF58dY74TLZ34rN0cqVPgvfpG1/fbM4W63vR0b4YG/5 mv4OKXe5whJmh1OVrrVSX/ttyTFm6JpNFRxpXCkRKOgNICevw9yHlvx8uE6rVKde P7PXAdRT48gcmN9gIscFuRwt2glvChYuH6ncF1jMQmfoAMTlDGRATQUuDy81fIw9 va3fiGDy2FsenAQYa4UwaA/iCodjaC0cNjNnf2cc9nZEnuq86l8= =Cjzd -----END PGP SIGNATURE-----