[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025050139-CVE-2025-37757-8a5e@gregkh>
Date: Thu, 1 May 2025 14:57:03 +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-37757: tipc: fix memory leak in tipc_link_xmit
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
tipc: fix memory leak in tipc_link_xmit
In case the backlog transmit queue for system-importance messages is overloaded,
tipc_link_xmit() returns -ENOBUFS but the skb list is not purged. This leads to
memory leak and failure when a skb is allocated.
This commit fixes this issue by purging the skb list before tipc_link_xmit()
returns.
The Linux kernel CVE team has assigned CVE-2025-37757 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.11 with commit 365ad353c2564bba8835290061308ba825166b3a and fixed in 6.1.135 with commit 24e6280cdd7f8d01fc6b9b365fb800c2fb7ea9bb
Issue introduced in 4.11 with commit 365ad353c2564bba8835290061308ba825166b3a and fixed in 6.6.88 with commit 09c2dcda2c551bba30710c33f6ac678ae7395389
Issue introduced in 4.11 with commit 365ad353c2564bba8835290061308ba825166b3a and fixed in 6.12.24 with commit 7c5957f7905b4aede9d7a559d271438f3ca9e852
Issue introduced in 4.11 with commit 365ad353c2564bba8835290061308ba825166b3a and fixed in 6.13.12 with commit d0e02d3d27a0b4dcb13f954f537ca1dd8f282dcf
Issue introduced in 4.11 with commit 365ad353c2564bba8835290061308ba825166b3a and fixed in 6.14.3 with commit a40cbfbb8f95c325430f017883da669b2aa927d4
Issue introduced in 4.11 with commit 365ad353c2564bba8835290061308ba825166b3a and fixed in 6.15-rc2 with commit 69ae94725f4fc9e75219d2d69022029c5b24bc9a
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-37757
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:
net/tipc/link.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/24e6280cdd7f8d01fc6b9b365fb800c2fb7ea9bb
https://git.kernel.org/stable/c/09c2dcda2c551bba30710c33f6ac678ae7395389
https://git.kernel.org/stable/c/7c5957f7905b4aede9d7a559d271438f3ca9e852
https://git.kernel.org/stable/c/d0e02d3d27a0b4dcb13f954f537ca1dd8f282dcf
https://git.kernel.org/stable/c/a40cbfbb8f95c325430f017883da669b2aa927d4
https://git.kernel.org/stable/c/69ae94725f4fc9e75219d2d69022029c5b24bc9a
Powered by blists - more mailing lists