Description
In the Linux kernel, the following vulnerability has been resolved: vdpa/mlx5: fix wrong list iterated in add_direct_chain error path In add_direct_chain(), newly allocated direct MR entries are added to the local list 'tmp', which is spliced into mr->head only on success. On the error path, the cleanup loop was incorrectly iterating over mr->head instead of tmp. Fix by iterating over 'tmp' in the err_alloc cleanup path.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
94abbccdf2916cb03f9626f2d36c6e9971490c12 to < c93defccf5eb0a92bdafa43487be6ce0221a2477affected94abbccdf2916cb03f9626f2d36c6e9971490c12 to < ed3462365636df3bc63e34d7468f4faed3f70a4eaffected94abbccdf2916cb03f9626f2d36c6e9971490c12 to < 22d52af9e26a72bdfe2dcfb1419a091de4862cd9affected94abbccdf2916cb03f9626f2d36c6e9971490c12 to < eeac2ea4ad2654e3f160a9b608d05c9af31433a6affected94abbccdf2916cb03f9626f2d36c6e9971490c12 to < 637d867530daea61898e3346975978b7f67fc2acaffected94abbccdf2916cb03f9626f2d36c6e9971490c12 to < 6ca752850de3b8162f030793cc15001aec85c4cfaffected94abbccdf2916cb03f9626f2d36c6e9971490c12 to < c678d04ac9e5a64c2559c43bce273e845fbd09ebaffected94abbccdf2916cb03f9626f2d36c6e9971490c12 to < 23ae56d9e74c122f95cae71ae3b9fc259fb88446affected
Linux Linux
Default version status: affected
5.9affected0 to < 5.9unaffected5.10.270 to ≤ 5.10.*unaffected5.15.221 to ≤ 5.15.*unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.110 to ≤ 6.12.*unaffected6.18.52 to ≤ 6.18.*unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/c93defccf5eb0a92bdafa43487be6ce0221a2477 ↗
- https://git.kernel.org/stable/c/ed3462365636df3bc63e34d7468f4faed3f70a4e ↗
- https://git.kernel.org/stable/c/22d52af9e26a72bdfe2dcfb1419a091de4862cd9 ↗
- https://git.kernel.org/stable/c/eeac2ea4ad2654e3f160a9b608d05c9af31433a6 ↗
- https://git.kernel.org/stable/c/637d867530daea61898e3346975978b7f67fc2ac ↗
- https://git.kernel.org/stable/c/6ca752850de3b8162f030793cc15001aec85c4cf ↗
- https://git.kernel.org/stable/c/c678d04ac9e5a64c2559c43bce273e845fbd09eb ↗
- https://git.kernel.org/stable/c/23ae56d9e74c122f95cae71ae3b9fc259fb88446 ↗