Bug 2357143 (CVE-2025-21997) - CVE-2025-21997 kernel: xsk: fix an integer overflow in xp_create_and_assign_umem()
Summary: CVE-2025-21997 kernel: xsk: fix an integer overflow in xp_create_and_assign_u...
Keywords:
Status: NEW
Alias: CVE-2025-21997
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-03 08:01 UTC by OSIDB Bzimport
Modified: 2025-06-09 12:55 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:8643 0 None None None 2025-06-09 07:19:51 UTC
Red Hat Product Errata RHSA-2025:8669 0 None None None 2025-06-09 12:55:43 UTC

Description OSIDB Bzimport 2025-04-03 08:01:49 UTC
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.

Comment 1 Avinash Hanwate 2025-04-03 09:02:08 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025040348-CVE-2025-21997-492c@gregkh/T

Comment 3 errata-xmlrpc 2025-06-09 07:19:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:8643 https://access.redhat.com/errata/RHSA-2025:8643

Comment 4 errata-xmlrpc 2025-06-09 12:55:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2025:8669 https://access.redhat.com/errata/RHSA-2025:8669


Note You need to log in before you can comment on or make changes to this bug.