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 BB01923F439 for ; Thu, 3 Apr 2025 07:19:43 +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=1743664783; cv=none; b=W/HMoQq7HiNm+Z042oK+EATp7QUcHZad8SGh5zbwrNVTIhyXaDVSBpAjSecOzkYeTgicV2JggklWxNSPY9psyNKyGujcOBoacqBEH33MAr7TrWLxijzJlBUR1bBzA1Rk3Xmw1cfOGpFyF5FE6QEaPgAalEo70pf4Xi/GvfY3Lrg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743664783; c=relaxed/simple; bh=AOcPEspBtt66I5Un4mMII/x2aTofkJCeu0lU2ayEUq8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=n9XoxSPWegdt7aEdhSVoetquo2sNAloOnOh96QGf5h6IDqkJ9PAOamHOpmWfO7kdCDjdAsZWcSwF8i1CWcfLWbIrlbivKPHpKVFD1TTy7cHj5lIdSaWYAwNKy1eEx/f1+29b1ceMJC3O5EGItkHWAkLdns/x5kfL8P2YHD0Qv+0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gx7Cf3Wb; 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="gx7Cf3Wb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E0512C4CEE3; Thu, 3 Apr 2025 07:19:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1743664783; bh=AOcPEspBtt66I5Un4mMII/x2aTofkJCeu0lU2ayEUq8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=gx7Cf3WblH6WsJeTy+UPbl8kd/+e+tupjMzPt5kjLgK5uL1MBj/QtWtBMZDhxcxck vGXG/eF3IH8JiiLEpSMyiSbBBGBdwFPtufiLPMWohw8+w6RT26KfWAQUmIv6sTvNo7 hjAc4Twze5ah58Ruh5qnl6xBGCMtSsnj0Ms+OKtg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-22001: accel/qaic: Fix integer overflow in qaic_validate_req() Date: Thu, 3 Apr 2025 08:17:53 +0100 Message-ID: <2025040349-CVE-2025-22001-5187@gregkh> X-Mailer: git-send-email 2.49.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=2393; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=AOcPEspBtt66I5Un4mMII/x2aTofkJCeu0lU2ayEUq8=; b=owGbwMvMwCRo6H6F97bub03G02pJDOnvzGT/3FPO8eU6KrTxDN+1I06b2B/b3q00v3RZ81qL0 OPw5cL7OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiudwM8/22nzGxzWGfxfEq ptD1QsXz1eEZNQzzc9trippUlNfO6fL3tLR/bVSXWywAAA== 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: accel/qaic: Fix integer overflow in qaic_validate_req() These are u64 variables that come from the user via qaic_attach_slice_bo_ioctl(). Use check_add_overflow() to ensure that the math doesn't have an integer wrapping bug. The Linux kernel CVE team has assigned CVE-2025-22001 to this issue. Affected and fixed versions =========================== Issue introduced in 6.4 with commit ff13be8303336ead5621712f2c55012d738878b5 and fixed in 6.6.85 with commit 4b2a170c25862ad116bd31be6b9841646b4862e8 Issue introduced in 6.4 with commit ff13be8303336ead5621712f2c55012d738878b5 and fixed in 6.12.21 with commit b362fc904d264a88b4af20baae9e82491c285e9c Issue introduced in 6.4 with commit ff13be8303336ead5621712f2c55012d738878b5 and fixed in 6.13.9 with commit 57fae0c505f49bb1e3d5660cd2cc49697ed85f7c Issue introduced in 6.4 with commit ff13be8303336ead5621712f2c55012d738878b5 and fixed in 6.14 with commit 67d15c7aa0864dfd82325c7e7e7d8548b5224c7b 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-22001 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/accel/qaic/qaic_data.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/4b2a170c25862ad116bd31be6b9841646b4862e8 https://git.kernel.org/stable/c/b362fc904d264a88b4af20baae9e82491c285e9c https://git.kernel.org/stable/c/57fae0c505f49bb1e3d5660cd2cc49697ed85f7c https://git.kernel.org/stable/c/67d15c7aa0864dfd82325c7e7e7d8548b5224c7b