[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025022748-CVE-2024-58022-60ab@gregkh>
Date: Thu, 27 Feb 2025 11:59:49 -0800
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-58022: mailbox: th1520: Fix a NULL vs IS_ERR() bug
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
Powered by blists - more mailing lists