Bug 2313048 (CVE-2024-46717) - CVE-2024-46717 kernel: net/mlx5e: SHAMPO, Fix incorrect page release
Summary: CVE-2024-46717 kernel: net/mlx5e: SHAMPO, Fix incorrect page release
Keywords:
Status: NEW
Alias: CVE-2024-46717
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2313078
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-18 07:21 UTC by OSIDB Bzimport
Modified: 2024-10-22 17:54 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-09-18 07:21:06 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.