Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: xsk: Add missing overflow check in xdp_umem_reg The number of chunks can overflow u32. Make sure to return -EINVAL on overflow. Also remove a redundant u32 cast assigning umem->npgs.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected bbff2f321a864ee07c9d3d1245af498023146951 before 580634b03a55f04a3c1968bcbd97736c079c6601; affected bbff2f321a864ee07c9d3d1245af498023146951 before 3cfc3564411acf96bf2fb791f706a1aa4f872c1d; affected bbff2f321a864ee07c9d3d1245af498023146951 before a069909acc4435eeb41d05ccc03baa447cc01b7e; affected bbff2f321a864ee07c9d3d1245af498023146951 before bb2e3bfb2a79db0c2057c6f701b782954394c67f; affected bbff2f321a864ee07c9d3d1245af498023146951 before c7df4813b149362248d6ef7be41a311e27bf75fe |
| Linux / Linux | affected 4.18; unaffected 0 before 4.18; unaffected 5.10.177 through 5.10.*; unaffected 5.15.105 through 5.15.*; unaffected 6.1.22 through 6.1.*; unaffected 6.2.9 through 6.2.*; unaffected 6.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/580634b03a55f04a3c1968bcbd97736c079c6601
- https://git.kernel.org/stable/c/3cfc3564411acf96bf2fb791f706a1aa4f872c1d
- https://git.kernel.org/stable/c/a069909acc4435eeb41d05ccc03baa447cc01b7e
- https://git.kernel.org/stable/c/bb2e3bfb2a79db0c2057c6f701b782954394c67f
- https://git.kernel.org/stable/c/c7df4813b149362248d6ef7be41a311e27bf75fe
ADP enrichment
No English description supplied.
No references supplied.