From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 C89B03DCD8D for ; Sat, 22 Aug 2026 15:39:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787413169; cv=none; b=odkVu49f9pLKEbUzleCVe53gBmEgc3Lxc+28/pkKrmXxV3QkIQubanAI2Ya1Xvnvkks9ES8oPjbhtWjXpsqtBAVzb8dnjlvaBdHgz9ylPLq+/U6hwEe6hYW1IdVzWnqWu3HGAfmSnAHwJZtt7YWldiLU11U9TViSq0PMpkF0hKw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787413169; c=relaxed/simple; bh=9GrGqP+t/zEXeRL+xL+qPOjRZLoA9zElfMDfmF0HYFM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BufFh/ZAGrZ7u2p6SajXagh9IXWUCx9xEy4VlqrzWRqpOP/hl+zQCUg/lQg9z2TsisE2vcQClk7hmPG5xrSlgWFC5yvhriz63JofLCU0zqP4XwbNaeBH3wNPNy/c4E/JHxXY0HW9VUysOfkEm8NO9BpwtXnheTXiXaHwiwrL44I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=01J3xrh0; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="01J3xrh0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 30C8F1F000E9; Sat, 22 Aug 2026 15:39:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787413167; bh=uW/OroybfiwZYzGKS6P+8+dG7JCUQK8XSg48MMEp1YE=; h=From:To:Cc:Subject:Date:Reply-To; b=01J3xrh0cBEZpXOl5RyCYCZeJ0qCTcIPhhe0kMufDiqL3xqgl2hlx4pw2TjKJFb8b UaQKgxINGY+HqjcYNGQuDYjciJ1QjZgtPhRd1R79odlR4hONKctnRwOGGaagkutTUY /xpnJgL3IQAolCghT4DTuJ42/qmp9HS2GKSCvv+s= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74707: xsk: validate metadata when processing requests Date: Sat, 22 Aug 2026 17:33:11 +0200 Message-ID: <2026082237-CVE-2026-74707-360f@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2735; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=7TufyEtCRAHsTEirVvxmvYxlaALwslDn6dfHwL1H9g4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmdB256xfc9D9cXNelky5twriW/Zb3KHFU+zrVOi9t39 P3TO67TEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPZUMEw30X09snZ+zc8U+qJ PnHAzuWYT9myMIZZzMvnVK8q2rfg2Jmyug/FPJoP9i+cDgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: xsk: validate metadata when processing requests The zero-copy path validates TX metadata while obtaining the descriptor context, then reads it again later when preparing the hardware request. User space can change the metadata between those operations and bypass the original validation. Validate the metadata in xsk_tx_metadata_request() and use the resulting flags snapshot for every feature check. Read request fields once so all zero-copy drivers process only values observed after successful validation. The Linux kernel CVE team has assigned CVE-2026-74707 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit ca4419f15abd19ba8be1e109661b60f9f5b6c9f0 and fixed in 6.18.45 with commit 5fd121971912dee2f5af1efec64462ac722deb17 Issue introduced in 6.15 with commit ca4419f15abd19ba8be1e109661b60f9f5b6c9f0 and fixed in 7.1.9 with commit 0cc7aa6e0d19027fdd42e6fbd156267ac1e3bbba Issue introduced in 6.15 with commit ca4419f15abd19ba8be1e109661b60f9f5b6c9f0 and fixed in 7.2 with commit 849b1664dbda1cf6c63e0fd4f9dec23782b8c851 Issue introduced in 6.14.2 with commit d9d736c416c9a85f84e15435ba82a177262e745b 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-2026-74707 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/igc/igc_main.c drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c drivers/net/ethernet/stmicro/stmmac/stmmac_main.c include/net/libeth/xsk.h include/net/xdp_sock_drv.h net/xdp/xsk_buff_pool.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/5fd121971912dee2f5af1efec64462ac722deb17 https://git.kernel.org/stable/c/0cc7aa6e0d19027fdd42e6fbd156267ac1e3bbba https://git.kernel.org/stable/c/849b1664dbda1cf6c63e0fd4f9dec23782b8c851