{"id":"CVE-2024-56742","aliases":["CVE-2024-56742"],"related":[],"kind":"vulnerability","state":"published","title":"vfio/mlx5: Fix an unwind issue in mlx5vf_add_migration_pages()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nvfio/mlx5: Fix an unwind issue in mlx5vf_add_migration_pages()\n\nFix an unwind issue in mlx5vf_add_migration_pages().\n\nIf a set of pages is allocated but fails to be added to the SG table,\nthey need to be freed to prevent a memory leak.\n\nAny pages successfully added to the SG table will be freed as part of\nmlx5vf_free_data_buffer().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvfio/mlx5: Fix an unwind issue in mlx5vf_add_migration_pages()\n\nFix an unwind issue in mlx5vf_add_migration_pages().\n\nIf a set of pages is allocated but fails to be added to the SG table,\nthey need to be freed to prevent a memory leak.\n\nAny pages successfully added to the SG table will be freed as part of\nmlx5vf_free_data_buffer().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: vfio/mlx5: Se solucionó un problema de desenrollado en mlx5vf_add_migration_pages() Se solucionó un problema de desenrollado en mlx5vf_add_migration_pages(). Si se asigna un conjunto de páginas pero no se puede agregar a la tabla SG, es necesario liberarlas para evitar una pérdida de memoria. Cualquier página agregada correctamente a la tabla SG se liberará como parte de mlx5vf_free_data_buffer().","source":"nvd"}],"published":"2024-12-29T11:30:10.538Z","modified":"2026-10-30T13:17:48.790Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":3.3,"rating":"LOW"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":3.3,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"6fadb021266d03c5fd7bca2cfa1607efd246dad1","fixed":"549384162ed7e84bdefa004b589215d18b0190c5","status":"affected"},{"type":"git","introduced":"6fadb021266d03c5fd7bca2cfa1607efd246dad1","fixed":"465e06ffbb681f6fe34ca3aeba4b609677c3d4c1","status":"affected"},{"type":"git","introduced":"6fadb021266d03c5fd7bca2cfa1607efd246dad1","fixed":"769fe4ce444b646b0bf6ac308de80686c730c7df","status":"affected"},{"type":"git","introduced":"6fadb021266d03c5fd7bca2cfa1607efd246dad1","fixed":"c44f1b2ddfa81c8d7f8e9b6bc76c427bc00e69d5","status":"affected"},{"type":"git","introduced":"6fadb021266d03c5fd7bca2cfa1607efd246dad1","fixed":"22e87bf3f77c18f5982c19ffe2732ef0c7a25f16","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.18","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.11.11","lastAffected":"6.11.*","status":"unaffected"},{"type":"semver","introduced":"6.12.2","lastAffected":"6.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.18","fixed":"6.11.11"},{"status":"affected","introduced":"6.12","fixed":"6.12.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/549384162ed7e84bdefa004b589215d18b0190c5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/465e06ffbb681f6fe34ca3aeba4b609677c3d4c1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/769fe4ce444b646b0bf6ac308de80686c730c7df","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c44f1b2ddfa81c8d7f8e9b6bc76c427bc00e69d5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/22e87bf3f77c18f5982c19ffe2732ef0c7a25f16","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-17T20:10:22.255Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-56742","url":"https://www.cve.org/CVERecord?id=CVE-2024-56742","licence":"CVE Terms of Use","modified":"2026-10-30T12:20:28.869Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-56742","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56742","licence":"Public domain","modified":"2026-10-30T13:17:48.790Z"}],"updatedAt":"2026-11-25T22:58:50.560Z","epss":{"score":0.0025,"percentile":0.17587,"date":"2026-12-01T12:00:22.000Z"}}