What’s Vulnerable › Vulnerabilities

CVE-2025-21997: xsk: fix an integer overflow in xp_create_and_assign_umem()

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.132, 6.12.21, 6.13.9, 6.6.85. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-21997 or the next vulnerability affects your stack