Vulnerabilities · 2024 · Linux
CVE-2024-56742
Linux Kernel vulnerability
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
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/22e87bf3f77c18f5982c19ffe2732ef0c7a25f16 · Patch
- git.kernel.org/stable/c/769fe4ce444b646b0bf6ac308de80686c730c7df · Patch
- git.kernel.org/stable/c/c44f1b2ddfa81c8d7f8e9b6bc76c427bc00e69d5 · Patch
- git.kernel.org/stable/c/465e06ffbb681f6fe34ca3aeba4b609677c3d4c1
- git.kernel.org/stable/c/549384162ed7e84bdefa004b589215d18b0190c5
- nvd.nist.gov/vuln/detail/CVE-2024-56742
- cve.org/CVERecord?id=CVE-2024-56742
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.