CVE-2026-90416 PUBLISHED

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

Assigner: Linux
Reserved: 11.09.2026 Published: 17.09.2026 Updated: 17.09.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 4a2da0b8c0782816f3ae6846ae7942fcbb0f8172 to 1c5b4f76cd73372c5a8a4c91c95d5a31f141e091 (excl.)
  • affected from 4a2da0b8c0782816f3ae6846ae7942fcbb0f8172 to 06b62758f81e27ca4c81201c22e3436c6d9ac894 (excl.)
  • affected from 4a2da0b8c0782816f3ae6846ae7942fcbb0f8172 to d809cf3f0ed9255abfc73c4730bcf187151422af (excl.)
  • affected from 4a2da0b8c0782816f3ae6846ae7942fcbb0f8172 to 0b0122fcc923a0271130f5fb71af2cd7e20434d9 (excl.)
  • affected from 4a2da0b8c0782816f3ae6846ae7942fcbb0f8172 to ce8dfd32a33b578c3abf178f67b4c8d36854f041 (excl.)
  • affected from 4a2da0b8c0782816f3ae6846ae7942fcbb0f8172 to 4599311e78e88c893ad551aca622de2bfdf1c31f (excl.)
  • affected from 4a2da0b8c0782816f3ae6846ae7942fcbb0f8172 to c75ee076fa09778a2f9602a972dade4a0b0785f7 (excl.)
  • affected from 4a2da0b8c0782816f3ae6846ae7942fcbb0f8172 to 03826bc1fa6c90405bf05831f2b501a8368dcd27 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.14 is affected
  • unaffected from 0 to 4.14 (excl.)
  • unaffected from 5.10.270 to 5.10.* (incl.)
  • unaffected from 5.15.221 to 5.15.* (incl.)
  • unaffected from 6.1.188 to 6.1.* (incl.)
  • unaffected from 6.6.157 to 6.6.* (incl.)
  • unaffected from 6.12.110 to 6.12.* (incl.)
  • unaffected from 6.18.52 to 6.18.* (incl.)
  • unaffected from 7.2.6 to 7.2.* (incl.)
  • unaffected from 7.3-rc1 to * (incl.)

References