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 9CB222C21CB for ; Wed, 14 Jan 2026 15:07:01 +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=1768403221; cv=none; b=gj6tcdteEukzfNChaq5PNdBrXZr/G8oiNqUABXQyCiiFWoWcw7JFNtoSjXZnc/aqkQ/W5ysWW1HdrD0NB0TY/AbtfuJnKqimdllS+At9NUN6zlc3kjk7qcKuj37YGS0UqB8buMXoh2p7M8fmTateEafC1suHGSBcXooxhRL4KdY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768403221; c=relaxed/simple; bh=cONK/0OKxr6ELQSnNwusTLuaKMQxh6HgG7UoqKiSla4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UN/rTzrMMyICGs/zzomVoMzQsUEJn9KRH84jJjbc0NVQKeXXn+CDxds/aesKeyLPh4Kb/0QlQ8ooOflpG7iTNz/oL/BUpVAnqmn1RBpB8JszTjZ9GuTa493pgn49PXotxuNtslHly7VeScq1LHSJUDunR0Dz1I+6O30obx7qOTw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=iKI7Un6k; 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="iKI7Un6k" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D7868C4CEF7; Wed, 14 Jan 2026 15:07:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768403221; bh=cONK/0OKxr6ELQSnNwusTLuaKMQxh6HgG7UoqKiSla4=; h=From:To:Cc:Subject:Date:Reply-To:From; b=iKI7Un6kYCwcWTQtV+PuUA9Y5x3JxZPY0A9rBwTOEM2Q6EBAXj0HpEr0hikJK1vWm kQ4K7GKj2UDNdNYvt4wweLZMQkhRqz6si/wu1yihccVqtaRBcCgb0+iA5FvHeCuVNB HOgUXJeCu12coxAaEwbgEYi22nVT1IfkYaW8IAbE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71122: iommufd/selftest: Check for overflow in IOMMU_TEST_OP_ADD_RESERVED Date: Wed, 14 Jan 2026 16:06:27 +0100 Message-ID: <2026011416-CVE-2025-71122-1921@gregkh> X-Mailer: git-send-email 2.52.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=2479; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=g6TwlrId/dWFYNjxlXSLgInr1elb/sjLyfe0DzHMv6c=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnpG16sjaya8537zGL5Ewr972KtWVb+0Y/2PiPgqDuhT vT61C1qHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARS1aG+VH/10h9VNOf4q77 KCun+k6qqqmlKcOCoxF5pfcvRh9ZMyMrSJlFqTxvz7YEAA== 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: iommufd/selftest: Check for overflow in IOMMU_TEST_OP_ADD_RESERVED syzkaller found it could overflow math in the test infrastructure and cause a WARN_ON by corrupting the reserved interval tree. This only effects test kernels with CONFIG_IOMMUFD_TEST. Validate the user input length in the test ioctl. The Linux kernel CVE team has assigned CVE-2025-71122 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit f4b20bb34c83dceade5470288f48f94ce3598ada and fixed in 6.6.120 with commit 4cc829d61f10c20523fd4085c1546e741a792a97 Issue introduced in 6.2 with commit f4b20bb34c83dceade5470288f48f94ce3598ada and fixed in 6.12.64 with commit e6c122cffcbb2e84d321ec8ba0e38ce8e7c10925 Issue introduced in 6.2 with commit f4b20bb34c83dceade5470288f48f94ce3598ada and fixed in 6.18.3 with commit b166b8e0a381429fefd9180e67fbc834b3cee82f Issue introduced in 6.2 with commit f4b20bb34c83dceade5470288f48f94ce3598ada and fixed in 6.19-rc2 with commit e6a973af11135439de32ece3b9cbe3bfc043bea8 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-2025-71122 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/iommufd/selftest.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/4cc829d61f10c20523fd4085c1546e741a792a97 https://git.kernel.org/stable/c/e6c122cffcbb2e84d321ec8ba0e38ce8e7c10925 https://git.kernel.org/stable/c/b166b8e0a381429fefd9180e67fbc834b3cee82f https://git.kernel.org/stable/c/e6a973af11135439de32ece3b9cbe3bfc043bea8