{"id":"CVE-2026-139592","aliases":["CVE-2026-139592"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/mlx5: Initialize QP/RQ/SQ resource refcount before publishing it","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/mlx5: Initialize QP/RQ/SQ resource refcount before publishing it\n\ncreate_resource_common() inserted the resource into the radix tree\nbefore its initialization was complete. A firmware EQE in that window\nfinds a zero refcount_t and calls refcount_inc() on it; the refcount API\ntreats this as a use-after-free, saturates the counter, and permanently\nbreaks the resource's lifecycle tracking.\n\nMove the initialization before the radix_tree_insert().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/mlx5: Initialize QP/RQ/SQ resource refcount before publishing it\n\ncreate_resource_common() inserted the resource into the radix tree\nbefore its initialization was complete. A firmware EQE in that window\nfinds a zero refcount_t and calls refcount_inc() on it; the refcount API\ntreats this as a use-after-free, saturates the counter, and permanently\nbreaks the resource's lifecycle tracking.\n\nMove the initialization before the radix_tree_insert().","source":"cvelist"}],"published":"2026-11-30T13:36:10.804Z","modified":"2026-11-30T14:19:40.950Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c","fixed":"d3d3ad4d0aa3aa3a204651ae47efa65afa45daae","status":"affected"},{"type":"git","introduced":"e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c","fixed":"a2fe324cdb430cd23d41948488b65a8529fb9ee1","status":"affected"},{"type":"git","introduced":"e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c","fixed":"69bcd39f042aab1b8b794c50f3affd038cee5056","status":"affected"},{"type":"git","introduced":"e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c","fixed":"e147bdda7834ed4188c84c5ead9f417faf8fa698","status":"affected"},{"type":"git","introduced":"e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c","fixed":"3dfebc28751fde6f3be0ddc1c1bcb22b96a72360","status":"affected"},{"type":"git","introduced":"e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c","fixed":"bca1076b86026bc6445fd97a1c5c1b86210c510e","status":"affected"},{"type":"git","introduced":"e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c","fixed":"674005307775811354545959b2d614b9095deb59","status":"affected"},{"type":"git","introduced":"e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c","fixed":"829a0e65deff3f826a7870a52404aeaf1a3fec3f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.11","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/d3d3ad4d0aa3aa3a204651ae47efa65afa45daae","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a2fe324cdb430cd23d41948488b65a8529fb9ee1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/69bcd39f042aab1b8b794c50f3affd038cee5056","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e147bdda7834ed4188c84c5ead9f417faf8fa698","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3dfebc28751fde6f3be0ddc1c1bcb22b96a72360","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bca1076b86026bc6445fd97a1c5c1b86210c510e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/674005307775811354545959b2d614b9095deb59","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/829a0e65deff3f826a7870a52404aeaf1a3fec3f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139592","url":"https://www.cve.org/CVERecord?id=CVE-2026-139592","licence":"CVE Terms of Use","modified":"2026-11-30T13:36:10.804Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139592","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139592","licence":"Public domain","modified":"2026-11-30T14:19:40.950Z"}],"updatedAt":"2026-11-30T14:33:17.174Z","epss":{"score":0.00184,"percentile":0.08379,"date":"2026-12-01T12:00:22.000Z"}}