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 E15E720E023 for ; Sat, 4 Oct 2025 15:52:52 +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=1759593173; cv=none; b=tFskTiyGNZ2tQZV0Xsbyo4C4YFOJYzItdVBvRyKvZgaM7MMR1u1LYlJd3d2yFI8nrVuIHPTUP4FABjnyWrG1YBP8WqNq8V54LGUH+k5M2IiyFyw99ZbAjC20AdO4wdNGz/4wjb+aYpPN9P7TnqnHNOyC0DqwFYmIkSDFDADCHRs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759593173; c=relaxed/simple; bh=DYCn0qNx9m8OYOHtjJwKFNOrSAh5ss1KpIIm0EmR+6E=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=O2ENXClz3hAPp52Wgvc2O2Te/YIdWQJvtdIRPqS56lhIAKN0PfwOPEpeRIodxXEp/wbVScQNwF35ZhJ5Jux+5dLTsdQgE1WKsTZog+VfnlzBdszWid/pU94lIHrhbfotmiN1vqioRYmzQ5cZiTX7kdy7fTByB7BJVfHAlaS8I5Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=q6PlvuPT; 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="q6PlvuPT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 131ABC4CEF1; Sat, 4 Oct 2025 15:52:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759593172; bh=DYCn0qNx9m8OYOHtjJwKFNOrSAh5ss1KpIIm0EmR+6E=; h=From:To:Cc:Subject:Date:Reply-to:From; b=q6PlvuPT9WxACu2XkhoWqxnOmjvJnGbXFz/QV0NYaQMrsOVe3m4/65uVQUwsKunLc Ico2ZdYYU5MM96PDDcmHIhWTPPgwJG+PnxQXA8ks92NGCXoFYqRc0nulGbKfOaQYoI L+w7IH/1Alt/WG5fcCd9FihOwIzNzdDTfWdEcdjE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50501: media: coda: Add check for dcoda_iram_alloc Date: Sat, 4 Oct 2025 17:51:26 +0200 Message-ID: <2025100420-CVE-2022-50501-1b81@gregkh> X-Mailer: git-send-email 2.51.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=3536; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=HJWz5CoH3cqV7+pFyCGOdIm1/BD6sIQKc0NMCRUuwhM=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkPnSpr51nPnlnLl3ngifE3l4ZL8ZNVQ9+90V4uzFprq ecffvR8RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExkmTjD/NIM3h3Kbxkebv3B sNt+w/PqNRsm3WSY7zrlt97HgqoJgoduSmjFpkh6XpRpAQA= 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: media: coda: Add check for dcoda_iram_alloc As the coda_iram_alloc may return NULL pointer, it should be better to check the return value in order to avoid NULL poineter dereference, same as the others. The Linux kernel CVE team has assigned CVE-2022-50501 to this issue. Affected and fixed versions =========================== Issue introduced in 3.17 with commit b313bcc9a46795c0233a765411cef9a15caaa7fb and fixed in 4.9.337 with commit 5688d33aa293dfa122d66bef9c0258ddf7ef11e7 Issue introduced in 3.17 with commit b313bcc9a46795c0233a765411cef9a15caaa7fb and fixed in 4.14.303 with commit 2c6887d5a29024bada6928d1d0959c9990401384 Issue introduced in 3.17 with commit b313bcc9a46795c0233a765411cef9a15caaa7fb and fixed in 4.19.270 with commit 45f57abaee136a1e39d2b04443a1bd5311ba7d94 Issue introduced in 3.17 with commit b313bcc9a46795c0233a765411cef9a15caaa7fb and fixed in 5.4.229 with commit 2b436f1410245412ea5e4c356a175a928d73eed3 Issue introduced in 3.17 with commit b313bcc9a46795c0233a765411cef9a15caaa7fb and fixed in 5.10.163 with commit 35ddd00b36589cf948875b825eedaab1aefd5ad5 Issue introduced in 3.17 with commit b313bcc9a46795c0233a765411cef9a15caaa7fb and fixed in 5.15.86 with commit b99872178e7473f21904fdeea38109275aad8ae8 Issue introduced in 3.17 with commit b313bcc9a46795c0233a765411cef9a15caaa7fb and fixed in 6.0.16 with commit 532417dc98cb9c1185ada4ea4e7ccf965c06bcb5 Issue introduced in 3.17 with commit b313bcc9a46795c0233a765411cef9a15caaa7fb and fixed in 6.1.2 with commit 05f165ded4a7baec31b65aba88e2cd1fb9b91db2 Issue introduced in 3.17 with commit b313bcc9a46795c0233a765411cef9a15caaa7fb and fixed in 6.2 with commit 6b8082238fb8bb20f67e46388123e67a5bbc558d 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-50501 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/media/platform/chips-media/coda-bit.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/5688d33aa293dfa122d66bef9c0258ddf7ef11e7 https://git.kernel.org/stable/c/2c6887d5a29024bada6928d1d0959c9990401384 https://git.kernel.org/stable/c/45f57abaee136a1e39d2b04443a1bd5311ba7d94 https://git.kernel.org/stable/c/2b436f1410245412ea5e4c356a175a928d73eed3 https://git.kernel.org/stable/c/35ddd00b36589cf948875b825eedaab1aefd5ad5 https://git.kernel.org/stable/c/b99872178e7473f21904fdeea38109275aad8ae8 https://git.kernel.org/stable/c/532417dc98cb9c1185ada4ea4e7ccf965c06bcb5 https://git.kernel.org/stable/c/05f165ded4a7baec31b65aba88e2cd1fb9b91db2 https://git.kernel.org/stable/c/6b8082238fb8bb20f67e46388123e67a5bbc558d