CVE-2026-90416

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

State
Published
Severity
Not scored
Published
Sep 17, 2026
Updated
Oct 19, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

Description

In 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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4a2da0b8c0782816f3ae6846ae7942fcbb0f8172 to before 1c5b4f76cd73372c5a8a4c91c95d5a31f141e091Affected
  • 4a2da0b8c0782816f3ae6846ae7942fcbb0f8172 to before 06b62758f81e27ca4c81201c22e3436c6d9ac894Affected
  • 4a2da0b8c0782816f3ae6846ae7942fcbb0f8172 to before d809cf3f0ed9255abfc73c4730bcf187151422afAffected
  • 4a2da0b8c0782816f3ae6846ae7942fcbb0f8172 to before 0b0122fcc923a0271130f5fb71af2cd7e20434d9Affected
  • 4a2da0b8c0782816f3ae6846ae7942fcbb0f8172 to before ce8dfd32a33b578c3abf178f67b4c8d36854f041Affected
  • 4a2da0b8c0782816f3ae6846ae7942fcbb0f8172 to before 4599311e78e88c893ad551aca622de2bfdf1c31fAffected
  • 4a2da0b8c0782816f3ae6846ae7942fcbb0f8172 to before c75ee076fa09778a2f9602a972dade4a0b0785f7Affected
  • 4a2da0b8c0782816f3ae6846ae7942fcbb0f8172 to before 03826bc1fa6c90405bf05831f2b501a8368dcd27Affected
LinuxLinux
  • 4.14Affected
  • before 4.14Not affected
  • 5.10.270 through 5.10.*Not affected
  • 5.15.221 through 5.15.*Not affected
  • 6.1.188 through 6.1.*Not affected
  • 6.6.157 through 6.6.*Not affected
  • 6.12.110 through 6.12.*Not affected
  • 6.18.52 through 6.18.*Not affected
  • 7.2.6 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.