Integer Overflow or Wraparound Affecting kernel-headers package, versions <0:5.14.0-570.21.1.0.1.el9_6


Severity

Recommended
high

Based on Oracle Linux 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-ORACLE9-KERNELHEADERS-10342859
  • published11 Jun 2025
  • disclosed3 Apr 2025

Introduced: 3 Apr 2025

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

How to fix?

Upgrade Oracle:9 kernel-headers to version 0:5.14.0-570.21.1.0.1.el9_6 or higher.
This issue was patched in ELSA-2025-8643.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-headers package and not the kernel-headers package as distributed by Oracle. See How to fix? for Oracle: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