Shellfeed logo Shellfeed

CVE-2026-90416 · UNKNOWN

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

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 12.2).

Details

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.

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [4a2da0b8c0782816f3ae6846ae7942fcbb0f8172 – 1c5b4f76cd73372c5a8a4c91c95d5a31f141e091]
  • Linux Kernel [4.14.0 – 5.10.270] [5.11.0 – 5.15.221] [5.16.0 – 6.1.188] [6.2.0 – 6.6.157] [6.7.0 – 6.12.110] [6.13.0 – 6.18.52] [6.19.0 – 7.2.6]

References