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 6FE2F1E6DEB for ; Wed, 4 Sep 2024 19:57:50 +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=1725479870; cv=none; b=RVMGT4UExVZbtnARsWjxlI7FhS0D4Y7rzGW5N78i6FvWKQxr8Z3gHAXLcn0Zj9tEwCbCKP3VMJnwWtK5zUFcLqNqOtpQL+phh/NYNxzzYwjyD4rXwu+03iExsdOd51t2wS//LkHwi+VL7p/2OryiL1jcdZNChRdX4dY0yU+ZM3g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725479870; c=relaxed/simple; bh=/OK+qTuQU+d5Z9zY3jU/ZMPO9EudBMoXsR42ZQLqBNQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=b02i6UA+nf9p4HXfwIK+ev6WnhpQwzcDD10KM0y4KpDNHBmSeRVBHoUJvKBOcRh03vAHxcXatORxFqVbYCwI8j7RHwTvea8s/wD4KJYg0omTHWoPtbS1GBCzzOvnzCksVsMLEPEWnljnxpXGwznj7/xCvmXfQoj95W+UJ17K5S8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=iE5zhe8A; 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="iE5zhe8A" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 905F1C4CEC2; Wed, 4 Sep 2024 19:57:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1725479870; bh=/OK+qTuQU+d5Z9zY3jU/ZMPO9EudBMoXsR42ZQLqBNQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=iE5zhe8ArCx9Szy7E4DUD9RjD7ux7WYjfxmukL3Boa6fYUv937sFlEGKE2LsRmYt5 wDei1RXa8bTy+HDu3sZi31F5NFxZZy8phJBn81pE08kN9IJH3XyIkWgRWgQ3fY2pJZ MpyzM3u07EqbI86dBDRdrpnGTfmVkwrIEa9x3x/0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-44983: netfilter: flowtable: validate vlan header Date: Wed, 4 Sep 2024 21:56:48 +0200 Message-ID: <2024090444-CVE-2024-44983-dcdd@gregkh> X-Mailer: git-send-email 2.46.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=2791; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/OK+qTuQU+d5Z9zY3jU/ZMPO9EudBMoXsR42ZQLqBNQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk3dtccsp55/migj3TYXZWEA7Gh1yyNL2c9372EdcP5M I7jphWbO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiIS8Y5jssFja5/3BJ6Hnt SUa5l8+sOeui+5Fhwc1N1/vWRDSEsF1meDH7lug9kd0pPQA= 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: netfilter: flowtable: validate vlan header Ensure there is sufficient room to access the protocol field of the VLAN header, validate it once before the flowtable lookup. ===================================================== BUG: KMSAN: uninit-value in nf_flow_offload_inet_hook+0x45a/0x5f0 net/netfilter/nf_flow_table_inet.c:32 nf_flow_offload_inet_hook+0x45a/0x5f0 net/netfilter/nf_flow_table_inet.c:32 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_slow+0xf4/0x400 net/netfilter/core.c:626 nf_hook_ingress include/linux/netfilter_netdev.h:34 [inline] nf_ingress net/core/dev.c:5440 [inline] The Linux kernel CVE team has assigned CVE-2024-44983 to this issue. Affected and fixed versions =========================== Issue introduced in 5.13 with commit 4cd91f7c290f and fixed in 5.15.166 with commit c05155cc4557 Issue introduced in 5.13 with commit 4cd91f7c290f and fixed in 6.1.107 with commit d9384ae7aec4 Issue introduced in 5.13 with commit 4cd91f7c290f and fixed in 6.6.48 with commit 0279c35d242d Issue introduced in 5.13 with commit 4cd91f7c290f and fixed in 6.10.7 with commit 043a18bb6cf1 Issue introduced in 5.13 with commit 4cd91f7c290f and fixed in 6.11-rc5 with commit 6ea14ccb60c8 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-2024-44983 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/netfilter/nf_flow_table_inet.c net/netfilter/nf_flow_table_ip.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/c05155cc455785916164aa5e1b4605a2ae946537 https://git.kernel.org/stable/c/d9384ae7aec46036d248d1c2c2757e471ab486c3 https://git.kernel.org/stable/c/0279c35d242d037abeb73d60d06a6d1bb7f672d9 https://git.kernel.org/stable/c/043a18bb6cf16adaa2f8642acfde6e8956a9caaa https://git.kernel.org/stable/c/6ea14ccb60c8ab829349979b22b58a941ec4a3ee