CVE-2024-46717
kernel: net/mlx5e: SHAMPO, Fix incorrect page release
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · September 18, 2024
Updated · October 29, 2026
Description
under certain conditions-- no created skb, header_size == 0, and header_index + 1 % MLX5E_SHAMPO_WQ_HEADER_PER_PAGE == 0 -- a new skb is formed with no SHAMPO header, but a SHAMPO header page from header_index is released further down in the same function, leading to SHAMPO pages being released multiple times, which is incorrect.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this issue, prevent module mlx5_core from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-99 · Improper Control of Resource Identifiers ('Resource Injection')