net/mlx5e: SHAMPO, Fix incorrect page release (Linux Linux)

CVE-2024-46717
CRITICAL 9.8

At a glance

Source
NVD
EPSS
EPSS 0.53 % · percentile 45 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 7957837b816f11eecb9146235bb0715478f4c81f < 03924d117625ecb10ee3c9b65930bcb2c37ae629 ; affected 7957837b816f11eecb9146235bb0715478f4c81f < ae9018e3f61ba5cc1f08a6e51d3c0bef0a79f3ab ; affected 7957837b816f11eecb9146235bb0715478f4c81f < c909ab41df2b09cde919801c7a7b6bb2cc37ea22 ; affected 7957837b816f11eecb9146235bb0715478f4c81f < 70bd03b89f20b9bbe51a7f73c4950565a17a45f7 ; affected a4161e4861132d5b324746a260283e87f2d65daf ; affected 5.16.6 < 5.17
Linux · Linuxaffected 5.17 ; unaffected 0 < 5.17 ; unaffected 6.1.109 ≤ 6.1.* ; unaffected 6.6.50 ≤ 6.6.* ; unaffected 6.10.9 ≤ 6.10.* ; unaffected 6.11 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD