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 71FDE3812F7 for ; Sat, 15 Aug 2026 06:32:38 +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=1786775560; cv=none; b=m9t2bSSQv+oQ+cVWcUjS19Y5WavW/KWR/zZOq1vEF9vZfRDYcPFkeUHZyQEvakqGoyC5iqufeKB8uBA5A8I1/FAVpuvXneY+Rbf2Y2DT/5XoOmGxQDLyfQalS8vzJ3Fpio+tn00aeE+o5WIHbWRoSNLyC5RHDQUyFMCPOCiw32c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775560; c=relaxed/simple; bh=2HKGkP73HoZTm5ptOqDuXUskuI4oxZldgQYbetEA2NE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OgJaJBeSHh0nDwLJNUOGczG9PZZw/oRUIxx/y73Wx+HLAS+8hCskZAgmudInmIkL9dcPPV9RgUhhfl80Geba4Ycz9OOKy/BSXXPQc/WIerlJ+DqTVLqhbrjE/X9dah7T0zUMGAVQdbtyOQ8xAdqJ/WR1rWVBFQV9NVHR5mnXRwY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=OcwMByKd; 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="OcwMByKd" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5F501F000E9; Sat, 15 Aug 2026 06:32:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775558; bh=DePYwa0WU6fyFBqyiH0lAvsoXdcuAy3+Y5Q3pGzkzAk=; h=From:To:Cc:Subject:Date:Reply-To; b=OcwMByKd5zGMQwholZAtNSPWSUZxK2gVlsCPx+mkyt7/nBlWdKmnQae6aO60T+Qlw M4s3HaRAqLwIkzy/DaDFK2m8TWt1p3tnd2AqCjknaoYdeEsYVsi1EWre0AHIwQjbeh fYjtxMlqPo0gF9Dd8tb+CuAI6XF1u6CNLpdG/xiA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74277: iommu/dma-iommu: Fix wrong scatterlist length assignment in P2PDMA path Date: Sat, 15 Aug 2026 15:10:04 +0900 Message-ID: <2026081545-CVE-2026-74277-42fb@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=2220; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=M78Fz9alKFp3OKCyY1WVmGVPELFR0VT3bH43B5lWLEw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNjKw+WnZX61IfVE71ePrSPUPsyKT97Q0rLVasXREq5 3ZItfRCRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExkiSfDbJaZUf8Vr1qJ/+HL nDA7cCXDC6/wGob5wQLMYYtje1q5/gZHzW+oc2uXmHoSAA== 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: iommu/dma-iommu: Fix wrong scatterlist length assignment in P2PDMA path In iommu_dma_map_sg(), when handling PCI P2PDMA cases, the DMA length of the current scatterlist segment `s` is incorrectly assigned from the head entry `sg->length` instead of the current entry `s->length`. This typo causes all P2PDMA segments in the scatterlist to inherit the length of the first segment, leading to corrupted DMA lengths for multi- segment scatterlists. Fix this by using `s->length` instead of `sg->length`. The Linux kernel CVE team has assigned CVE-2026-74277 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit a25e7962db0d79882c9d32fd2a67a02e79129c0e and fixed in 7.1.5 with commit 8646f00ce021e49f4f05bc1d4060a0c27b25d0e1 Issue introduced in 6.16 with commit a25e7962db0d79882c9d32fd2a67a02e79129c0e and fixed in 7.2-rc1 with commit db50fb87015b955a5a0c155293b2dd40d63a3b9e 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-74277 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/iommu/dma-iommu.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/8646f00ce021e49f4f05bc1d4060a0c27b25d0e1 https://git.kernel.org/stable/c/db50fb87015b955a5a0c155293b2dd40d63a3b9e