CVE-2024-56742

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-56742
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56742.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-56742
Downstream
Related
Published
2024-12-29T11:30:10.538Z
Modified
2025-11-28T02:34:19.481463Z
Severity
  • 3.3 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
vfio/mlx5: Fix an unwind issue in mlx5vf_add_migration_pages()
Details

In the Linux kernel, the following vulnerability has been resolved:

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

Fix an unwind issue in mlx5vfaddmigration_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 mlx5vffreedata_buffer().

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56742.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6fadb021266d03c5fd7bca2cfa1607efd246dad1
Fixed
769fe4ce444b646b0bf6ac308de80686c730c7df
Fixed
c44f1b2ddfa81c8d7f8e9b6bc76c427bc00e69d5
Fixed
22e87bf3f77c18f5982c19ffe2732ef0c7a25f16

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.18.0
Fixed
6.11.11
Type
ECOSYSTEM
Events
Introduced
6.12.0
Fixed
6.12.2