{"id":"CVE-2025-37757","state":"PUBLISHED","title":"tipc: fix memory leak in tipc_link_xmit","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ntipc: fix memory leak in tipc_link_xmit\n\nIn case the backlog transmit queue for system-importance messages is overloaded,\ntipc_link_xmit() returns -ENOBUFS but the skb list is not purged. This leads to\nmemory leak and failure when a skb is allocated.\n\nThis commit fixes this issue by purging the skb list before tipc_link_xmit()\nreturns.","publishedAt":"2025-05-01T12:56:01.195Z","updatedAt":"2026-10-15T21:51:59.433Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"365ad353c2564bba8835290061308ba825166b3a","status":"affected","lessThan":"84895f5ce3829d9fc030e5ec2d8729da4c0c9d08","versionType":"git"},{"version":"365ad353c2564bba8835290061308ba825166b3a","status":"affected","lessThan":"d4d40e437adb376be16b3a12dd5c63f0fa768247","versionType":"git"},{"version":"365ad353c2564bba8835290061308ba825166b3a","status":"affected","lessThan":"ed06675d3b8cd37120b447646d53f7cd3e6fcd63","versionType":"git"},{"version":"365ad353c2564bba8835290061308ba825166b3a","status":"affected","lessThan":"24e6280cdd7f8d01fc6b9b365fb800c2fb7ea9bb","versionType":"git"},{"version":"365ad353c2564bba8835290061308ba825166b3a","status":"affected","lessThan":"09c2dcda2c551bba30710c33f6ac678ae7395389","versionType":"git"},{"version":"365ad353c2564bba8835290061308ba825166b3a","status":"affected","lessThan":"7c5957f7905b4aede9d7a559d271438f3ca9e852","versionType":"git"},{"version":"365ad353c2564bba8835290061308ba825166b3a","status":"affected","lessThan":"d0e02d3d27a0b4dcb13f954f537ca1dd8f282dcf","versionType":"git"},{"version":"365ad353c2564bba8835290061308ba825166b3a","status":"affected","lessThan":"a40cbfbb8f95c325430f017883da669b2aa927d4","versionType":"git"},{"version":"365ad353c2564bba8835290061308ba825166b3a","status":"affected","lessThan":"69ae94725f4fc9e75219d2d69022029c5b24bc9a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/tipc/link.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.11","versionType":"semver"},{"version":"5.4.293","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.237","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.181","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.135","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.88","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.24","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.13.12","status":"unaffected","lessThanOrEqual":"6.13.*","versionType":"semver"},{"version":"6.14.3","status":"unaffected","lessThanOrEqual":"6.14.*","versionType":"semver"},{"version":"6.15","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/tipc/link.c"]}],"references":["https://git.kernel.org/stable/c/84895f5ce3829d9fc030e5ec2d8729da4c0c9d08","https://git.kernel.org/stable/c/d4d40e437adb376be16b3a12dd5c63f0fa768247","https://git.kernel.org/stable/c/ed06675d3b8cd37120b447646d53f7cd3e6fcd63","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","https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:03.054Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/37xxx/CVE-2025-37757.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-37757","state":"PUBLISHED","datePublished":"2025-05-01T12:56:01.195Z","dateUpdated":"2026-10-15T21:51:59.433Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-04-16T04:51:23.938Z"},"containers":{"cna":{"title":"tipc: fix memory leak in tipc_link_xmit","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ntipc: fix memory leak in tipc_link_xmit\n\nIn case the backlog transmit queue for system-importance messages is overloaded,\ntipc_link_xmit() returns -ENOBUFS but the skb list is not purged. This leads to\nmemory leak and failure when a skb is allocated.\n\nThis commit fixes this issue by purging the skb list before tipc_link_xmit()\nreturns."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"365ad353c2564bba8835290061308ba825166b3a","status":"affected","lessThan":"84895f5ce3829d9fc030e5ec2d8729da4c0c9d08","versionType":"git"},{"version":"365ad353c2564bba8835290061308ba825166b3a","status":"affected","lessThan":"d4d40e437adb376be16b3a12dd5c63f0fa768247","versionType":"git"},{"version":"365ad353c2564bba8835290061308ba825166b3a","status":"affected","lessThan":"ed06675d3b8cd37120b447646d53f7cd3e6fcd63","versionType":"git"},{"version":"365ad353c2564bba8835290061308ba825166b3a","status":"affected","lessThan":"24e6280cdd7f8d01fc6b9b365fb800c2fb7ea9bb","versionType":"git"},{"version":"365ad353c2564bba8835290061308ba825166b3a","status":"affected","lessThan":"09c2dcda2c551bba30710c33f6ac678ae7395389","versionType":"git"},{"version":"365ad353c2564bba8835290061308ba825166b3a","status":"affected","lessThan":"7c5957f7905b4aede9d7a559d271438f3ca9e852","versionType":"git"},{"version":"365ad353c2564bba8835290061308ba825166b3a","status":"affected","lessThan":"d0e02d3d27a0b4dcb13f954f537ca1dd8f282dcf","versionType":"git"},{"version":"365ad353c2564bba8835290061308ba825166b3a","status":"affected","lessThan":"a40cbfbb8f95c325430f017883da669b2aa927d4","versionType":"git"},{"version":"365ad353c2564bba8835290061308ba825166b3a","status":"affected","lessThan":"69ae94725f4fc9e75219d2d69022029c5b24bc9a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/tipc/link.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.11","versionType":"semver"},{"version":"5.4.293","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.237","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.181","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.135","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.88","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.24","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.13.12","status":"unaffected","lessThanOrEqual":"6.13.*","versionType":"semver"},{"version":"6.14.3","status":"unaffected","lessThanOrEqual":"6.14.*","versionType":"semver"},{"version":"6.15","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/tipc/link.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/84895f5ce3829d9fc030e5ec2d8729da4c0c9d08"},{"url":"https://git.kernel.org/stable/c/d4d40e437adb376be16b3a12dd5c63f0fa768247"},{"url":"https://git.kernel.org/stable/c/ed06675d3b8cd37120b447646d53f7cd3e6fcd63"},{"url":"https://git.kernel.org/stable/c/24e6280cdd7f8d01fc6b9b365fb800c2fb7ea9bb"},{"url":"https://git.kernel.org/stable/c/09c2dcda2c551bba30710c33f6ac678ae7395389"},{"url":"https://git.kernel.org/stable/c/7c5957f7905b4aede9d7a559d271438f3ca9e852"},{"url":"https://git.kernel.org/stable/c/d0e02d3d27a0b4dcb13f954f537ca1dd8f282dcf"},{"url":"https://git.kernel.org/stable/c/a40cbfbb8f95c325430f017883da669b2aa927d4"},{"url":"https://git.kernel.org/stable/c/69ae94725f4fc9e75219d2d69022029c5b24bc9a"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - The leak is driven through the TIPC link transmit path, reachable from a remote peer node over the routable UDP bearer (port 6118) or an Ethernet bearer, since incoming messages to unknown ports generate SYSTEM-importance reject messages via tipc_sk_rcv()/tipc_msg_reverse() that flow into tipc_link_xmit(). TIPC packet processing is network-facing net/ stack code, so AV:N applies.\nAC:L - The attacker controls both sides of the condition: it generates the SYSTEM-importance messages (flooding closed ports, or publishing names) and, as the link peer, controls the drain rate by withholding link acknowledgements, so overflowing backlog[TIPC_SYSTEM_IMPORTANCE] (limit ~873 packets at 1500 MTU) is reliably reproducible.\nPR:N - TIPC performs no peer authentication by default — neighbour discovery auto-admits unknown nodes (tipc_udp_rcast_add) and TIPC_CRYPTO requires out-of-band key configuration — so an unauthenticated node reaching the bearer can trigger this. Even on the purely local path, net/tipc has no capable() checks outside netlink_compat.c, so any unprivileged user suffices.\nUI:N - Triggering only requires sending TIPC traffic or performing socket operations; no action by any local user or administrator is needed.\nS:U - The leaked memory and the resulting exhaustion are confined to the kernel of the affected host, with no crossing of a VM, IOMMU, or other security authority boundary.\nC:N - The bug orphans skbs that are never read or exposed; there is no out-of-bounds read, uninitialized-memory disclosure, or use-after-free that could yield attacker-visible data.\nI:N - No memory is corrupted or overwritten — the skbs are simply never freed — so no kernel or user data is modified by the flaw.\nA:H - The leak is unbounded and attacker-paced: full-MTU skbs are leaked permanently at flood rate, exhausting kernel memory and causing system-wide allocation failures and OOM, and each overflow additionally forces tipc_node_link_down(), resetting the link and denying TIPC cluster connectivity."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T11:57:20.227Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"5.4.293"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"5.10.237"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"5.15.181"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.1.135"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.6.88"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.12.24"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.13.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.14.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.15"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html"},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T19:54:31.835Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2025-37757","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-10-15T21:44:59.238250Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-15T21:51:59.433Z"}}]}}}