Linux · Linux Kernel · CVE-2024-46717
**Name of the Vulnerable Software and Affected Versions**
Linux kernel (affected versions not specified)
**Description**
The issue arises in the Linux kernel's net/mlx5e module, specifically with the SHAMPO (Shared Header And Memory Pool Optimization) feature. Under certain conditions, a new skb (socket buffer) is formed with a regular data page instead of a SHAMPO header page. Later, in the `mlx5e handle rx cqe mpwrq shampo()` function, a SHAMPO header page is released from the `header index`. This leads to SHAMPO header pages being released more than once, which is incorrect. The conditions for this to occur are: 1) no skb has been created yet, 2) `header size` equals 0 (indicating no SHAMPO header), and 3) `header index + 1 % MLX5E SHAMPO WQ HEADER PER PAGE` equals 0, marking the last page fragment of a SHAMPO header page.
**Recommendations**
At the moment, there is no information about a newer version that contains a fix for this vulnerability.