[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025072505-CVE-2025-38452-d9d1@gregkh>
Date: Fri, 25 Jul 2025 17:28:14 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-38452: net: ethernet: rtsn: Fix a null pointer dereference in rtsn_probe()
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
net: ethernet: rtsn: Fix a null pointer dereference in rtsn_probe()
Add check for the return value of rcar_gen4_ptp_alloc()
to prevent potential null pointer dereference.
The Linux kernel CVE team has assigned CVE-2025-38452 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.11 with commit b0d3969d2b4db82602492cad576b8de494a12ddf and fixed in 6.12.39 with commit 9f260e16b297f8134c5f90bb5a20e805ff57e853
Issue introduced in 6.11 with commit b0d3969d2b4db82602492cad576b8de494a12ddf and fixed in 6.15.7 with commit d52eb4f0e0ca9a5213b8795abbeb11a325d9b22d
Issue introduced in 6.11 with commit b0d3969d2b4db82602492cad576b8de494a12ddf and fixed in 6.16-rc6 with commit 95a234f6affbf51f06338383537ab80d637bb785
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-2025-38452
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/rtsn.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/9f260e16b297f8134c5f90bb5a20e805ff57e853
https://git.kernel.org/stable/c/d52eb4f0e0ca9a5213b8795abbeb11a325d9b22d
https://git.kernel.org/stable/c/95a234f6affbf51f06338383537ab80d637bb785
Powered by blists - more mailing lists