{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139579",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.941Z",
        "datePublished": "2026-11-30T13:36:03.692Z",
        "dateUpdated": "2026-11-30T13:36:03.692Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:36:03.692Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rxe: Reject prefetch of a non-ODP MR\n\nrxe_ib_advise_mr_prefetch() and rxe_ib_prefetch_sg_list() look up the MR\nby lkey and hand it to rxe_odp_do_pagefault_and_lock() without checking\nthat it is an ODP MR. That path runs to_ib_umem_odp() on mr->umem, and\nfor a non-ODP MR mr->umem is a plain struct ib_umem from ib_umem_get(),\nso the container_of() in to_ib_umem_odp() lands past the end of the\nobject and ib_umem_odp_map_dma_and_lock() reads its ib_umem_odp fields\nout of bounds.\n\nlookup_mr() validates the lkey, PD, access and state but not the MR\ntype, and IB_UVERBS_ADVISE_MR_ADVICE_PREFETCH is accepted for any MR.\n\n BUG: KASAN: slab-out-of-bounds in ib_umem_odp_map_dma_and_lock+0x884/0x8a0\n Read of size 8 at addr ffff88810a3ebcf0 by task advi/921\n  ib_umem_odp_map_dma_and_lock+0x884/0x8a0\n  rxe_ib_advise_mr+0x543/0xad0\n  ib_uverbs_handler_UVERBS_METHOD_ADVISE_MR+0x446/0x530\n  ib_uverbs_cmd_verbs+0x2b3c/0x3b20\n  ib_uverbs_ioctl+0x1e3/0x310\n Allocated by task 921:\n  __ib_umem_get_va+0x13e/0xae0\n  rxe_mr_init_user+0x2ae/0xb00\n  rxe_reg_user_mr+0x337/0x510\n The buggy address belongs to the object at ffff88810a3ebc80\n  which belongs to the cache kmalloc-96 of size 96\n\nAsk lookup_mr() for IB_ACCESS_ON_DEMAND in both the synchronous and\nthe asynchronous prefetch arm. mr->access carries that flag only for\nan MR registered as ODP, so the existing\n(access & mr->access) != access test rejects a plain MR and the\nprefetch fails with -EINVAL."
                }
            ],
            "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_odp.c"
                    ],
                    "versions": [
                        {
                            "version": "3576b0df1588a0fd0249c29975d9dc92ffd6f3c0",
                            "lessThan": "b9e0328e9d96e17b5beae1d09b607a9330c9396d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3576b0df1588a0fd0249c29975d9dc92ffd6f3c0",
                            "lessThan": "fbc7c5692161b8807d35307e27401a6ba2475260",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3576b0df1588a0fd0249c29975d9dc92ffd6f3c0",
                            "lessThan": "66f18a749a3eeeb19f0b7812ecbe8b1ac18d73ec",
                            "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_odp.c"
                    ],
                    "versions": [
                        {
                            "version": "6.17",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.17",
                            "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": "6.17",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.17",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.17",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/b9e0328e9d96e17b5beae1d09b607a9330c9396d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/fbc7c5692161b8807d35307e27401a6ba2475260"
                },
                {
                    "url": "https://git.kernel.org/stable/c/66f18a749a3eeeb19f0b7812ecbe8b1ac18d73ec"
                }
            ],
            "title": "RDMA/rxe: Reject prefetch of a non-ODP MR",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}