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 5AB347460 for ; Wed, 10 Apr 2024 18:57:54 +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=1712775474; cv=none; b=Ht2SRWnZivrGt91VOOgNv7AsQyi0JkRSZbylGOqRa/pTD5WzHhtRZqCdUeTPcdFhFkLNIwcJZYNlhXLJhmn490h/45BhAIUCPZCK6usrhiQAN5XBPLCNiTYy8nPf5XOZK6SMEoduRor23Eqxi4d8Q2e0GcgEdrJ10pa+YKwKVnY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712775474; c=relaxed/simple; bh=Fcx1zJmw/yfeCt60TgdEGzPlBDz6mkZ7Fb1nqFE8ypo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OQzwTqE85kY0oroPtJdmzZvjbBtV+gsVE2Xs5Q5sx4Q1gGmF1OqsV9jVXUY0Duo8aZBB1eBy1oYN4+hz0FxFrYQcyQb40F04K3v38eTYRGGBb/5oX91fF7l8TBog9dqUyATYB4wCj9fhdNBo/qXW1rHgIa8br6O/ksEswe7sUAs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=torvm9EY; 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="torvm9EY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 85868C433F1; Wed, 10 Apr 2024 18:57:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712775473; bh=Fcx1zJmw/yfeCt60TgdEGzPlBDz6mkZ7Fb1nqFE8ypo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=torvm9EY8SvhFxAOhqbVXJETVF9d+oQ5N/haNnBSW7bBFR829stEu611OtDbdDg+o ZNmFB/ThkfXb4asxx5b+NOYuBuFpkL6vYjXf44UU6hj3pvusnO4r/2G49cE58LeeXh 1jY5vh3OxcKn8TMaswjXd4+EFPG5nDrPdwWv/ePY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47184: i40e: Fix NULL ptr dereference on VSI filter sync Date: Wed, 10 Apr 2024 20:57:33 +0200 Message-ID: <2024041033-CVE-2021-47184-7544@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=2725; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Fcx1zJmw/yfeCt60TgdEGzPlBDz6mkZ7Fb1nqFE8ypo=; b=kA0DAAIRMUfUDdst+ykByyZiAGYW4R2iM1s9rHXT5DaK3ZR6uAeLkQ5woPwhar8YSD9fn6Vtj 4hdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmYW4R0ACgkQMUfUDdst+ylGtgCaA/Ss fYBZy2zhqAR+zSEKaAGuhAgAnipP80mvo2FLrzEa6/EbTLnBwHT6 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: i40e: Fix NULL ptr dereference on VSI filter sync Remove the reason of null pointer dereference in sync VSI filters. Added new I40E_VSI_RELEASING flag to signalize deleting and releasing of VSI resources to sync this thread with sync filters subtask. Without this patch it is possible to start update the VSI filter list after VSI is removed, that's causing a kernel oops. The Linux kernel CVE team has assigned CVE-2021-47184 to this issue. Affected and fixed versions =========================== Issue introduced in 3.12 with commit 41c445ff0f48 and fixed in 4.14.256 with commit 78f2a9e831f9 Issue introduced in 3.12 with commit 41c445ff0f48 and fixed in 4.19.218 with commit 87c421ab4a43 Issue introduced in 3.12 with commit 41c445ff0f48 and fixed in 5.4.162 with commit c30162da9132 Issue introduced in 3.12 with commit 41c445ff0f48 and fixed in 5.10.82 with commit f866513ead43 Issue introduced in 3.12 with commit 41c445ff0f48 and fixed in 5.15.5 with commit e91e8427a1e1 Issue introduced in 3.12 with commit 41c445ff0f48 and fixed in 5.16 with commit 37d9e304acd9 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-47184 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/ethernet/intel/i40e/i40e.h drivers/net/ethernet/intel/i40e/i40e_main.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/78f2a9e831f9610e3655a0be5e675e1aa2472089 https://git.kernel.org/stable/c/87c421ab4a43433cb009fea44bbbc77f46913e1d https://git.kernel.org/stable/c/c30162da91327e4cdf7cd03079f096bb3654738c https://git.kernel.org/stable/c/f866513ead4370402428ef724b03c3312295c178 https://git.kernel.org/stable/c/e91e8427a1e1633a0261e3bb0201c836ac5b3890 https://git.kernel.org/stable/c/37d9e304acd903a445df8208b8a13d707902dea6