[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025011159-CVE-2024-55639-b3d2@gregkh>
Date: Sat, 11 Jan 2025 13:30:04 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-55639: net: renesas: rswitch: avoid use-after-put for a device tree node
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
net: renesas: rswitch: avoid use-after-put for a device tree node
The device tree node saved in the rswitch_device structure is used at
several driver locations. So passing this node to of_node_put() after
the first use is wrong.
Move of_node_put() for this node to exit paths.
The Linux kernel CVE team has assigned CVE-2024-55639 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.3 with commit b46f1e5793298c67efc2f1b917350a2cefacf9d6 and fixed in 6.6.67 with commit bf8c6755f02029d1eddc3ff19b870240f054afc7
Issue introduced in 6.3 with commit b46f1e5793298c67efc2f1b917350a2cefacf9d6 and fixed in 6.12.6 with commit 92007a28f95413058a7268dc84e5f44b700165d1
Issue introduced in 6.3 with commit b46f1e5793298c67efc2f1b917350a2cefacf9d6 and fixed in 6.13-rc3 with commit 66b7e9f85b8459c823b11e9af69dbf4be5eb6be8
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-55639
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/net/ethernet/renesas/rswitch.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/bf8c6755f02029d1eddc3ff19b870240f054afc7
https://git.kernel.org/stable/c/92007a28f95413058a7268dc84e5f44b700165d1
https://git.kernel.org/stable/c/66b7e9f85b8459c823b11e9af69dbf4be5eb6be8
Powered by blists - more mailing lists