All reports
Medium

kernel: xsk: fix an integer overflow in xp_create_and_assign_umem()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-21997

Probability of exploitation in the next 30 days: 0.29%

FIRST EPSS · 2026-11-25

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.

A flaw was found in the Linux kernel's AF_XDP (XDP sockets) subsystem. An integer overflow during memory pool allocation can cause distinct network packet buffers to reference overlapping memory addresses. A local authenticated attacker with permission to configure network sockets could exploit this vulnerability to cause a denial of service (DoS) or potentially access sensitive packet data.