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 576F12836F for ; Wed, 12 Nov 2025 01:07:31 +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=1762909652; cv=none; b=GfXKeqJJqU/tusnkCDhNUsU515r9DF98Z8eSdtwEb0hEkpeZdFaSJAqCrxa8KUqRkC05WfO6Krb9zBWmm4YtTVMyfv3bkN/oZoSyzbWA7fpESVDJafFjQVeyO1ktZhHZ2q/1RvdDZLWVHP4iHx3Y5W6N5Fyx4ZJ9NJCVXJHT/fQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762909652; c=relaxed/simple; bh=6sZ4o8sukXer7HBE99MNAgIkTo8TR9/7ijp9n6kakJg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jrOT0um+QDXZOaSf7Ajnz7/BvDt5np9gv3Sw5mb0onU86SmCg+ECi2KpIn4wDVUhUJYXy7QbpQb0OA7vd9IbIlITXArUXzqna9mit9i3ViLLxaWtmUM1K4MyXP9mO/cyNENQ5i3vDtuKspuuZLQqocZ2fX7iDVZ7SFVEUKeoQyo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Cyxkv5jt; 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="Cyxkv5jt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8DC7FC16AAE; Wed, 12 Nov 2025 01:07:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1762909651; bh=6sZ4o8sukXer7HBE99MNAgIkTo8TR9/7ijp9n6kakJg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Cyxkv5jtfRTBFWchr+CwBKLe+TKN65GwA5Hq/zl+qTj5A3/pb9gesKjYSnhQN+wqz TuXvTwq2gUdi3Auo3N2wmONwkfM8FZwQSdomsdWgKG170FGnGqUXkJQsdIif9q1yvE IiqAZjjLKO2nN/edQsSAcZX5QsS3bpy2qz/9wkCA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-40111: drm/vmwgfx: Fix Use-after-free in validation Date: Wed, 12 Nov 2025 10:07:29 +0900 Message-ID: <2025111229-CVE-2025-40111-23d1@gregkh> X-Mailer: git-send-email 2.51.2 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=3417; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=cNX7kd8OXwRT+lZpBTUNKP8eBcpfIcTSxqF9DFjl3vs=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnCdy+qJ6z7vkBtn+X5t0bSh09FpUzKSpzk5rt24fMp6 3b/CGMo64hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJcHUwzDPbpMJy1lKtnb8+ 8/Npn+jLnXWaixjmcLYFBppGx6z0dBCOfbLDpOLrtOcpAA== 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: drm/vmwgfx: Fix Use-after-free in validation Nodes stored in the validation duplicates hashtable come from an arena allocator that is cleared at the end of vmw_execbuf_process. All nodes are expected to be cleared in vmw_validation_drop_ht but this node escaped because its resource was destroyed prematurely. The Linux kernel CVE team has assigned CVE-2025-40111 to this issue. Affected and fixed versions =========================== Issue introduced in 4.20 with commit 64ad2abfe9a628ce79859d072704bd1ef7682044 and fixed in 5.4.301 with commit 1822e5287b7dfa59d0af966756ebf1dc652b60ee Issue introduced in 4.20 with commit 64ad2abfe9a628ce79859d072704bd1ef7682044 and fixed in 5.10.246 with commit fb7165e5f3b3b10721ff70553583ad12e90e447a Issue introduced in 4.20 with commit 64ad2abfe9a628ce79859d072704bd1ef7682044 and fixed in 5.15.195 with commit 4c918f9d1ccccc0e092f43dcb2d8266f54d7340b Issue introduced in 4.20 with commit 64ad2abfe9a628ce79859d072704bd1ef7682044 and fixed in 6.1.157 with commit 9a8eaca539708ca532747f606d231f70e684e8ca Issue introduced in 4.20 with commit 64ad2abfe9a628ce79859d072704bd1ef7682044 and fixed in 6.6.113 with commit 867bda5d95d36f10da398fd4409e21c7002b2332 Issue introduced in 4.20 with commit 64ad2abfe9a628ce79859d072704bd1ef7682044 and fixed in 6.12.54 with commit 655a2f29bfc21105c80bf8a7d7aafa6eca8b4496 Issue introduced in 4.20 with commit 64ad2abfe9a628ce79859d072704bd1ef7682044 and fixed in 6.17.4 with commit 65608e991c2d771c13404e5c7ae122ac3c3357a4 Issue introduced in 4.20 with commit 64ad2abfe9a628ce79859d072704bd1ef7682044 and fixed in 6.18-rc1 with commit dfe1323ab3c8a4dd5625ebfdba44dc47df84512a 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-40111 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/gpu/drm/vmwgfx/vmwgfx_validation.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/1822e5287b7dfa59d0af966756ebf1dc652b60ee https://git.kernel.org/stable/c/fb7165e5f3b3b10721ff70553583ad12e90e447a https://git.kernel.org/stable/c/4c918f9d1ccccc0e092f43dcb2d8266f54d7340b https://git.kernel.org/stable/c/9a8eaca539708ca532747f606d231f70e684e8ca https://git.kernel.org/stable/c/867bda5d95d36f10da398fd4409e21c7002b2332 https://git.kernel.org/stable/c/655a2f29bfc21105c80bf8a7d7aafa6eca8b4496 https://git.kernel.org/stable/c/65608e991c2d771c13404e5c7ae122ac3c3357a4 https://git.kernel.org/stable/c/dfe1323ab3c8a4dd5625ebfdba44dc47df84512a