What’s Vulnerable › Vulnerabilities

CVE-2024-56742: vfio/mlx5: Fix an unwind issue in mlx5vf_add_migration_pages()

Description

In the Linux kernel, the following vulnerability has been resolved: vfio/mlx5: Fix an unwind issue in mlx5vf_add_migration_pages() Fix an unwind issue in mlx5vf_add_migration_pages(). If a set of pages is allocated but fails to be added to the SG table, they need to be freed to prevent a memory leak. Any pages successfully added to the SG table will be freed as part of mlx5vf_free_data_buffer().

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.11.11, 6.12.2; Linux 6.13. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-56742 or the next vulnerability affects your stack