# CVE-2026-90128: vdpa/mlx5: fix wrong list iterated in add_direct_chain error path

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-09-17T16:06:29.877Z
- Modified: 2026-10-19T09:19:02.453Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 94abbccdf2916cb03f9626f2d36c6e9971490c12 before c93defccf5eb0a92bdafa43487be6ce0221a2477; from 94abbccdf2916cb03f9626f2d36c6e9971490c12 before ed3462365636df3bc63e34d7468f4faed3f70a4e; from 94abbccdf2916cb03f9626f2d36c6e9971490c12 before 22d52af9e26a72bdfe2dcfb1419a091de4862cd9; from 94abbccdf2916cb03f9626f2d36c6e9971490c12 before eeac2ea4ad2654e3f160a9b608d05c9af31433a6; from 94abbccdf2916cb03f9626f2d36c6e9971490c12 before 637d867530daea61898e3346975978b7f67fc2ac; from 94abbccdf2916cb03f9626f2d36c6e9971490c12 before 6ca752850de3b8162f030793cc15001aec85c4cf; from 94abbccdf2916cb03f9626f2d36c6e9971490c12 before c678d04ac9e5a64c2559c43bce273e845fbd09eb; from 94abbccdf2916cb03f9626f2d36c6e9971490c12 before 23ae56d9e74c122f95cae71ae3b9fc259fb88446; 5.9 (not affected: before 5.9; from 5.10.270 up to 5.10.*; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## 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>

## Sources

- CVE List: [CVE-2026-90128](https://www.cve.org/CVERecord?id=CVE-2026-90128), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-90128](https://nvd.nist.gov/vuln/detail/CVE-2026-90128), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-90128 · Whole record: https://cve.day/CVE-2026-90128.json · Rebuilt by cve.day 2026-11-25T22:59:39.312Z
