Integer overflow in Linux
CVE-2025-21997
- CVSS v3
- 5.5 Medium
- Public exploits
- None known
- EPSS
- 0.002 · 10.8th percentile
- Published
- 2025-04-03
In the Linux kernel, the following vulnerability has been resolved:
xsk: fix an integer overflow in xp_create_and_assign_umem()
Since the i and pool->chunk_size variables are of type 'u32',
their product can wrap around and then be cast to 'u64'.
This can lead to two different XDP buffers pointing to the same
memory area.
Found by InfoTeCS on behalf of Linux Verification Center
(linuxtesting.org) with SVACE.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.002, 10.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 94033cd8e73b8632bab7c8b7bb54caa4f5616db7, 5.16, 0
- Linux Kernel — versions 6.14
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/205649d642a5b376724f04f3a5b3586815e43d3b (Patch)
- git.kernel.org/stable/c/b7b4be1fa43294b50b22e812715198629806678a (Patch)
- git.kernel.org/stable/c/130290f44bce0eead2b827302109afc3fe189ddd (Patch)
- git.kernel.org/stable/c/c7670c197b0f1a8726ad5c87bc2bf001a1fc1bbd (Patch)
- git.kernel.org/stable/c/559847f56769037e5b2e0474d3dbff985b98083d (Patch)
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html