CVE-2024-56742: Linux kernel · vfio/mlx5: Fix an unwind issue in mlx5vf_add_migration_pages()
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 3.3 Low.
Data as of 30 Oct 2026, 14:24 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 3.3 |
|---|
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 29 Dec 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
AI-suggested
A fix for this vulnerability has been implemented in the Linux kernel. Users and administrators should apply the official Linux kernel updates that include this fix to prevent the memory leak. No additional mitigation steps are required beyond applying the patch.
Description
CVE-2024-56742 addresses a memory leak issue in the Linux kernel's vfio/mlx5 driver. The flaw occurs in the mlx5vf_add_migration_pages() function where allocated pages that fail to be added to the scatter-gather (SG) table are not freed properly. This can lead to a memory leak. Pages successfully added to the SG table are freed correctly by mlx5vf_free_data_buffer(). The vulnerability has been fixed in the Linux kernel.
References
- git.kernel.org/stable/c/549384162ed7e84bdefa004b589215d18b0190c5 (opens in a new tab)
- git.kernel.org/stable/c/465e06ffbb681f6fe34ca3aeba4b609677c3d4c1 (opens in a new tab)
- git.kernel.org/stable/c/769fe4ce444b646b0bf6ac308de80686c730c7df (opens in a new tab)
- git.kernel.org/stable/c/c44f1b2ddfa81c8d7f8e9b6bc76c427bc00e69d5 (opens in a new tab)
- git.kernel.org/stable/c/22e87bf3f77c18f5982c19ffe2732ef0c7a25f16 (opens in a new tab)