RDMA/mlx5: Fix stack out-of-bounds read in cc_params debugfs

Summary

CVECVE-2026-90416
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-17 17:17:45 UTC
Updated2026-09-17 17:17:45 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Fix stack out-of-bounds read in cc_params debugfs get_param() reads a congestion parameter as a u32 but formats it with the signed "%d" into an 11-byte stack buffer. A value with bit 31 set, such as 0x80000000, renders as "-2147483648\n" whose full length is 12. snprintf() stores only 11 bytes yet returns 12, so simple_read_from_buffer() treats 12 bytes as valid and reads one byte past lbuf[]. Size the buffer for the widest unsigned decimal, format with "%u" to match the u32, and use scnprintf() so the length passed to simple_read_from_buffer() reflects the bytes actually stored.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 4a2da0b8c0782816f3ae6846ae7942fcbb0f8172 1c5b4f76cd73372c5a8a4c91c95d5a31f141e091 git Not specified
CNA Linux Linux affected 4a2da0b8c0782816f3ae6846ae7942fcbb0f8172 06b62758f81e27ca4c81201c22e3436c6d9ac894 git Not specified
CNA Linux Linux affected 4a2da0b8c0782816f3ae6846ae7942fcbb0f8172 d809cf3f0ed9255abfc73c4730bcf187151422af git Not specified
CNA Linux Linux affected 4a2da0b8c0782816f3ae6846ae7942fcbb0f8172 0b0122fcc923a0271130f5fb71af2cd7e20434d9 git Not specified
CNA Linux Linux affected 4a2da0b8c0782816f3ae6846ae7942fcbb0f8172 ce8dfd32a33b578c3abf178f67b4c8d36854f041 git Not specified
CNA Linux Linux affected 4a2da0b8c0782816f3ae6846ae7942fcbb0f8172 4599311e78e88c893ad551aca622de2bfdf1c31f git Not specified
CNA Linux Linux affected 4a2da0b8c0782816f3ae6846ae7942fcbb0f8172 c75ee076fa09778a2f9602a972dade4a0b0785f7 git Not specified
CNA Linux Linux affected 4a2da0b8c0782816f3ae6846ae7942fcbb0f8172 03826bc1fa6c90405bf05831f2b501a8368dcd27 git Not specified
CNA Linux Linux affected 4.14 Not specified
CNA Linux Linux unaffected 4.14 semver Not specified
CNA Linux Linux unaffected 5.10.270 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.221 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.188 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.157 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.110 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.52 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.6 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/0b0122fcc923a0271130f5fb71af2cd7e20434d9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c75ee076fa09778a2f9602a972dade4a0b0785f7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/06b62758f81e27ca4c81201c22e3436c6d9ac894 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1c5b4f76cd73372c5a8a4c91c95d5a31f141e091 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ce8dfd32a33b578c3abf178f67b4c8d36854f041 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d809cf3f0ed9255abfc73c4730bcf187151422af 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/4599311e78e88c893ad551aca622de2bfdf1c31f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/03826bc1fa6c90405bf05831f2b501a8368dcd27 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report