CVE-2024-46717

net/mlx5e: SHAMPO, Fix incorrect page release

State
Published
Severity
9.8 Critical
Published
Sep 18, 2024
Updated
Aug 5, 2026
Reserved
Sep 11, 2024

Read the record on cve.org

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

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7957837b816f11eecb9146235bb0715478f4c81f to before 03924d117625ecb10ee3c9b65930bcb2c37ae629Affected
  • 7957837b816f11eecb9146235bb0715478f4c81f to before ae9018e3f61ba5cc1f08a6e51d3c0bef0a79f3abAffected
  • 7957837b816f11eecb9146235bb0715478f4c81f to before c909ab41df2b09cde919801c7a7b6bb2cc37ea22Affected
  • 7957837b816f11eecb9146235bb0715478f4c81f to before 70bd03b89f20b9bbe51a7f73c4950565a17a45f7Affected
  • a4161e4861132d5b324746a260283e87f2d65dafAffected
  • 5.16.6 to before 5.17Affected
LinuxLinux
  • 5.17Affected
  • before 5.17Not affected
  • 6.1.109 through 6.1.*Not affected
  • 6.6.50 through 6.6.*Not affected
  • 6.10.9 through 6.10.*Not affected
  • 6.11 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.