Skip to main content
← All vulnerabilities
CVE-2026-90128

vdpa/mlx5: fix wrong list iterated in add_direct_chain error path

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, and 2 more
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 94abbccdf2916cb03f9626f2d36c6e9971490c12 · fixed in c93defccf5eb0a92bdafa43487be6ce0221a2477; From 94abbccdf2916cb03f9626f2d36c6e9971490c12 · fixed in ed3462365636df3bc63e34d7468f4faed3f70a4e; From 94abbccdf2916cb03f9626f2d36c6e9971490c12 · fixed in 22d52af9e26a72bdfe2dcfb1419a091de4862cd9; From 94abbccdf2916cb03f9626f2d36c6e9971490c12 · fixed in eeac2ea4ad2654e3f160a9b608d05c9af31433a6; From 94abbccdf2916cb03f9626f2d36c6e9971490c12 · fixed in 637d867530daea61898e3346975978b7f67fc2ac; From 94abbccdf2916cb03f9626f2d36c6e9971490c12 · fixed in 6ca752850de3b8162f030793cc15001aec85c4cf; From 94abbccdf2916cb03f9626f2d36c6e9971490c12 · fixed in c678d04ac9e5a64c2559c43bce273e845fbd09eb; From 94abbccdf2916cb03f9626f2d36c6e9971490c12 · fixed in 23ae56d9e74c122f95cae71ae3b9fc259fb88446

  • Linux Linux

    5.9

  • KernelLinux

    From 5.9.0 · fixed in 5.10.270; From 5.11.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6

References 8

git.kernel.org