Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139136

net/mlx5: Only set num_doorbells on a fully initialized SF

Description

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Only set num_doorbells on a fully initialized SF The validation for the num_doorbells devlink param rejects values greater than num_channels. For lightweight SFs, this ends up accessing a NULL priv->eq_table, leading to a crash. Fix that by rejecting setting num_doorbells on uninitialized SFs.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 11bbcfb7668c6f4d97260f7caaefea22678bc31e to < 3338ecb532c27af28c7c41eaaab4b0b7795f6a0faffected
  • 11bbcfb7668c6f4d97260f7caaefea22678bc31e to < 2dbe2d06ec09a8cc06186cc052217f666f45e9d1affected
  • 11bbcfb7668c6f4d97260f7caaefea22678bc31e to < fa503935c2d6603856dafff0a0852631ab6e9503affected

Linux Linux

Default version status: affected

  • 6.18affected
  • 0 to < 6.18unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References