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 A439214264C for ; Tue, 21 May 2024 14:39:46 +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=1716302386; cv=none; b=VB/FYETU1yRe0rQWMap6jxUl2Pzw5orgvcBu4SDlwwFEvLOELs0RrW2If18OtmEyW64T1YAs9NGXFZFgbAX7dlPyOK0Pdv2m0+AWpNVbVpbqL3JHFgkmkIoB4GLE6bhwwBX6v8/ANlTFe2VGgU29k4JongQHq8ysanbhcq2i7W4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716302386; c=relaxed/simple; bh=Zd7L5q/zfsZ0z/burfEM9VjLT+us0zGbrv8FaqJdmYw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Dszam0L+YuOqtGFlwpsgz9DH7vB9ozzn19iWa/VsLry+idW1qz2GESkK5x5gR5cJfsVbAlBrKS+Qbq3x+cFJ3rLe5qcYtot04kNXGWuwCM5+pLabC8RdGiicsp/lNbxl0GX/528F/8e+X5Qg7DN49F/8/I4GaVDjYZ48OyZuCwY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XHw1G4qy; 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="XHw1G4qy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2FFF3C2BD11; Tue, 21 May 2024 14:39:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716302386; bh=Zd7L5q/zfsZ0z/burfEM9VjLT+us0zGbrv8FaqJdmYw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=XHw1G4qymOm9aRmHMkFt5fIAtbdtgyzNeQSHEWw/V0IN1sfm0oOHAmahbFc7Ki0ce mA3Qp6FIbh2GhQvALStu75VrSHZvulPPPDvbv65cSnelBEsgegz6Tw5DD6YFHFVsJC RUBcOYloUxGOZVneRzdEpIu6TXmOb2ZGHm12wIgw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47306: net: fddi: fix UAF in fza_probe Date: Tue, 21 May 2024 16:35:40 +0200 Message-ID: <2024052127-CVE-2021-47306-2af7@gregkh> X-Mailer: git-send-email 2.45.1 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=2174; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Zd7L5q/zfsZ0z/burfEM9VjLT+us0zGbrv8FaqJdmYw=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk+G/Xj6lSE5vBdEmFr0uKuNbp66t6H9Y5qT+79UCr+8 EghbJVrRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExEaybD/ETuCh6BYLvVK3V5 Fdf90pQJKX36hGGe4ZIFPye/3ru0dZN00/1HZin/U9u8AA== 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: net: fddi: fix UAF in fza_probe fp is netdev private data and it cannot be used after free_netdev() call. Using fp after free_netdev() can cause UAF bug. Fix it by moving free_netdev() after error message. TURBOchannel adapter") The Linux kernel CVE team has assigned CVE-2021-47306 to this issue. Affected and fixed versions =========================== Issue introduced in 4.20 with commit 61414f5ec983 and fixed in 5.4.135 with commit 04b06716838b Issue introduced in 4.20 with commit 61414f5ec983 and fixed in 5.10.53 with commit f33605908a9b Issue introduced in 4.20 with commit 61414f5ec983 and fixed in 5.13.5 with commit bdfbb51f7a43 Issue introduced in 4.20 with commit 61414f5ec983 and fixed in 5.14 with commit deb7178eb940 Please see https://www.kernel.org for 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-47306 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: drivers/net/fddi/defza.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/04b06716838bfc26742dbed3ae1d3697fe5317ee https://git.kernel.org/stable/c/f33605908a9b6063525e9f68e62d739948c5fccf https://git.kernel.org/stable/c/bdfbb51f7a437ae8ea91317a5c133ec13adf3c47 https://git.kernel.org/stable/c/deb7178eb940e2c5caca1b1db084a69b2e59b4c9