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 DA48185659 for ; Wed, 1 May 2024 12:50:19 +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=1714567819; cv=none; b=DWehK9LI+D9zWQw75kQpO0V1bTxXc0XgK4OhKy8R2JtWIl5O1jd9XLFD2CwvheULByWqs7b/pqxS61FT58I7oTey6JCBHmtTv0oku2d+HfLXGTQKMPUu0ZVqK/1/jT8TLa1Toq+PSHy0DL802EnjAUI6rLvcpIMYR6D/FM0e6kM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714567819; c=relaxed/simple; bh=fYOB+oA9o8WVKYL66xEByapovcUMeg+gmEYxHnUMnWc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OSC24s2W2KDuW44ZZKLvWtDaxY8tuJptDIrLmwET8NDiNZ+7vwPMrLTaIW1HgqtuZdm/osCvSDeRC8VyFScECmVey3A8ZZHrCGI1aRX9DPjpB8ii4ZYP8C57KCy3HVvBwmzKIVcSWZzuO+1Ymn+ObPjm65pkRKSGjn4ihDkAdwc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XfeCTlhx; 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="XfeCTlhx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 570C0C113CC; Wed, 1 May 2024 12:50:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714567819; bh=fYOB+oA9o8WVKYL66xEByapovcUMeg+gmEYxHnUMnWc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=XfeCTlhxDY4NYhwAZy2ShcGZ/DXdSPqStgYWzYqWWcecMRI7dpRlj7B0xDxw9Raoc TKtBYh4oSCpDZf5LT1fEB69a29fEesMQ4yx4noqycNDakEdvntXBw/DQE3ax+GoEH9 5r4WTptGNHF96pLX7EGOou+Y4WVANudIBMhuyIow= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-27026: vmxnet3: Fix missing reserved tailroom Date: Wed, 1 May 2024 14:50:09 +0200 Message-ID: <2024050108-CVE-2024-27026-189b@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=2666; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=fYOB+oA9o8WVKYL66xEByapovcUMeg+gmEYxHnUMnWc=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlGVg2qvI+CQ8x1GZVn3cjflyzJ0e2tJJTZz7hsc3vo8 6JHiis7YlkYBJkYZMUUWb5s4zm6v+KQopeh7WmYOaxMIEMYuDgFYCLpnAzzLALvdYSXaN75Udsx q/rgfdl13AsmMiyYo/M8pPddwiYxr+8MXFfCAlUUwl4BAA== 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: vmxnet3: Fix missing reserved tailroom Use rbi->len instead of rcd->len for non-dataring packet. Found issue: XDP_WARN: xdp_update_frame_from_buff(line:278): Driver BUG: missing reserved tailroom WARNING: CPU: 0 PID: 0 at net/core/xdp.c:586 xdp_warn+0xf/0x20 CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W O 6.5.1 #1 RIP: 0010:xdp_warn+0xf/0x20 ... ? xdp_warn+0xf/0x20 xdp_do_redirect+0x15f/0x1c0 vmxnet3_run_xdp+0x17a/0x400 [vmxnet3] vmxnet3_process_xdp+0xe4/0x760 [vmxnet3] ? vmxnet3_tq_tx_complete.isra.0+0x21e/0x2c0 [vmxnet3] vmxnet3_rq_rx_complete+0x7ad/0x1120 [vmxnet3] vmxnet3_poll_rx_only+0x2d/0xa0 [vmxnet3] __napi_poll+0x20/0x180 net_rx_action+0x177/0x390 The Linux kernel CVE team has assigned CVE-2024-27026 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit 54f00cce1178 and fixed in 6.6.23 with commit aba8659caf88 Issue introduced in 6.6 with commit 54f00cce1178 and fixed in 6.7.11 with commit 7c8505ecc2d1 Issue introduced in 6.6 with commit 54f00cce1178 and fixed in 6.8.2 with commit 91d017d19d5a Issue introduced in 6.6 with commit 54f00cce1178 and fixed in 6.9-rc1 with commit e127ce7699c1 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-27026 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/vmxnet3/vmxnet3_xdp.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/aba8659caf88017507419feea06069f529329ea6 https://git.kernel.org/stable/c/7c8505ecc2d15473d679b8e06335434b84fffe86 https://git.kernel.org/stable/c/91d017d19d5a9ad153e2dc23ed3c0e2e79ef5262 https://git.kernel.org/stable/c/e127ce7699c1e05279ee5ee61f00893e7bfa9671