{"id":"CVE-2026-139136","summary":"net/mlx5: Only set num_doorbells on a fully initialized SF","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5: Only set num_doorbells on a fully initialized SF\n\nThe validation for the num_doorbells devlink param rejects values\ngreater than num_channels. For lightweight SFs, this ends up accessing\na NULL priv-\u003eeq_table, leading to a crash.\n\nFix that by rejecting setting num_doorbells on uninitialized SFs.","modified":"2026-11-30T15:02:21.702927431Z","published":"2026-11-30T13:31:54.905Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139136.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2dbe2d06ec09a8cc06186cc052217f666f45e9d1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3338ecb532c27af28c7c41eaaab4b0b7795f6a0f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fa503935c2d6603856dafff0a0852631ab6e9503"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139136.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139136"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"11bbcfb7668c6f4d97260f7caaefea22678bc31e"},{"fixed":"3338ecb532c27af28c7c41eaaab4b0b7795f6a0f"},{"fixed":"2dbe2d06ec09a8cc06186cc052217f666f45e9d1"},{"fixed":"fa503935c2d6603856dafff0a0852631ab6e9503"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139136.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.18.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139136.json"}}],"schema_version":"1.9.2"}