CWE
190
Advisory Published
Updated

CVE-2025-21997: xsk: fix an integer overflow in xp_create_and_assign_umem()

First published: Thu Apr 03 2025(Updated: )

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.

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
Linux Kernel
Linux Kernel>=5.16<6.1.132
Linux Kernel>=6.2<6.6.85
Linux Kernel>=6.7<6.12.21
Linux Kernel>=6.13<6.13.9
Linux Kernel=6.14-rc1
Linux Kernel=6.14-rc2
Linux Kernel=6.14-rc3
Linux Kernel=6.14-rc4
Linux Kernel=6.14-rc5
Linux Kernel=6.14-rc6
Linux Kernel=6.14-rc7

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2025-21997?

    CVE-2025-21997 is considered a high-severity vulnerability due to the potential for integer overflow leading to system instability.

  • How do I fix CVE-2025-21997?

    To fix CVE-2025-21997, you should update to the latest version of the Linux kernel where the vulnerability has been patched.

  • What systems are affected by CVE-2025-21997?

    CVE-2025-21997 affects the Linux kernel, impacting systems that utilize vulnerable versions.

  • What type of vulnerability is CVE-2025-21997?

    CVE-2025-21997 is an integer overflow vulnerability in the Linux kernel's xsk module.

  • Can CVE-2025-21997 be exploited remotely?

    CVE-2025-21997 may allow local user privileges to escalate, but it is not typically exploited remotely.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203