5.5

CVE-2025-38465: netlink: Fix wraparounds of sk->sk_rmem_alloc.

Modified
AliasesUBUNTU-CVE-2025-38465DEBIAN-CVE-2025-38465
Published 25-07-2025Last modified 15-10-2026

Vulnerability summary

CVE-2025-38465 is a medium (CVSS 5.5) vulnerability in debian debian_linux. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 9.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.20%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 65 · Related 59

Timeline

  1. 25-07-2025
    PublishedVulnerability first disclosed.
  2. 15-10-2026
    Last modifiedVulnerability information updated.

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

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.20%

Chance of exploitation in the next 30 days

Percentile

10%

Versus all other CVEs

30-day change

Increase +0.03 pp

From 0.18% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu147 products
  • linuxAll versions (No fix recorded) | < 5.15.0-156.166 | < 6.8.0-100.100
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.15.0-1092.99 | < 6.8.0-1046.49
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian2 products
  • linux< 6.1.147-1 | < 6.12.41-1 | < 6.16.3-1
  • debian_linuxEOL11.0
Linux2 products
  • linux≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9da025150b7c14a8390fc06aea314c0a4011e82c | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c4ceaac5c5ba0b992ee1dc88e2a02421549e5c98 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < fd69af06101090eaa60b3d216ae715f9c0a58e5b | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 76602d8e13864524382b0687dc32cd8f19164d5a | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 55baecb9eb90238f60a8350660d6762046ebd3bd | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4b8e18af7bea92f8b7fb92d40aeae729209db250 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < cd7ff61bfffd7000143c42bbffb85eeb792466d6 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ae8f160e7eb24240a2a79fc4c815c6a0d4ee16cc | 2.6.12
  • 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

3 vendors · 151 products

References

47 links
Show all 47 references