Integer Overflow or Wraparound Affecting kernel-uki-virt package, versions <0:5.14.0-570.21.1.el9_6


Severity

Recommended
high

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.03% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX9-KERNELUKIVIRT-10346168
  • published13 Jun 2025
  • disclosed9 Jun 2025

Introduced: 9 Jun 2025

NewCVE-2025-21997  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:9 kernel-uki-virt to version 0:5.14.0-570.21.1.el9_6 or higher.
This issue was patched in ALSA-2025:8643.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-uki-virt package and not the kernel-uki-virt package as distributed by AlmaLinux. See How to fix? for AlmaLinux:9 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1