Back

HIGH

net/mlx5: DR, Fix slab-out-of-bounds in mlx5_cmd_dr_create_fte

Published Aug 22, 2024

Description

When adding a rule with 32 destinations, we hit the following out-of-band access issue:

BUG: KASAN: slab-out-of-bounds in mlx5_cmd_dr_create_fte+0x18ee/0x1e70

This patch fixes the issue by both increasing the allocated buffers to accommodate for the needed actions and by checking the number of actions to prevent this issue when a rule with too many actions is provided.

Affected products

Remediation

Red Hat statement

Red Hat Enterprise Linux is not impacted by this CVE, as the vulnerability in question does not affect the specific versions or configurations of the Linux kernel used in its distributions. This ensures that users of Red Hat Enterprise Linux are not exposed to the potential risks associated with this issue and no further action or mitigation is necessary for systems running this operating system.

Red Hat mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

References (8)

Change history (0)

No recorded changes yet.

Sources

CVE.org / MITRE

Status PUBLISHED
Assigner Linux
Published Aug 22, 2024
Updated Aug 5, 2026
Reserved Aug 21, 2024

CISA Vulnrichment

Updated Sep 10, 2024

NVD

Status Modified
Modified Aug 4, 2026

Red Hat

Severity Moderate
Public date Aug 22, 2024
Bugzilla 2307188

ENISA EUVD

Assigner Linux
Published Aug 22, 2024
Updated Aug 5, 2026

GitHub

No data