Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DBD9361698 for ; Mon, 4 Mar 2024 18:07:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709575662; cv=none; b=acd8+/CBdZiMgp4SZ4JNdnuCjw3bMmdrTaxCuYp3YXjd7gNLvuIiih28U2MQ4UiB6raZQhe7mwfCuqOKTfPmIDq7jP9CTpOp0w8jCDza6FucSmXB0siQTUcRNx/f23V+xd0lMDZaaxNTGSYT3yXpGJiCJ+GH+XQA7Lc7TWSK4io= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709575662; c=relaxed/simple; bh=Lh2zBJBjzU1iwADo9n+uxJ1avWFWKhBIgw+IYnbxI30=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=oDvVJgRo05dQyRoTv4qju+H1J4tOatbBdInVsJJjwDGDyP2/iXxfIWz391HlIO2tezUJ4Ry5omzp6FfQ2XK9MwE80ycRWySZ6C/iJfvU+axHUryF815EKnozzd8SZrsWtut9LO1Q5WHTCIO4zjmCfAMFOpiUm9Mo5N8HyE8p6So= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hOUuqv/T; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="hOUuqv/T" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8F8B2C433C7; Mon, 4 Mar 2024 18:07:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709575662; bh=Lh2zBJBjzU1iwADo9n+uxJ1avWFWKhBIgw+IYnbxI30=; h=From:To:Cc:Subject:Date:Reply-to:From; b=hOUuqv/Tidt3NI/cqwgrHnEwRveBcE/2A0h38ciyoOfuXyuzPS+Qx+O5xqtoIhsyn qTbLVtF/7dKbIJE0HIUCEnu4GGK0poEF5Xdyi9aV+SSa2g+jmXzVL5on1sjIf/jBBL /tXvw9WW5VO+6ThAxXF2ZDM2Jhibbhz0XQCaKueo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47086: phonet/pep: refuse to enable an unbound pipe Date: Mon, 4 Mar 2024 19:06:56 +0100 Message-ID: <2024030455-CVE-2021-47086-cdaa@gregkh> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2608; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Lh2zBJBjzU1iwADo9n+uxJ1avWFWKhBIgw+IYnbxI30=; b=owGbwMvMwCRo6H6F97bub03G02pJDKnPePcfNnST80t2KTcvelWT7nNon8jC4OfXtz5QtTWY9 HOO3fmQjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIgQXDgnkBE/T4I8Wa+awO KrA3FHM+vN27i2HBjnUSqsprV7/sflMidlJmknGXZON0AA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: phonet/pep: refuse to enable an unbound pipe This ioctl() implicitly assumed that the socket was already bound to a valid local socket name, i.e. Phonet object. If the socket was not bound, two separate problems would occur: 1) We'd send an pipe enablement request with an invalid source object. 2) Later socket calls could BUG on the socket unexpectedly being connected yet not bound to a valid object. The Linux kernel CVE team has assigned CVE-2021-47086 to this issue. Affected and fixed versions =========================== Fixed in 4.4.297 with commit 0bbdd62ce9d4 Fixed in 4.9.295 with commit b10c7d745615 Fixed in 4.14.260 with commit 311601f11485 Fixed in 4.19.223 with commit 982b6ba1ce62 Fixed in 5.4.169 with commit 48c76fc53582 Fixed in 5.10.89 with commit 52ad5da8e316 Fixed in 5.15.12 with commit 53ccdc73eeda Fixed in 5.16 with commit 75a2f3152009 Please see https://www.kernel.org or a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2021-47086 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: net/phonet/pep.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/0bbdd62ce9d44f3a22059b3d20a0df977d9f6d59 https://git.kernel.org/stable/c/b10c7d745615a092a50c2e03ce70446d2bec2aca https://git.kernel.org/stable/c/311601f114859d586d5ef8833d60d3aa23282161 https://git.kernel.org/stable/c/982b6ba1ce626ef87e5c29f26f2401897554f235 https://git.kernel.org/stable/c/48c76fc53582e7f13c1e0b11c916e503256c4d0b https://git.kernel.org/stable/c/52ad5da8e316fa11e3a50b3f089aa63e4089bf52 https://git.kernel.org/stable/c/53ccdc73eedaf0e922c45b569b797d2796fbaafa https://git.kernel.org/stable/c/75a2f31520095600f650597c0ac41f48b5ba0068