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 6D04B1991AE for ; Mon, 21 Oct 2024 18:04: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=1729533868; cv=none; b=SlgcKnwci78lGge5pzCjywutUNC/pPoDxHqWnVihicFJr6FNMFnwQFZNR8d6bt0KphUe8s1qoSH52zUUkDC53P5cObwU2mcx6DD0X8ia+2AFwhENGlxUObPFs8+d4UCqeEUCzso4JU07pjGlPBSteiWWaEDBuJCriyLYhC/FYk8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729533868; c=relaxed/simple; bh=xNz2vO6cL9XHBYW01aCA1wev0B50fwnymnNULPl7gno=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=oqBuQHjlQ8gQmaqvxTmElpstFJ8vjAmhPMnLdQKNWFXQz5oDDskn738emWNYVR4hJ2aVHZtvTlwFej4++nSBEF3c3SEq4CjV/fdB/Xj9nRHaccop7bJ9ZXSv3nOgcSZ80INbbUuXWzazJxVsbpEmykF9YD49pwDetAKPWA+g8Sw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=U95A9SH7; 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="U95A9SH7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E5029C4CEC3; Mon, 21 Oct 2024 18:04:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729533868; bh=xNz2vO6cL9XHBYW01aCA1wev0B50fwnymnNULPl7gno=; h=From:To:Cc:Subject:Date:Reply-to:From; b=U95A9SH7RizcnA9NrqQA93l5ng5b5I5l/fMfMrxATaQmiBogM1OIuvqJmh0AQnk8v nGQX57SpKdx37BbHJ73SdSZoMaEkxtnmSgBdo1fwAaG6vfnYZ3tcPenkntc2SreDLD mS7pAKxoErE1MneEOw4+AiJTmndUb9cv/lBzW4kQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-49879: drm: omapdrm: Add missing check for alloc_ordered_workqueue Date: Mon, 21 Oct 2024 20:01:27 +0200 Message-ID: <2024102116-CVE-2024-49879-b16c@gregkh> X-Mailer: git-send-email 2.47.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=2660; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xNz2vO6cL9XHBYW01aCA1wev0B50fwnymnNULPl7gno=; b=owGbwMvMwCRo6H6F97bub03G02pJDOli096EZunEht2xLr3u9WVCiLjng85ZN5S8a+MuLhLc2 LxuybK+jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIfgbDgkUyYq23Wfgy+Hoa 1dROSFYYeahZMMyPOrPoiey7QoZABck5iyYprtdfz3MVAA== 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: omapdrm: Add missing check for alloc_ordered_workqueue As it may return NULL pointer and cause NULL pointer dereference. Add check for the return value of alloc_ordered_workqueue. The Linux kernel CVE team has assigned CVE-2024-49879 to this issue. Affected and fixed versions =========================== Issue introduced in 4.11 with commit 2f95bc6d324a and fixed in 5.10.227 with commit 2bda89735199 Issue introduced in 4.11 with commit 2f95bc6d324a and fixed in 5.15.168 with commit e60b0d3b5aa2 Issue introduced in 4.11 with commit 2f95bc6d324a and fixed in 6.1.113 with commit f37a1d9e5e22 Issue introduced in 4.11 with commit 2f95bc6d324a and fixed in 6.6.55 with commit b57b53e8ffcd Issue introduced in 4.11 with commit 2f95bc6d324a and fixed in 6.10.14 with commit 0d71916694ac Issue introduced in 4.11 with commit 2f95bc6d324a and fixed in 6.11.3 with commit 334de68eda2b Issue introduced in 4.11 with commit 2f95bc6d324a and fixed in 6.12-rc1 with commit e794b7b9b929 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-49879 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/omapdrm/omap_drv.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/2bda89735199683b03f55b807bd1e31a3857520b https://git.kernel.org/stable/c/e60b0d3b5aa2e8d934deca9e11215af84e632bc9 https://git.kernel.org/stable/c/f37a1d9e5e22d5489309c3cd2db476dcdcc6530c https://git.kernel.org/stable/c/b57b53e8ffcdfda87d954fc4187426a54fe75a3d https://git.kernel.org/stable/c/0d71916694aceb207fefecf62dfa811ec1108bbd https://git.kernel.org/stable/c/334de68eda2b99892ba869c15cb59bc956fd9f42 https://git.kernel.org/stable/c/e794b7b9b92977365c693760a259f8eef940c536