We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2022-49972

xsk: Fix corrupted packets for XDP_SHARED_UMEM



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.

Reserved 2025-06-18 | Published 2025-06-18 | Updated 2025-06-18 | Assigner Linux

Product status

Default status
unaffected

94033cd8e73b8632bab7c8b7bb54caa4f5616db7 before 2c75891d56ab6fe5ba0d415bfad91d514a4027cd
affected

94033cd8e73b8632bab7c8b7bb54caa4f5616db7 before 58ca14ed98c87cfe0d1408cc65a9745d9e9b7a56
affected

Default status
affected

5.16
affected

Any version before 5.16
unaffected

5.19.8
unaffected

6.0
unaffected

References

git.kernel.org/...c/2c75891d56ab6fe5ba0d415bfad91d514a4027cd

git.kernel.org/...c/58ca14ed98c87cfe0d1408cc65a9745d9e9b7a56

cve.org (CVE-2022-49972)

nvd.nist.gov (CVE-2022-49972)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2022-49972

Support options

Helpdesk Chat, Email, Knowledgebase