CVE-2022-49972

MEDIUM

Linux Kernel 5.16-5.19.8 - Packet Corruption in XDP_SHARED_UMEM Mode

Title source: llm
STIX 2.1

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

CVSS v3 5.5
EPSS 0.0018
EPSS Percentile 8.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

Status published
Products (9)
linux/Kernel 5.16.0 - 5.19.8linux
Linux/Linux < 5.16
Linux/Linux 5.16
Linux/Linux 5.19.8 - 5.19.*
Linux/Linux 6.0
Linux/Linux 94033cd8e73b8632bab7c8b7bb54caa4f5616db7 - 2c75891d56ab6fe5ba0d415bfad91d514a4027cd
Linux/Linux 94033cd8e73b8632bab7c8b7bb54caa4f5616db7 - 58ca14ed98c87cfe0d1408cc65a9745d9e9b7a56
linux/linux_kernel 6.0 rc1 (3 CPE variants)
linux/linux_kernel 5.16 - 5.19.8
Published Jun 18, 2025
Tracked Since Feb 18, 2026