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 183CB217711 for ; Wed, 26 Feb 2025 02:15:17 +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=1740536117; cv=none; b=Upx0qpICyqod3yPr1i2lSDWp54r+Un+x4XUIWTeMLyGAV8d/U9hvQUhZaaU0FA4sUYEju9e/5Jf0u3XZ012aNpVwQOwvMI7/CRMI8ZuiLAHscvLX0hJ+Dt8mJCLNyVZ8Da9glrK6ujJhGhWvOCk8T/wfKPDVOU77Ck3NHmE0ZcI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536117; c=relaxed/simple; bh=CwqPGG45wB20qw8ShfhW4keg4hbjzj4SPCbde8035Os=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MZ0om8dVSMYVObAQEE73Wu1H/tEvp8zbkT5t8dSMwQgNLSwwsLP1EMvVQ7rHjaJVTI92yugy8R9otJBjzbKkYZfmh7LxkmobWEWygmZAi3MyizK+OXhZd4I9SGlzq7tKF3+drXSUBwj7UxJt2+ToKBjXzqzxj1mONJnEzM1WgmU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nbdVkfmn; 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="nbdVkfmn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E596AC4CEDD; Wed, 26 Feb 2025 02:15:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536117; bh=CwqPGG45wB20qw8ShfhW4keg4hbjzj4SPCbde8035Os=; h=From:To:Cc:Subject:Date:Reply-to:From; b=nbdVkfmnpRMhtqh/Jb/1SqKORojERqok4wlkiXSV34m3NHJE415HFqxEM5c4n0h/Y M/+kKUMssMDJxWUt0lglgZrLOP5PradHjq7VYTRuaS/f8qlV/G5SAdKJDkBO2hrVzb RvOnhtgYoaEksDZJmVwxauV31oxCTit8Pka19cLo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49510: drm/omap: fix NULL but dereferenced coccicheck error Date: Wed, 26 Feb 2025 03:13:04 +0100 Message-ID: <2025022609-CVE-2022-49510-389b@gregkh> X-Mailer: git-send-email 2.48.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=2183; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=CwqPGG45wB20qw8ShfhW4keg4hbjzj4SPCbde8035Os=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7Khg/tZy8P215SmCw/Fv1vp2nHrpYPOLbXvA/aJbCl S3m3TtOdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBElkQzLLhy6cJDyTpxuccW bsIsH1csXWkXEcGwYIuAzdZdfV5XzipZKvnvjuNj7+4QBQA= 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/omap: fix NULL but dereferenced coccicheck error Fix the following coccicheck warning: ./drivers/gpu/drm/omapdrm/omap_overlay.c:89:22-25: ERROR: r_ovl is NULL but dereferenced. Here should be ovl->idx rather than r_ovl->idx. The Linux kernel CVE team has assigned CVE-2022-49510 to this issue. Affected and fixed versions =========================== Issue introduced in 5.17 with commit e02b5cc9e898ad6f223a69df63397beae60390ff and fixed in 5.17.14 with commit d2507be660310bb9bcca918f81f49b8bba07e462 Issue introduced in 5.17 with commit e02b5cc9e898ad6f223a69df63397beae60390ff and fixed in 5.18.3 with commit 08d9a75eab594ca508a440db7c73064498d26687 Issue introduced in 5.17 with commit e02b5cc9e898ad6f223a69df63397beae60390ff and fixed in 5.19 with commit 8f2a3970c969d0d8d7289a4c65edcedafc16fd92 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-2022-49510 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_overlay.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/d2507be660310bb9bcca918f81f49b8bba07e462 https://git.kernel.org/stable/c/08d9a75eab594ca508a440db7c73064498d26687 https://git.kernel.org/stable/c/8f2a3970c969d0d8d7289a4c65edcedafc16fd92