# CVE-2022-49972: xsk: Fix corrupted packets for XDP_SHARED_UMEM

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2025-06-18T11:00:35.382Z
- Modified: 2026-10-15T22:17:26.413Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 94033cd8e73b8632bab7c8b7bb54caa4f5616db7 before 2c75891d56ab6fe5ba0d415bfad91d514a4027cd; from 94033cd8e73b8632bab7c8b7bb54caa4f5616db7 before 58ca14ed98c87cfe0d1408cc65a9745d9e9b7a56; 5.16 (not affected: before 5.16; from 5.19.8 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: from 5.16 before 5.19.8; 6.0

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/2c75891d56ab6fe5ba0d415bfad91d514a4027cd> (patch)
- <https://git.kernel.org/stable/c/58ca14ed98c87cfe0d1408cc65a9745d9e9b7a56> (patch)

## Sources

- CVE List: [CVE-2022-49972](https://www.cve.org/CVERecord?id=CVE-2022-49972), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2022-49972](https://nvd.nist.gov/vuln/detail/CVE-2022-49972), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2022-49972 · Whole record: https://cve.day/CVE-2022-49972.json · Rebuilt by cve.day 2026-11-25T22:58:20.988Z
