{"api_version":"1","generated_at":"2026-12-01T15:03:22+00:00","cve":"CVE-2026-139579","urls":{"html":"https://cve.report/CVE-2026-139579","api":"https://cve.report/api/cve/CVE-2026-139579.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139579","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139579"},"summary":{"title":"RDMA/rxe: Reject prefetch of a non-ODP MR","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:19:39","updated_at":"2026-11-30 14:19:39"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/fbc7c5692161b8807d35307e27401a6ba2475260","name":"https://git.kernel.org/stable/c/fbc7c5692161b8807d35307e27401a6ba2475260","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/66f18a749a3eeeb19f0b7812ecbe8b1ac18d73ec","name":"https://git.kernel.org/stable/c/66f18a749a3eeeb19f0b7812ecbe8b1ac18d73ec","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b9e0328e9d96e17b5beae1d09b607a9330c9396d","name":"https://git.kernel.org/stable/c/b9e0328e9d96e17b5beae1d09b607a9330c9396d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139579","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139579","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3576b0df1588a0fd0249c29975d9dc92ffd6f3c0 b9e0328e9d96e17b5beae1d09b607a9330c9396d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3576b0df1588a0fd0249c29975d9dc92ffd6f3c0 fbc7c5692161b8807d35307e27401a6ba2475260 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3576b0df1588a0fd0249c29975d9dc92ffd6f3c0 66f18a749a3eeeb19f0b7812ecbe8b1ac18d73ec git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.17","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.17 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/infiniband/sw/rxe/rxe_odp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"b9e0328e9d96e17b5beae1d09b607a9330c9396d","status":"affected","version":"3576b0df1588a0fd0249c29975d9dc92ffd6f3c0","versionType":"git"},{"lessThan":"fbc7c5692161b8807d35307e27401a6ba2475260","status":"affected","version":"3576b0df1588a0fd0249c29975d9dc92ffd6f3c0","versionType":"git"},{"lessThan":"66f18a749a3eeeb19f0b7812ecbe8b1ac18d73ec","status":"affected","version":"3576b0df1588a0fd0249c29975d9dc92ffd6f3c0","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/infiniband/sw/rxe/rxe_odp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.17"},{"lessThan":"6.17","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"6.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"6.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.17","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:36:03.692Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139579","datePublished":"2026-11-30T13:36:03.692Z","dateReserved":"2026-11-30T13:22:15.941Z","dateUpdated":"2026-11-30T13:36:03.692Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:19:39","lastModifiedDate":"2026-11-30 14:19:39","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139579","Ordinal":"1","Title":"RDMA/rxe: Reject prefetch of a non-ODP MR","CVE":"CVE-2026-139579","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139579","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"RDMA/rxe: Reject prefetch of a non-ODP MR"}]}}}