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 C71EB1FF7C2 for ; Mon, 2 Dec 2024 13:53:05 +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=1733147585; cv=none; b=PP64Emvw7BhWplK1q2eUlcwWEghMSkQEzbR2q4bhHKi1C+VYOvV7EWClAOnJQgfaqDuaoet+gQ8dTOeg3v2PIN5jayoXxiB2VG8NPmCOKN6BxOH3evTdN3lz9TV4LVVqK4y8sfCB/E5+IvguQHT4Wx0UpHfFTG/ORlJ/vpVDyes= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733147585; c=relaxed/simple; bh=QL6/DGBgLuS3MPGiTu0RA1Fe3Zj6e6vXWaouefUms4s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=T1h87HR7q/yHv75c0oOELmPdnJox5pSGvfHAOGGhvVNqU9b7Sw6sN9c1iw/IGquuo1LOqt/x11sMcajGQLNbTN0BVLGZyYidyLPDE48mV9w3M6ULGdUKceBibfNxnswu/dBUp+LWNm8hkQzKxWlAv7pG/xmbjVi58YEhx29jG3g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=oVHI6vEk; 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="oVHI6vEk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE5F4C4CED1; Mon, 2 Dec 2024 13:53:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1733147585; bh=QL6/DGBgLuS3MPGiTu0RA1Fe3Zj6e6vXWaouefUms4s=; h=From:To:Cc:Subject:Date:Reply-to:From; b=oVHI6vEkLeU7iegQ4nRCuUtEZ7KKIFJvFBFBaHCUf7e1H5FhBr1qIerpcquSHNxvp cCXxKVe1yFycs4pZ+1PECU9hQwUJvATWr5Z3yiysbeExJnpka+B2UXPR0dwnOo3CCn 3+O0eQj2uqPuQbwO/HQIgI78pi/8I/bKtbwWKAkE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-53115: drm/vmwgfx: avoid null_ptr_deref in vmw_framebuffer_surface_create_handle Date: Mon, 2 Dec 2024 14:52:54 +0100 Message-ID: <2024120250-CVE-2024-53115-fd6e@gregkh> X-Mailer: git-send-email 2.47.1 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=1940; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=QL6/DGBgLuS3MPGiTu0RA1Fe3Zj6e6vXWaouefUms4s=; b=owGbwMvMwCRo6H6F97bub03G02pJDOm+uzdZR/vY+2Uuf1DyYvnV70frLEKPitRYdtd+XDHxd Pmxyeq/OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi2ZIMC1blqZf9vfZvfl7g XHmFJLl9bofd5Rnmu3e068/s+bXeYIXJREuj4/KfQqxjAQ== 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: drm/vmwgfx: avoid null_ptr_deref in vmw_framebuffer_surface_create_handle The 'vmw_user_object_buffer' function may return NULL with incorrect inputs. To avoid possible null pointer dereference, add a check whether the 'bo' is NULL in the vmw_framebuffer_surface_create_handle. The Linux kernel CVE team has assigned CVE-2024-53115 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit d6667f0ddf46 and fixed in 6.11.10 with commit 36f64da08055 Issue introduced in 6.11 with commit d6667f0ddf46 and fixed in 6.12 with commit 93d1f41a82de Issue introduced in 6.10.4 with commit af6441e6f3d4 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-2024-53115 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_kms.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/36f64da080555175b58d85f99f5f90435e274e56 https://git.kernel.org/stable/c/93d1f41a82de382845af460bf03bcb17dcbf08c5