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 B3C8217C77 for ; Thu, 27 Feb 2025 20:01:06 +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=1740686466; cv=none; b=R0EgMuNZubIr8NSb39VWozSQVg8pYsZmMr+NZI6tZxz17wnbCeNDW/SBpSFziFmbxoCszQULvEoW0Mu+0/QmtGDuon+BxUcNrG1Y1vjRq5e/ORQflm6iLDF1Loa/gPEeFlYOP0BKGS93zGgY7MQkPwmGpcCQcjEo8k7OoJ8vNCg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740686466; c=relaxed/simple; bh=Fi1TAJ+FTFqgZqm0oOFQ8/M1r7X98VcTxjsZjAjfB4g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Z4YIUvtlno3ve7Uhnw+ExB+HOZ1vldiPMEvP3sb5YtTgXzbXexF5QhWkK7oKOXAthiDr6Qdu/vk/21WIpXZCpPzt5270qeY9GdzvYzoKhdfWLJJn1Od/rdhJ9EmVgxe9cW8TCI5n2JdbEPT7/R8DBPuNlzsovMAwPHzZUDBG99w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=KVM45AIi; 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="KVM45AIi" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34E4EC4CEE4; Thu, 27 Feb 2025 20:01:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740686466; bh=Fi1TAJ+FTFqgZqm0oOFQ8/M1r7X98VcTxjsZjAjfB4g=; h=From:To:Cc:Subject:Date:Reply-to:From; b=KVM45AIi40nT5PeBzTzm0Z3kVrN6RSQAK4dxm/pNEVPSt4TEZ6DsbOPSFdurg7psJ UhCeMILppec4aS+X93A0eOTpGXC7IQSmZeaALGQk3aafZ7isgfhQ95FUBoikUMC8YE EoQcwhmLGM4MA/AqQ415H4EifcFY3Q01lPPgJ+w0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-58022: mailbox: th1520: Fix a NULL vs IS_ERR() bug Date: Thu, 27 Feb 2025 11:59:49 -0800 Message-ID: <2025022748-CVE-2024-58022-60ab@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=1876; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Fi1TAJ+FTFqgZqm0oOFQ8/M1r7X98VcTxjsZjAjfB4g=; b=owGbwMvMwCRo6H6F97bub03G02pJDOkHjpjcjN/IttXg5Kk1Oq6ihyYeVizuZUxxkeX9IhZ4w vP+ffeTHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRLE2G+c7/XresuXr2L3v1 y9gd96/0hF1+I84wP2nWz/hQT72pzBN3rDosfWfJhs8ZzAA= 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: mailbox: th1520: Fix a NULL vs IS_ERR() bug The devm_ioremap() function doesn't return error pointers, it returns NULL. Update the error checking to match. The Linux kernel CVE team has assigned CVE-2024-58022 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit 5d4d263e1c6b6b18acb4d67fd3b9af71b7404924 and fixed in 6.13.2 with commit ecbde88e544ff016fa08bbf2156dc431bb123e9b Issue introduced in 6.13 with commit 5d4d263e1c6b6b18acb4d67fd3b9af71b7404924 and fixed in 6.14-rc1 with commit d0f98e14c010bcf27898b635a54c1994ac4110a8 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-58022 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/mailbox/mailbox-th1520.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/ecbde88e544ff016fa08bbf2156dc431bb123e9b https://git.kernel.org/stable/c/d0f98e14c010bcf27898b635a54c1994ac4110a8