# CVE-2026-139136: net/mlx5: Only set num_doorbells on a fully initialized SF

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-11-30T13:31:54.905Z
- Modified: 2026-11-30T14:18:30.410Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 11bbcfb7668c6f4d97260f7caaefea22678bc31e before 3338ecb532c27af28c7c41eaaab4b0b7795f6a0f; from 11bbcfb7668c6f4d97260f7caaefea22678bc31e before 2dbe2d06ec09a8cc06186cc052217f666f45e9d1; from 11bbcfb7668c6f4d97260f7caaefea22678bc31e before fa503935c2d6603856dafff0a0852631ab6e9503; 6.18 (not affected: before 6.18; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/3338ecb532c27af28c7c41eaaab4b0b7795f6a0f>
- <https://git.kernel.org/stable/c/2dbe2d06ec09a8cc06186cc052217f666f45e9d1>
- <https://git.kernel.org/stable/c/fa503935c2d6603856dafff0a0852631ab6e9503>

## Sources

- CVE List: [CVE-2026-139136](https://www.cve.org/CVERecord?id=CVE-2026-139136), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139136](https://nvd.nist.gov/vuln/detail/CVE-2026-139136), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139136 · Whole record: https://cve.day/CVE-2026-139136.json · Rebuilt by cve.day 2026-11-30T14:32:42.252Z
