From mboxrd@z Thu Jan 1 00:00:00 1970 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 A6BED145FE4 for ; Sat, 17 Aug 2024 09:24:28 +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=1723886668; cv=none; b=nJ/JCkhK4zVacKZtvic935Xf/EJ4n0irIR+0ocv37yaL1UkH8xZcV3lP+n7ePuv1KjHkoNV5wK9kSyks6H0gNSK3INS9TrpSVQUxlpnT5Xogc55YWmjoEUFPpl8tm/hM/pDfk61ng9GeQQWxRPPaMFrkvLx8BP5PUq0WLW4+ecQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723886668; c=relaxed/simple; bh=frrTcDnaC01nnWZBapfSYthQnB1u8cM2EbIOKshWuwc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RNVYQ/nYEHj7mge6osA5iLJAffCi17GWfNta92ZsHb1Wx6ixThZLQyozWqOcL9kGNF/4Xc6z0/gSFTJf3DDwuu27sJizMgtQzmHaItQvJ7wBUdayUyOSG1Jg4G9zlMZl5aeIqm7ixpywEJHT9drEvh8ImGR6ydU+vmRZzJB+j8s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Gbg/uc12; 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="Gbg/uc12" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 26575C116B1; Sat, 17 Aug 2024 09:24:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1723886668; bh=frrTcDnaC01nnWZBapfSYthQnB1u8cM2EbIOKshWuwc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Gbg/uc12E7xFk2FcCgjKbGv6Sxyj7XnjhVwLg5vX6JFh5TJFnLlGjighFmFEpJsC8 r41CDjEpgrMeRYxEC7LMkY7bIl6u8Uiw3bnCBJlutKa37614TsmAsf7jOR2D+ZKjJJ STYUREUNJ1p49WAgCIELHT+SnsDeEz7CbV72q3w0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-43829: drm/qxl: Add check for drm_cvt_mode Date: Sat, 17 Aug 2024 11:22:33 +0200 Message-ID: <2024081726-CVE-2024-43829-72cb@gregkh> X-Mailer: git-send-email 2.46.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=2111; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=frrTcDnaC01nnWZBapfSYthQnB1u8cM2EbIOKshWuwc=; b=kA0DAAIRMUfUDdst+ykByyZiAGbAa9Ohyw6JspJ+1onC+MoP26SeNn27xieAYeSC/+tlxZfMx 4hdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmbAa9MACgkQMUfUDdst+ykAPACfdoe0 dzNJ8gOuvQjq7e8AvahFHjYAoMpOtegZLgdOPkuyodZBhDSPr1z1 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/qxl: Add check for drm_cvt_mode Add check for the return value of drm_cvt_mode() and return the error if it fails in order to avoid NULL pointer dereference. The Linux kernel CVE team has assigned CVE-2024-43829 to this issue. Affected and fixed versions =========================== Issue introduced in 5.1 with commit 1b043677d4be and fixed in 6.1.103 with commit f28b353c0c6c Issue introduced in 5.1 with commit 1b043677d4be and fixed in 6.6.44 with commit 4b1f303bdece Issue introduced in 5.1 with commit 1b043677d4be and fixed in 6.10.3 with commit d4c57354a06c Issue introduced in 5.1 with commit 1b043677d4be and fixed in 6.11-rc1 with commit 7bd09a2db0f6 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-43829 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/qxl/qxl_display.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/f28b353c0c6c7831a70ccca881bf2db5e6785cdd https://git.kernel.org/stable/c/4b1f303bdeceac049e56e4b20eb5280bd9e02f4f https://git.kernel.org/stable/c/d4c57354a06cb4a77998ff8aa40af89eee30e07b https://git.kernel.org/stable/c/7bd09a2db0f617377027a2bb0b9179e6959edff3