CVE-2024-46717

Source
https://cve.org/CVERecord?id=CVE-2024-46717
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-46717.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-46717
Downstream
Related
Published
2024-09-18T06:32:16.791Z
Modified
2026-03-11T07:46:28.708461Z
Summary
net/mlx5e: SHAMPO, Fix incorrect page release
Details

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) headersize == 0 (no SHAMPO header) 3) headerindex + 1 % MLX5ESHAMPOWQHEADERPER_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 (mlx5ehandlerxcqempwrqshampo()), a SHAMPO header page from headerindex is released. This is wrong and it leads to SHAMPO header pages being released more than once.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46717.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7957837b816f11eecb9146235bb0715478f4c81f
Fixed
03924d117625ecb10ee3c9b65930bcb2c37ae629
Fixed
ae9018e3f61ba5cc1f08a6e51d3c0bef0a79f3ab
Fixed
c909ab41df2b09cde919801c7a7b6bb2cc37ea22
Fixed
70bd03b89f20b9bbe51a7f73c4950565a17a45f7
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
a4161e4861132d5b324746a260283e87f2d65daf

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-46717.json"