CVE-2025-38465 Details
Description
In the Linux kernel, the following vulnerability has been resolved: netlink: Fix wraparounds of sk->sk_rmem_alloc. Netlink has this pattern in some places if (atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf) atomic_add(skb->truesize, &sk->sk_rmem_alloc); , which has the same problem fixed by commit 5a465a0da13e ("udp: Fix multiple wraparounds of sk->sk_rmem_alloc."). For example, if we set INT_MAX to SO_RCVBUFFORCE, the condition is always false as the two operands are of int. Then, a single socket can eat as many skb as possible until OOM happens, and we can see multiple wraparounds of sk->sk_rmem_alloc. Let's fix it by using atomic_add_return() and comparing the two variables as unsigned int. Before: [root@fedora ~]# ss -f netlink Recv-Q Send-Q Local Address:Port Peer Address:Port -1668710080 0 rtnl:nl_wraparound/293 * After: [root@fedora ~]# ss -f netlink Recv-Q Send-Q Local Address:Port Peer Address:Port 2147483072 0 rtnl:nl_wraparound/290 * ^ `--- INT_MAX - 576
A vulnerability in the Linux kernel's netlink implementation can lead to a denial-of-service condition. This issue arises from improper management of socket receive buffers, specifically the 'sk_rmem_alloc' and 'sk_rcvbuf' values. When 'SO_RCVBUFFORCE' is set to 'INT_MAX', the netlink layer can be manipulated to exceed buffer limits, causing memory allocation issues that lead to out-of-memory conditions. The vulnerability is present in several versions of the Linux kernel.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed. Instructions for upgrading the Linux kernel can be found in the official Linux documentation or through the package management system of the Linux distribution in use.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cert-portal.siemens.com/productcert/html/ssa-082556.html | siemens-SADP | |
| https://git.kernel.org/stable/c/4b8e18af7bea92f8b7fb92d40aeae729209db250 | kernel.org | Patch |
| https://git.kernel.org/stable/c/55baecb9eb90238f60a8350660d6762046ebd3bd | kernel.org | Patch |
| https://git.kernel.org/stable/c/76602d8e13864524382b0687dc32cd8f19164d5a | kernel.org | Patch |
| https://git.kernel.org/stable/c/9da025150b7c14a8390fc06aea314c0a4011e82c | kernel.org | Patch |
| https://git.kernel.org/stable/c/ae8f160e7eb24240a2a79fc4c815c6a0d4ee16cc | kernel.org | Patch |
| https://git.kernel.org/stable/c/c4ceaac5c5ba0b992ee1dc88e2a02421549e5c98 | kernel.org | Patch |
| https://git.kernel.org/stable/c/cd7ff61bfffd7000143c42bbffb85eeb792466d6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/fd69af06101090eaa60b3d216ae715f9c0a58e5b | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html | CVE | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html | CVE | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 2.6.13, < 5.4.296 >= 5.5, < 5.10.240 >= 5.11, < 5.15.189 >= 5.16, < 6.1.146 >= 6.2, < 6.6.99 >= 6.7, < 6.12.39 >= 6.13, < 6.15.7 2.6.12 - 2.6.12 rc2 2.6.12 rc3 2.6.12 rc4 2.6.12 rc5 6.16 rc1 6.16 rc2 6.16 rc3 6.16 rc4 6.16 rc5 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | siemens-SADP |
| May 12, 2026 | CVE Modified | siemens-SADP |
| Dec 22, 2025 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Jul 25, 2025 | New CVE Received | kernel.org |