CVE-2025-21997
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| rhel | 9 | fixed | |
| sles | affected | | |
| rocky | 9 | fixed | |
| debian | bookworm | fixed | 6.1.133-1 |
| debian | bullseye | fixed | 0 |
| debian | forky | fixed | 6.12.21-1 |
| debian | sid | fixed | 6.12.21-1 |
| debian | trixie | fixed | 6.12.21-1 |
| almalinux | 9 | fixed | python3-perf-5.14.0-570.21.1.el9_6.aarch64.rpm |
References
- https://access.redhat.com/errata/RHSA-2025:8643
- https://www.suse.com/security/cve/CVE-2025-21997.html
- https://errata.rockylinux.org/RLSA-2025:8643
- https://security-tracker.debian.org/tracker/CVE-2025-21997
- https://bugzilla.redhat.com/2356587
- https://bugzilla.redhat.com/2356639
- https://bugzilla.redhat.com/2357143
- https://bugzilla.redhat.com/2360300
- https://bugzilla.redhat.com/2360921
- https://bugzilla.redhat.com/2367748
- https://errata.almalinux.org/9/ALSA-2025-8643.html
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.