{"id":"CVE-2026-139592","summary":"RDMA/mlx5: Initialize QP/RQ/SQ resource refcount before publishing it","details":"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().","modified":"2026-11-30T15:02:29.296444500Z","published":"2026-11-30T13:36:10.804Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139592.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/3dfebc28751fde6f3be0ddc1c1bcb22b96a72360"},{"type":"WEB","url":"https://git.kernel.org/stable/c/674005307775811354545959b2d614b9095deb59"},{"type":"WEB","url":"https://git.kernel.org/stable/c/69bcd39f042aab1b8b794c50f3affd038cee5056"},{"type":"WEB","url":"https://git.kernel.org/stable/c/829a0e65deff3f826a7870a52404aeaf1a3fec3f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a2fe324cdb430cd23d41948488b65a8529fb9ee1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bca1076b86026bc6445fd97a1c5c1b86210c510e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d3d3ad4d0aa3aa3a204651ae47efa65afa45daae"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e147bdda7834ed4188c84c5ead9f417faf8fa698"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139592.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139592"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c"},{"fixed":"d3d3ad4d0aa3aa3a204651ae47efa65afa45daae"},{"fixed":"a2fe324cdb430cd23d41948488b65a8529fb9ee1"},{"fixed":"69bcd39f042aab1b8b794c50f3affd038cee5056"},{"fixed":"e147bdda7834ed4188c84c5ead9f417faf8fa698"},{"fixed":"3dfebc28751fde6f3be0ddc1c1bcb22b96a72360"},{"fixed":"bca1076b86026bc6445fd97a1c5c1b86210c510e"},{"fixed":"674005307775811354545959b2d614b9095deb59"},{"fixed":"829a0e65deff3f826a7870a52404aeaf1a3fec3f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139592.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.11.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.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-139592.json"}}],"schema_version":"1.9.2"}