{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139358",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.929Z",
        "datePublished": "2026-11-30T13:34:01.333Z",
        "dateUpdated": "2026-11-30T13:34:01.333Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:34:01.333Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rxe: reject IB_WR_REG_MR from user QPs in rxe_reg_fast_mr()\n\nIB_WR_REG_MR is documented as kernel-only (\"can not be issued by\nuserspace\"), but nothing enforces it.\nrxe_wr_opcode_info[IB_WR_REG_MR] sets WR_LOCAL_OP_MASK for IB_QPT_RC,\na QP type userspace can create, so a user QP that writes\nopcode = IB_WR_REG_MR into its mmap'd SQ ring reaches\nrxe_do_local_ops() -> rxe_reg_fast_mr(). That function then trusts\nthe ring-supplied fields:\n\n\tstruct rxe_mr *mr = to_rmr(wqe->wr.wr.reg.mr);\n\t...\n\tif (unlikely(mr->state != RXE_MR_STATE_FREE))    /* deref */\n\t...\n\tmr->access = access;                             /* write */\n\nFor a user QP wqe->wr.wr.reg.mr is a fully attacker-chosen pointer,\nso this is an arbitrary-kernel-address dereference (arbitrary read\nconfirmed, oops). No existing check distinguishes a user QP on this\npath.\n\nReject IB_WR_REG_MR for user QPs before dereferencing the supplied\npointer."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/infiniband/sw/rxe/rxe_mr.c"
                    ],
                    "versions": [
                        {
                            "version": "8700e3e7c4857d28ebaa824509934556da0b3e76",
                            "lessThan": "a11ebd6481098dd62ddc18efaed25bf20668c65c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8700e3e7c4857d28ebaa824509934556da0b3e76",
                            "lessThan": "2c39f5ae8ab7b99b160d1da29b7a9a4c17805981",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8700e3e7c4857d28ebaa824509934556da0b3e76",
                            "lessThan": "92ef85e25134bfbcaecf124b7ff614440921efc0",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8700e3e7c4857d28ebaa824509934556da0b3e76",
                            "lessThan": "8e7532fab9a8082606fc22f02f825bb51a864221",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8700e3e7c4857d28ebaa824509934556da0b3e76",
                            "lessThan": "82db6c71c0a83a745f806ae84a76197087f5ed08",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8700e3e7c4857d28ebaa824509934556da0b3e76",
                            "lessThan": "8ea50bd26a8b7629e2f946330317d7c2a8ca5b60",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8700e3e7c4857d28ebaa824509934556da0b3e76",
                            "lessThan": "33afe9909f213d8bb8e80f0b93382dde0f56e2c7",
                            "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/rxe/rxe_mr.c"
                    ],
                    "versions": [
                        {
                            "version": "4.8",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.8",
                            "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": "4.8",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.8",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.8",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.8",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.8",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.8",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.8",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/a11ebd6481098dd62ddc18efaed25bf20668c65c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2c39f5ae8ab7b99b160d1da29b7a9a4c17805981"
                },
                {
                    "url": "https://git.kernel.org/stable/c/92ef85e25134bfbcaecf124b7ff614440921efc0"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8e7532fab9a8082606fc22f02f825bb51a864221"
                },
                {
                    "url": "https://git.kernel.org/stable/c/82db6c71c0a83a745f806ae84a76197087f5ed08"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8ea50bd26a8b7629e2f946330317d7c2a8ca5b60"
                },
                {
                    "url": "https://git.kernel.org/stable/c/33afe9909f213d8bb8e80f0b93382dde0f56e2c7"
                }
            ],
            "title": "RDMA/rxe: reject IB_WR_REG_MR from user QPs in rxe_reg_fast_mr()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}