CVE-2026-90128 PUBLISHED

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

Assigner: Linux
Reserved: 11.09.2026 Published: 17.09.2026 Updated: 17.09.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 94abbccdf2916cb03f9626f2d36c6e9971490c12 to c93defccf5eb0a92bdafa43487be6ce0221a2477 (excl.)
  • affected from 94abbccdf2916cb03f9626f2d36c6e9971490c12 to ed3462365636df3bc63e34d7468f4faed3f70a4e (excl.)
  • affected from 94abbccdf2916cb03f9626f2d36c6e9971490c12 to 22d52af9e26a72bdfe2dcfb1419a091de4862cd9 (excl.)
  • affected from 94abbccdf2916cb03f9626f2d36c6e9971490c12 to eeac2ea4ad2654e3f160a9b608d05c9af31433a6 (excl.)
  • affected from 94abbccdf2916cb03f9626f2d36c6e9971490c12 to 637d867530daea61898e3346975978b7f67fc2ac (excl.)
  • affected from 94abbccdf2916cb03f9626f2d36c6e9971490c12 to 6ca752850de3b8162f030793cc15001aec85c4cf (excl.)
  • affected from 94abbccdf2916cb03f9626f2d36c6e9971490c12 to c678d04ac9e5a64c2559c43bce273e845fbd09eb (excl.)
  • affected from 94abbccdf2916cb03f9626f2d36c6e9971490c12 to 23ae56d9e74c122f95cae71ae3b9fc259fb88446 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.9 is affected
  • unaffected from 0 to 5.9 (excl.)
  • unaffected from 5.10.270 to 5.10.* (incl.)
  • unaffected from 5.15.221 to 5.15.* (incl.)
  • unaffected from 6.1.188 to 6.1.* (incl.)
  • unaffected from 6.6.157 to 6.6.* (incl.)
  • unaffected from 6.12.110 to 6.12.* (incl.)
  • unaffected from 6.18.52 to 6.18.* (incl.)
  • unaffected from 7.2.6 to 7.2.* (incl.)
  • unaffected from 7.3-rc1 to * (incl.)

References