# CVE-2024-46717: net/mlx5e: SHAMPO, Fix incorrect page release

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2024-09-18T06:32:16.791Z
- Modified: 2026-08-05T11:38:08.486Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 7957837b816f11eecb9146235bb0715478f4c81f before 03924d117625ecb10ee3c9b65930bcb2c37ae629; from 7957837b816f11eecb9146235bb0715478f4c81f before ae9018e3f61ba5cc1f08a6e51d3c0bef0a79f3ab; from 7957837b816f11eecb9146235bb0715478f4c81f before c909ab41df2b09cde919801c7a7b6bb2cc37ea22; from 7957837b816f11eecb9146235bb0715478f4c81f before 70bd03b89f20b9bbe51a7f73c4950565a17a45f7; a4161e4861132d5b324746a260283e87f2d65daf; from 5.16.6 before 5.17; 5.17 (not affected: before 5.17; from 6.1.109 up to 6.1.*; from 6.6.50 up to 6.6.*; from 6.10.9 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: before 6.1.109; from 6.2 before 6.6.50; from 6.7 before 6.10.9

## Every score

- Linux: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/03924d117625ecb10ee3c9b65930bcb2c37ae629> (patch)
- <https://git.kernel.org/stable/c/ae9018e3f61ba5cc1f08a6e51d3c0bef0a79f3ab> (patch)
- <https://git.kernel.org/stable/c/c909ab41df2b09cde919801c7a7b6bb2cc37ea22> (patch)
- <https://git.kernel.org/stable/c/70bd03b89f20b9bbe51a7f73c4950565a17a45f7> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-46717](https://www.cve.org/CVERecord?id=CVE-2024-46717), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-46717](https://nvd.nist.gov/vuln/detail/CVE-2024-46717), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-46717 · Whole record: https://cve.day/CVE-2024-46717.json · Rebuilt by cve.day 2026-11-25T22:58:45.537Z
