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 C9AFC426EC7 for ; Wed, 4 Feb 2026 16:20:10 +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=1770222010; cv=none; b=F1DJeoh/mGIjK1o2I8kS6vNbVeBX6JNLeHzuoZo6av56PJGCi31v8fP7uZCh5d7gZZGp41EOzCBqDeYDI7QgAnvRoj9Z7LQ7gMOKXFs69hHNNgdOoPZyhtvMZRCYd/QtEXb7P6/WnGuv9TjTe+GNWm09dLAwgtvyLKx1zVPRNf0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770222010; c=relaxed/simple; bh=/zhxHMxgF2FYIPJAFibu86qivpGwjKl35DN48lKU4OQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PaaLen2vxYVMzn2d0AjPxKT8OciATB8GnD+EmwPjvsGKG5RUphsVuM7KV7KVum4Ic7oh2mD5o++T1DndKZMdTHGHB5NSgY4hOWfcIrmESTUduRG4NP0ONBxdF46NWdyx/W82gG6COBjaVA+mxJpPbsL1l4iF1figT6/1EYme4l8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=AzasMLFE; 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="AzasMLFE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54BD6C4CEF7; Wed, 4 Feb 2026 16:20:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1770222010; bh=/zhxHMxgF2FYIPJAFibu86qivpGwjKl35DN48lKU4OQ=; h=From:To:Cc:Subject:Date:Reply-To:From; b=AzasMLFE7DsVmsOfArebryq/QDUAZDCcMsvtsP9YaSAJgJbP2BChb3+2qj4hTwSZF yNdQ5C6XwTqYNP4TpOaaFfKZ8I8fex7YZNYD6ko67vYJOtelfjclZNC1TV4yygauW8 /f250HHZmGB1tCH/JCst6by05pbYeM0BJ6YODvj4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23056: uacce: implement mremap in uacce_vm_ops to return -EPERM Date: Wed, 4 Feb 2026 17:14:15 +0100 Message-ID: <2026020413-CVE-2026-23056-ddc8@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=2892; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ecNy8w/r/5X27NrsEcn2ndT3X2LmdPlklxDfOBjfaRU=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnNBaGvLje9Wm/y6cb8dbKNAX+VJv3Uend3iRpjsO5yS THdHOeqjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI6k6GBYu27y8/OPfZvgna PIp1d5LnWL54Fccwh+NsttvPPbPkLL5auU5OOHZUZe2+xwA= 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: uacce: implement mremap in uacce_vm_ops to return -EPERM The current uacce_vm_ops does not support the mremap operation of vm_operations_struct. Implement .mremap to return -EPERM to remind users. The reason we need to explicitly disable mremap is that when the driver does not implement .mremap, it uses the default mremap method. This could lead to a risk scenario: An application might first mmap address p1, then mremap to p2, followed by munmap(p1), and finally munmap(p2). Since the default mremap copies the original vma's vm_private_data (i.e., q) to the new vma, both munmap operations would trigger vma_close, causing q->qfr to be freed twice(qfr will be set to null here, so repeated release is ok). The Linux kernel CVE team has assigned CVE-2026-23056 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit 015d239ac0142ad0e26567fd890ef8d171f13709 and fixed in 6.6.122 with commit 4c042bc71474dbe417c268f4bfb8ec196f802f07 Issue introduced in 5.7 with commit 015d239ac0142ad0e26567fd890ef8d171f13709 and fixed in 6.12.68 with commit a407ddd61b3e6afc5ccfcd1478797171cf5686ee Issue introduced in 5.7 with commit 015d239ac0142ad0e26567fd890ef8d171f13709 and fixed in 6.18.8 with commit ba29b59d124e725e0377f09b2044909c91d657a1 Issue introduced in 5.7 with commit 015d239ac0142ad0e26567fd890ef8d171f13709 and fixed in 6.19-rc7 with commit 02695347be532b628f22488300d40c4eba48b9b7 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-23056 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/misc/uacce/uacce.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/4c042bc71474dbe417c268f4bfb8ec196f802f07 https://git.kernel.org/stable/c/a407ddd61b3e6afc5ccfcd1478797171cf5686ee https://git.kernel.org/stable/c/ba29b59d124e725e0377f09b2044909c91d657a1 https://git.kernel.org/stable/c/02695347be532b628f22488300d40c4eba48b9b7