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 D0C61187562 for ; Thu, 30 May 2024 15:30:34 +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=1717083034; cv=none; b=Jq/YERPU25KJ/ahw46le3/4dHcGEm8wUshziGlfdQInKMMNR3n3qp1wgZH4rlI3scqcxx04mYQ5jzVOkqiNYrQFfyT4cvt9ShmzRyWSiftpX57nbTnM1hcyazckjULAwkZWaZEI2LUdiHpmjxFTfoLDycqMO83z1GmtkVi/ofvE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717083034; c=relaxed/simple; bh=MSRYiNBbyhpnuMRRXxXWETvE9qHbIbGhJZ1gn2/rVbM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ZOOpnFtJOtPGcnSlB/E4/foROGS3O/X2SyzKXJcJv+9Eu3jeQox1R5GnVULux5pdyd8eafhIeIpBzzENB7MAzdSMM6jhAndENGiPJITmXXkmD0V9HSrNQerTB803nqIks7lOkPEL9fM8i7SCdKuo8YicqGkN9PoMb/t4JKFulMs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0e2FLsJN; 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="0e2FLsJN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 633EAC32781; Thu, 30 May 2024 15:30:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1717083034; bh=MSRYiNBbyhpnuMRRXxXWETvE9qHbIbGhJZ1gn2/rVbM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=0e2FLsJNrGQPfGO2x6GWKR6W3izqbkmk+Qo2wBqmMfiKSWoFptupkepBfy1BZNeNc VHsMrfsMNEb/T2Iv5EpBcmuY5uc4MwnfsHjR8oCAfJXSs2CD5puK5P7ciPqTKF/k3d kNhr9HvysMXMtl86NFrUxL6evH5QwZuwlwfz72/Y= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-36929: net: core: reject skb_copy(_expand) for fraglist GSO skbs Date: Thu, 30 May 2024 17:29:21 +0200 Message-ID: <2024053041-CVE-2024-36929-0329@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=2553; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=MSRYiNBbyhpnuMRRXxXWETvE9qHbIbGhJZ1gn2/rVbM=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkRszV5Ns1q3Xzp+IJZvI51GzZut4lzCY75ZZi4Rpzj9 ZH4N8EvOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi/CIMC46rMicwlU/j9ToS YsT94mj9y4f/hBlmszlN61+9Zvnbn+Zil+Yp8kmJf5TZAwA= 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: core: reject skb_copy(_expand) for fraglist GSO skbs SKB_GSO_FRAGLIST skbs must not be linearized, otherwise they become invalid. Return NULL if such an skb is passed to skb_copy or skb_copy_expand, in order to prevent a crash on a potential later call to skb_gso_segment. The Linux kernel CVE team has assigned CVE-2024-36929 to this issue. Affected and fixed versions =========================== Issue introduced in 5.6 with commit 3a1296a38d0c and fixed in 5.10.217 with commit faa83a7797f0 Issue introduced in 5.6 with commit 3a1296a38d0c and fixed in 5.15.159 with commit c7af99cc2192 Issue introduced in 5.6 with commit 3a1296a38d0c and fixed in 6.1.91 with commit 989bf6fd1e1d Issue introduced in 5.6 with commit 3a1296a38d0c and fixed in 6.6.31 with commit cfe34d86ef97 Issue introduced in 5.6 with commit 3a1296a38d0c and fixed in 6.8.10 with commit aea5e2669c28 Issue introduced in 5.6 with commit 3a1296a38d0c and fixed in 6.9 with commit d091e579b864 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-36929 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/core/skbuff.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/faa83a7797f06cefed86731ba4baa3b4dfdc06c1 https://git.kernel.org/stable/c/c7af99cc21923a9650533c9d77265c8dd683a533 https://git.kernel.org/stable/c/989bf6fd1e1d058e73a364dce1a0c53d33373f62 https://git.kernel.org/stable/c/cfe34d86ef9765c388f145039006bb79b6c81ac6 https://git.kernel.org/stable/c/aea5e2669c2863fdd8679c40ee310b3bcaa85aec https://git.kernel.org/stable/c/d091e579b864fa790dd6a0cd537a22c383126681