CVE-2025-21997

xsk: fix an integer overflow in xp_create_and_assign_umem()

Medium · published April 3, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
9.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00204 · 9.8th percentile
Published
2025-04-03T07:19Z
EPSS history
Timeline
  • 03 APR 07:19Z
    xsk: fix an integer overflow in xp_create_and_assign_umem()
    cvelistv5