CVE-2024-46717

MEDIUM

Linux Kernel - Use-After-Free in mlx5e SHAMPO Header Page Handling

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: SHAMPO, Fix incorrect page release Under the following conditions: 1) No skb created yet 2) header_size == 0 (no SHAMPO header) 3) header_index + 1 % MLX5E_SHAMPO_WQ_HEADER_PER_PAGE == 0 (this is the last page fragment of a SHAMPO header page) a new skb is formed with a page that is NOT a SHAMPO header page (it is a regular data page). Further down in the same function (mlx5e_handle_rx_cqe_mpwrq_shampo()), a SHAMPO header page from header_index is released. This is wrong and it leads to SHAMPO header pages being released more than once.

Scores

CVSS v3 5.5
EPSS 0.0022
EPSS Percentile 12.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

Status published
Products (16)
linux/Kernel 5.17.0 - 6.1.109linux
linux/Kernel 6.2.0 - 6.6.50linux
linux/Kernel 6.7.0 - 6.10.9linux
Linux/Linux < 5.17
Linux/Linux 5.16.6 - 5.17
Linux/Linux 5.17
Linux/Linux 6.1.109 - 6.1.*
Linux/Linux 6.10.9 - 6.10.*
Linux/Linux 6.11
Linux/Linux 6.6.50 - 6.6.*
... and 6 more
Published Sep 18, 2024
Tracked Since Feb 18, 2026