net/mlx5e: SHAMPO, Fix incorrect page release
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.109, 6.10.9, 6.6.50
- CVEs
- CVE-2024-46717
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 00:48 UTC · Revision 1
Source evidence
net/mlx5e: SHAMPO, Fix incorrect page release
core-osv · Original sourcePublished 18 Sept 2024, 06:32 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.
osv:CVE-2024-46717
Kernel
Fixed versions: 6.1.109, 6.6.50, 6.10.9
Complete source record
{
"id": "9651a424f2dce0e4a35c6c87bdae2469631058a6b1118b5ae9aadeb26f184181",
"url": "https://osv.dev/vulnerability/CVE-2024-46717",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "net/mlx5e: SHAMPO, Fix incorrect page release",
"summary": "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.",
"evidence": "osv:CVE-2024-46717",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.109",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.50",
"evidence": "/affected/1/ranges"
},
{
"value": "6.10.9",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "critical",
"structured": {
"id": "CVE-2024-46717",
"aliases": [
"CVE-2024-46717"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "7957837b816f11eecb9146235bb0715478f4c81f"
},
{
"fixed": "03924d117625ecb10ee3c9b65930bcb2c37ae629"
},
{
"fixed": "ae9018e3f61ba5cc1f08a6e51d3c0bef0a79f3ab"
},
{
"fixed": "c909ab41df2b09cde919801c7a7b6bb2cc37ea22"
},
{
"fixed": "70bd03b89f20b9bbe51a7f73c4950565a17a45f7"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "5.16.6"
},
{
"fixed": "5.17"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "a4161e4861132d5b324746a260283e87f2d65daf"
}
]
}
],
"versions": [
"v5.16.20",
"v5.16.19",
"v5.16.18",
"v5.16.17",
"v5.16.16",
"v5.16.15",
"v5.16.14",
"v5.16.13",
"v5.16.12",
"v5.16.11",
"v5.16.10",
"v5.16.9",
"v5.16.8",
"v5.16.7",
"v5.16.6"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46717.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.17.0"
},
{
"fixed": "6.1.109"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.50"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.10.9"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46717.json"
}
}
],
"modified": "2026-10-28T02:30:24.745305310Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/03924d117625ecb10ee3c9b65930bcb2c37ae629",
"https://git.kernel.org/stable/c/70bd03b89f20b9bbe51a7f73c4950565a17a45f7",
"https://git.kernel.org/stable/c/ae9018e3f61ba5cc1f08a6e51d3c0bef0a79f3ab",
"https://git.kernel.org/stable/c/c909ab41df2b09cde919801c7a7b6bb2cc37ea22",
"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46717.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-46717",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46717.json"
}
},
"related_cves": [
{
"value": "CVE-2024-46717",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 491306,
"published_at": "2024-09-18T06:32:16.791+00:00"
}