{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142924",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.337Z",
        "datePublished": "2026-12-03T03:26:01.642Z",
        "dateUpdated": "2026-12-04T03:26:06.662Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-04T03:26:06.662Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/siw: Fix qp use-after-free in siw_get_base_qp()\n\nThe reference taken by siw_qp_id2obj() is dropped before the address\nof the embedded ib_qp is taken from the QP.  If that reference was\nthe last one the QP is freed and the pointer returned to the iwarp\ncore is dangling; the core only pins the QP with iw_add_ref() after\nthe call has returned.\n\nCopy the pointer while the reference is still held."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - siw_get_base_qp() is only installed as ops.iw_get_qp and is reached from iw_cm_connect()/iw_cm_accept() with iw_param->qpn copied from the local RDMA_USER_CM_CMD_CONNECT or ACCEPT payload (ucma_connect/ucma_accept on /dev/infiniband/rdma_cm). The QP ref is dropped by that local lookup; no MPA or TCP message carries the QPN or frees the QP.\nAC:L - The QP's only long-term ref is the kref_init() in siw_qp_add(), and ib_destroy_qp_user() does not return -EBUSY because this user RC QP's usecnt stays 0. The attacker races siw_destroy_qp()'s siw_qp_put() so it lands between siw_qp_id2obj()'s kref_get_unless_zero and siw_get_base_qp()'s siw_qp_put(), making that put the last ref and running siw_free_qp() before iw_add_ref(). Both calls are the attacker's own threads.\nPR:L - ucma_open() and ib_uverbs_open() contain no capable() check, and both /dev/infiniband/rdma_cm (ucma_misc.mode 0666) and the uverbs node (uverbs_devnode sets mode 0666) are world-accessible. An unprivileged user can siw_create_qp() and pass that qp_num in RDMA_USER_CM_CMD_CONNECT. siw_newlink() via RDMA netlink is admin-only, but using an already-registered siw device is not.\nUI:N - The same process creates the RC QP, moves the cm_id to RDMA_CM_ROUTE_RESOLVED, and races RDMA_USER_CM_CMD_CONNECT (or ACCEPT with id->qp NULL, so cma_modify_qp_rtr() returns 0) against uverbs destroy. siw_get_base_qp() runs inside iw_cm_connect() before siw_connect() calls sock_create(), so no peer and no other user must act.\nS:U - The freed object is the host kernel struct siw_qp allocated by rdma_zalloc_drv_obj_numa() and kfree()'d in ib_destroy_qp_user() after siw_destroy_qp() returns. That corruption stays in the same kernel security authority and does not cross a guest/host, IOMMU, or sandbox boundary.\nC:H - After siw_get_base_qp()'s siw_qp_put() runs siw_free_qp(), ib_destroy_qp_user() kfree()s the siw_qp while iw_cm_connect() still passes the pointer to siw_qp_get_ref() and, once siw_connect()'s siw_qp_id2obj() misses the erased xarray id, to iw_rem_ref(). siw_free_qp() then reads cep, qp_num, sendq/recvq/irq/orq and devq from a reclaimable slab object, which can disclose kernel memory.\nI:H - siw_qp_get_ref() does kref_get() on the freed siw_qp, and the iw_cm_connect() error path's iw_rem_ref() can call siw_free_qp() on a reclaimed object. That performs list_del(&qp->devq) and vfree() of qp->sendq, qp->recvq, qp->irq and qp->orq, which are attacker-controlled list-unlink writes and arbitrary frees.\nA:H - If the lookup put is the last ref, siw_free_qp() runs on the connect thread while iw_cm_connect() still holds cm_id_priv->lock, so vfree() reaches might_sleep() in atomic context; ib_destroy_qp_user() also kfree()s the QP before siw_qp_get_ref(). Either path oopses or deadlocks the kernel."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/infiniband/sw/siw/siw_main.c"
                    ],
                    "versions": [
                        {
                            "version": "6c52fdc244b5ccc468006fd65a504d4ee33743c7",
                            "lessThan": "75fcde2a02f2c9e09b6fb7759ec6db0b54c942cb",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6c52fdc244b5ccc468006fd65a504d4ee33743c7",
                            "lessThan": "bc01f4874576b433bf291ee6386617cb9c8d238e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6c52fdc244b5ccc468006fd65a504d4ee33743c7",
                            "lessThan": "323c4aeea73a3365c642a70c638e85476eff54dd",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6c52fdc244b5ccc468006fd65a504d4ee33743c7",
                            "lessThan": "8c4d2eea412e375a2cdb574c1b7540cc5a4ae8f7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6c52fdc244b5ccc468006fd65a504d4ee33743c7",
                            "lessThan": "4ddc372c6176a8936366b1cd127da46867e6cafa",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6c52fdc244b5ccc468006fd65a504d4ee33743c7",
                            "lessThan": "e676b1bb9f3b3e5018fcb0dcb29e224aa05f652c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6c52fdc244b5ccc468006fd65a504d4ee33743c7",
                            "lessThan": "e781a287eb8841fb2d136b2da8e8392cd5d14a43",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6c52fdc244b5ccc468006fd65a504d4ee33743c7",
                            "lessThan": "ef15197f81ffedf29560edf2221199d92fd83dc2",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/infiniband/sw/siw/siw_main.c"
                    ],
                    "versions": [
                        {
                            "version": "5.3",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.3",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.275",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.119",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.6",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.3",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.3",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.3",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.3",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.3",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.3",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.3",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.3",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/75fcde2a02f2c9e09b6fb7759ec6db0b54c942cb"
                },
                {
                    "url": "https://git.kernel.org/stable/c/bc01f4874576b433bf291ee6386617cb9c8d238e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/323c4aeea73a3365c642a70c638e85476eff54dd"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8c4d2eea412e375a2cdb574c1b7540cc5a4ae8f7"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4ddc372c6176a8936366b1cd127da46867e6cafa"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e676b1bb9f3b3e5018fcb0dcb29e224aa05f652c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e781a287eb8841fb2d136b2da8e8392cd5d14a43"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ef15197f81ffedf29560edf2221199d92fd83dc2"
                }
            ],
            "title": "RDMA/siw: Fix qp use-after-free in siw_get_base_qp()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}