CVE-2024-56742: vfio/mlx5: Fix an unwind issue in mlx5vf_add_migration_pages()

Published Dec 29, 2024
·
Updated

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

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

Fix an unwind issue in mlx5vfaddmigrationpages().

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

Other sources

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

Launchpad

Affected Software

3 affected componentsFixes available
Linux Linux kernel>=5.18<6.11.11
Linux Linux kernel>=6.12<6.12.2
debian/linux<=6.1.129-1, <=6.1.135-1
5.10.223-15.10.234-16.12.22-16.12.25-1

Event History

Dec 29, 2024
CVE Published
via MITRE·11:30 AM
Data Sourced
via MITRE·11:30 AM
Description
Apr 17, 2025
Data Sourced
via Launchpad·01:13 AM
Description
May 3, 2025
Data Sourced
via Ubuntu·01:14 AM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-56742?

The severity of CVE-2024-56742 is identified as moderate due to its potential impact on the Linux kernel's functionality.

2

How do I fix CVE-2024-56742?

To fix CVE-2024-56742, update the Linux kernel to a version beyond 6.12.2 or apply the appropriate patches provided in the kernel's official repository.

3

What systems are affected by CVE-2024-56742?

CVE-2024-56742 affects Linux kernel versions from 5.18 up to 6.11.11 and from 6.12 to 6.12.2.

4

What is the impact of exploiting CVE-2024-56742?

Exploiting CVE-2024-56742 could lead to issues in memory management within the kernel during the migration of pages.

5

When was CVE-2024-56742 resolved?

CVE-2024-56742 was resolved with patches introduced to the Linux kernel following its identification.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203