CVE-2022-49972

xsk: Fix corrupted packets for XDP_SHARED_UMEM

State
Published
Severity
7.8 High
Published
Jun 18, 2025
Updated
Oct 15, 2026
Reserved
Jun 18, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 94033cd8e73b8632bab7c8b7bb54caa4f5616db7 to before 2c75891d56ab6fe5ba0d415bfad91d514a4027cdAffected
  • 94033cd8e73b8632bab7c8b7bb54caa4f5616db7 to before 58ca14ed98c87cfe0d1408cc65a9745d9e9b7a56Affected
LinuxLinux
  • 5.16Affected
  • before 5.16Not affected
  • 5.19.8 through 5.19.*Not affected
  • 6.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.