CVE-2025-21997: xsk: fix an integer overflow in xp_create_and_assign_umem()
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.
Security readout for executives and security teams
Plain-English summary
CVE-2025-21997 is a Linux kernel flaw in XSK/XDP buffer setup. A local, low-privileged user may be able to trigger memory aliasing that can cause a high-impact availability failure. The provided sources do not show data theft, privilege escalation, or confirmed exploitation.
Executive priority
Treat as scheduled priority unless local multi-user exposure is high. It is a kernel availability issue, not currently evidenced as remotely exploitable or actively exploited in the provided sources.
Technical view
The bug is an integer overflow in xp_create_and_assign_umem(). Two u32 values are multiplied before being cast to u64, allowing wraparound. The CVE states this can make two XDP buffers point to the same memory area. CVSS is 5.5 with local access, low privileges, no user interaction, and high availability impact.
Likely exposure
Exposure is limited to Linux systems running affected kernel builds. Business risk is highest where untrusted local users or tenants can exercise relevant kernel paths. The bundle lists Linux kernel versions and stable commits, but it does not provide complete distribution-by-distribution version mapping.
Exploitation context
The CVE is not marked in KEV, and the provided bundle does not cite active exploitation or public exploit availability. Attack prerequisites are local access and low privileges, based on the CVSS vector.
Researcher notes
Focus validation on whether deployed kernels include the stable fixes for the XSK UMEM integer-overflow path. The source evidence supports availability impact and local low-privilege prerequisites; it does not support claims about confidentiality impact, integrity impact, or weaponized exploitation.
Mitigation direction
Apply Linux kernel updates containing the referenced stable fixes.
Check your distribution advisory for exact fixed package versions.
Prioritize multi-user, tenant-hosting, and container-dense Linux systems.
Track Debian LTS guidance where Debian kernels are deployed.
Validation and detection
Inventory Linux kernel versions across affected servers and images.
Compare installed kernels with vendor advisories and linked stable commits.
Confirm patched kernels are running after reboot or live patch completion.
Document exceptions where vendor guidance is not yet available.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-190: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.