← CVE Intelligence

CVE-2024-56742

vfio/mlx5: Fix an unwind issue in mlx5vf_add_migration_pages() PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 6fadb021266d03c5fd7bca2cfa1607efd246dad1 before 465e06ffbb681f6fe34ca3aeba4b609677c3d4c1; affected 6fadb021266d03c5fd7bca2cfa1607efd246dad1 before 769fe4ce444b646b0bf6ac308de80686c730c7df; affected 6fadb021266d03c5fd7bca2cfa1607efd246dad1 before c44f1b2ddfa81c8d7f8e9b6bc76c427bc00e69d5; affected 6fadb021266d03c5fd7bca2cfa1607efd246dad1 before 22e87bf3f77c18f5982c19ffe2732ef0c7a25f16
Linux / Linuxaffected 5.18; unaffected 0 before 5.18; unaffected 6.6.160 through 6.6.*; unaffected 6.11.11 through 6.11.*; unaffected 6.12.2 through 6.12.*; unaffected 6.13 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.