CVE-2024-56742

Source
https://cve.org/CVERecord?id=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
AZL (1)
BELL (1)
DEBIAN (1)
ECHO (1)
OESA (2)
ROOT (1)
SUSE (11)
UBUNTU (1)
Related
Published
2024-12-29T11:30:10Z
Modified
2026-10-22T10:36:41Z
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 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().

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
465e06ffbb681f6fe34ca3aeba4b609677c3d4c1
Fixed
769fe4ce444b646b0bf6ac308de80686c730c7df
Fixed
c44f1b2ddfa81c8d7f8e9b6bc76c427bc00e69d5
Fixed
22e87bf3f77c18f5982c19ffe2732ef0c7a25f16

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56742.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

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

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56742.json"