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 BBEFE3AA507 for ; Wed, 22 Apr 2026 08:15:23 +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=1776845723; cv=none; b=Kt98mZwjtORS3o9Np7s9fKXPLKkiH9VCDokTrqZ3bfjabUfRukl/GNFhap/isb6AkZ2mtjlrcyJlv7FbDiBZpl+RvUknTQ4SKZUP4a7OrRoMC7n9wbUKCptsOYJ8qF7UbOUJGSNJC52CA7OhvEDRz1AmLowclhsvt+YmLskBKWo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776845723; c=relaxed/simple; bh=ggdO58Dqrp7e7L8YcU2IldPxlTX0g8R48JxNzrKlVpg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IT3wkJWZV+b/4a8cp08aBGnbGXO4KvBGhYQyFEBX19FJbPjahEzUjhQMawvaj44vwVzn7tc6D9BdkrwZVKNrNX/5SypozS6k5kF+aKabHn/jXLpiF8VJnH+LFRfBGvFA9jFJpuDqTMPxR5AmYvG+YohFlzxa1K++KBoKyHaf1VY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zs7Jvv5z; 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="zs7Jvv5z" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7952C2BCB7; Wed, 22 Apr 2026 08:15:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1776845723; bh=ggdO58Dqrp7e7L8YcU2IldPxlTX0g8R48JxNzrKlVpg=; h=From:To:Cc:Subject:Date:Reply-To:From; b=zs7Jvv5zbxHl9njMG4mG1dsB2z4/7crYL/khfVd8SSCWU5ibcxG/yYxfF9dMCugga d8R0mLj5uSAsMjh3QiBYCwJJ9OWzbM8TfCDV1aOAZ/7mQLO7ke4uH0yeNpti9XSYIy M98Pvlh0/su3ArvQ3eH8YRw2XrFqhtqYuel32Pi4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31431: crypto: algif_aead - Revert to operating out-of-place Date: Wed, 22 Apr 2026 10:15:15 +0200 Message-ID: <2026042214-CVE-2026-31431-3d65@gregkh> X-Mailer: git-send-email 2.53.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=2358; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ulXSJ97kElvtFJKqvTujP6Kf87hlrO3T2qvWTS2aWIA=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkvmiftWNnict0218fK6h//maiYdNkGqfgszR0BCZGxo jNnTUjoiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIkIBzHMlS51e9QXvv5lmdzi 5tK1+rdPdLxZyzCHq+21/Y5jyx7dtYh1levcYWmjn88DAA== 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: crypto: algif_aead - Revert to operating out-of-place This mostly reverts commit 72548b093ee3 except for the copying of the associated data. There is no benefit in operating in-place in algif_aead since the source and destination come from different mappings. Get rid of all the complexity added for in-place operation and just copy the AD directly. The Linux kernel CVE team has assigned CVE-2026-31431 to this issue. Affected and fixed versions =========================== Issue introduced in 4.14 with commit 72548b093ee38a6d4f2a19e6ef1948ae05c181f7 and fixed in 6.18.22 with commit fafe0fa2995a0f7073c1c358d7d3145bcc9aedd8 Issue introduced in 4.14 with commit 72548b093ee38a6d4f2a19e6ef1948ae05c181f7 and fixed in 6.19.12 with commit ce42ee423e58dffa5ec03524054c9d8bfd4f6237 Issue introduced in 4.14 with commit 72548b093ee38a6d4f2a19e6ef1948ae05c181f7 and fixed in 7.0 with commit a664bf3d603dc3bdcf9ae47cc21e0daec706d7a5 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-31431 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: crypto/af_alg.c crypto/algif_aead.c crypto/algif_skcipher.c include/crypto/if_alg.h 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/fafe0fa2995a0f7073c1c358d7d3145bcc9aedd8 https://git.kernel.org/stable/c/ce42ee423e58dffa5ec03524054c9d8bfd4f6237 https://git.kernel.org/stable/c/a664bf3d603dc3bdcf9ae47cc21e0daec706d7a5