CVE-2024-56742

published 29 Dec 2024 · updated 30 Oct 2026

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

3.3LowCVSS 3.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 22e87bf3f77c18f5982c19ffe2732ef0c7a25f16, Kernel 465e06ffbb681f6fe34ca3aeba4b609677c3d4c1, Kernel 549384162ed7e84bdefa004b589215d18b0190c5 and 2 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.18, >=6fadb021266d03c5fd7bca2cfa1607efd246dad1 <22e87bf3f77c18f5982c19ffe2732ef0c7a25f16, >=6fadb021266d03c5fd7bca2cfa1607efd246dad1 <465e06ffbb681f6fe34ca3aeba4b609677c3d4c1, >=6fadb021266d03c5fd7bca2cfa1607efd246dad1 <549384162ed7e84bdefa004b589215d18b0190c5, >=6fadb021266d03c5fd7bca2cfa1607efd246dad1 <769fe4ce444b646b0bf6ac308de80686c730c7df, >=6fadb021266d03c5fd7bca2cfa1607efd246dad1 <c44f1b2ddfa81c8d7f8e9b6bc76c427bc00e69d522e87bf3f77c18f5982c19ffe2732ef0c7a25f16, 465e06ffbb681f6fe34ca3aeba4b609677c3d4c1, 549384162ed7e84bdefa004b589215d18b0190c5, 769fe4ce444b646b0bf6ac308de80686c730c7df, c44f1b2ddfa81c8d7f8e9b6bc76c427bc00e69d5

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-56742 severity on Zeptric[![CVE-2024-56742](https://zeptric.io/badge/cve/CVE-2024-56742.svg)](https://zeptric.io/cve/CVE-2024-56742)