[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025040350-CVE-2025-22006-d1a7@gregkh>
Date: Thu, 3 Apr 2025 08:17:58 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2025-22006: net: ethernet: ti: am65-cpsw: Fix NAPI registration sequence
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
net: ethernet: ti: am65-cpsw: Fix NAPI registration sequence
Registering the interrupts for TX or RX DMA Channels prior to registering
their respective NAPI callbacks can result in a NULL pointer dereference.
This is seen in practice as a random occurrence since it depends on the
randomness associated with the generation of traffic by Linux and the
reception of traffic from the wire.
The Linux kernel CVE team has assigned CVE-2025-22006 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.12.14 with commit 82b44cdb0355b5061769ae51909d1c8a1b7f31f2 and fixed in 6.12.21 with commit d4bf956547c38c04fad8d72a961ac4dc00bad000
Issue introduced in 6.13.3 with commit faef4c2bebac3c6e4161e66c3d42b85e88013709 and fixed in 6.13.9 with commit 942557abed7f38b77a47d77b92d448802eefe185
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-22006
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/ti/am65-cpsw-nuss.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/d4bf956547c38c04fad8d72a961ac4dc00bad000
https://git.kernel.org/stable/c/942557abed7f38b77a47d77b92d448802eefe185
https://git.kernel.org/stable/c/5f079290e5913a0060e059500b7d440990ac1066
Powered by blists - more mailing lists