CVE-2024-56742
JSON

3.3low

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

Severity
3.3low CVSS:3.1 by CISA-ADP
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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

Product or packageVersionsReported by
Linux Linuxfrom 6fadb021266d03c5fd7bca2cfa1607efd246dad1 before 549384162ed7e84bdefa004b589215d18b0190c5, from 6fadb021266d03c5fd7bca2cfa1607efd246dad1 before 465e06ffbb681f6fe34ca3aeba4b609677c3d4c1, from 6fadb021266d03c5fd7bca2cfa1607efd246dad1 before 769fe4ce444b646b0bf6ac308de80686c730c7df, from 6fadb021266d03c5fd7bca2cfa1607efd246dad1 before c44f1b2ddfa81c8d7f8e9b6bc76c427bc00e69d5, from 6fadb021266d03c5fd7bca2cfa1607efd246dad1 before 22e87bf3f77c18f5982c19ffe2732ef0c7a25f16, 5.18
Not affected: before 5.18, from 6.1.191 up to 6.1.*, from 6.6.160 up to 6.6.*, from 6.11.11 up to 6.11.*, from 6.12.2 up to 6.12.*, from 6.13 up to *
CVE List
linux linux_kernelfrom 5.18 before 6.11.11, from 6.12 before 6.12.2NVD

All scores

CISA-ADP3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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

NVD (es)

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

References

Sources

SourceRecordLicence
CVE ListCVE-2024-56742 changed 2026-10-30CVE Terms of Use
NVDCVE-2024-56742 changed 2026-10-30Public domain