9.8critical
net/mlx5e: SHAMPO, Fix incorrect page release
- Severity
- 9.8critical CVSS:3.1 by Linux
- Exploit likelihood
- 0.53% (higher than 46% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| linux linux_kernel | before 6.1.109, from 6.2 before 6.6.50, from 6.7 before 6.10.9 | NVD |
All scores
| Linux | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net/mlx5e: SHAMPO, Corregir liberación de página incorrecta Bajo las siguientes condiciones: 1) No se ha creado ningún skb todavía 2) header_size == 0 (no hay encabezado SHAMPO) 3) header_index + 1 % MLX5E_SHAMPO_WQ_HEADER_PER_PAGE == 0 (este es el último fragmento de página de una página de encabezado SHAMPO) se forma un nuevo skb con una página que NO es una página de encabezado SHAMPO (es una página de datos normal). Más abajo en la misma función (mlx5e_handle_rx_cqe_mpwrq_shampo()), se libera una página de encabezado SHAMPO de header_index. Esto es incorrecto y lleva a que las páginas de encabezado SHAMPO se liberen más de una vez.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-46717 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-46717 changed 2026-08-04 | Public domain |