Bug 2334819 (CVE-2024-56742) - CVE-2024-56742 kernel: vfio/mlx5: Fix an unwind issue in mlx5vf_add_migration_pages()
Summary: CVE-2024-56742 kernel: vfio/mlx5: Fix an unwind issue in mlx5vf_add_migration...
Keywords:
Status: NEW
Alias: CVE-2024-56742
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-12-29 12:02 UTC by OSIDB Bzimport
Modified: 2024-12-30 04:23 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-12-29 12:02:06 UTC
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().

Comment 1 Avinash Hanwate 2024-12-30 04:19:28 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024122925-CVE-2024-56742-b3d2@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.