Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: RDMA/umem: Be careful about boundary conditions in ib_umem_find_best_pgsz() Several corner cases, especially important on 32 bits: - umem->iova is u64, the function argument should pass in u64 or iova will be truncated - Check that the length is not too large for the iova - Check that lengths > 4G don't overflow the GENMASK
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected a40c20dabdf9045270767c75918feb67f0727c89 before 3014da7587ce006cd08004fd6b257626b314e0a3; affected a40c20dabdf9045270767c75918feb67f0727c89 before ddccf6cc3861de2fe60986933bead79220e0d797; affected a40c20dabdf9045270767c75918feb67f0727c89 before e9bbb5f5349ef560ff6f0395564f04c3aa664559; affected a40c20dabdf9045270767c75918feb67f0727c89 before ae3cf7d2c4d506c5c91746321644e1a08d989e2a; affected a40c20dabdf9045270767c75918feb67f0727c89 before 5fc5b73109540809b094710fac44da81dd8a3ff8; affected a40c20dabdf9045270767c75918feb67f0727c89 before 09ea6837a0434fb4db99528a5055b6d822135dcf; affected 85e40ba1c4a5246b35e91c2ed69d4680426904d7; affected 59f07434b297e2268f5d5c567db5b09145245cf1; affected 488229b7729d7becf4c39c5e74fb709fb35115c2; affected 5.4.73 before 5.5; affected 5.8.17 before 5.9; affected 5.9.2 before 5.10 |
| Linux / Linux | affected 5.10; unaffected 0 before 5.10; unaffected 5.15.222 through 5.15.*; unaffected 6.1.189 through 6.1.*; unaffected 6.6.158 through 6.6.*; unaffected 6.12.111 through 6.12.*; unaffected 6.18.53 through 6.18.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/3014da7587ce006cd08004fd6b257626b314e0a3
- https://git.kernel.org/stable/c/ddccf6cc3861de2fe60986933bead79220e0d797
- https://git.kernel.org/stable/c/e9bbb5f5349ef560ff6f0395564f04c3aa664559
- https://git.kernel.org/stable/c/ae3cf7d2c4d506c5c91746321644e1a08d989e2a
- https://git.kernel.org/stable/c/5fc5b73109540809b094710fac44da81dd8a3ff8
- https://git.kernel.org/stable/c/09ea6837a0434fb4db99528a5055b6d822135dcf