{"api_version":"1","generated_at":"2026-11-30T20:00:29+00:00","cve":"CVE-2026-139691","urls":{"html":"https://cve.report/CVE-2026-139691","api":"https://cve.report/api/cve/CVE-2026-139691.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139691","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139691"},"summary":{"title":"RDMA/rxe: Use validated num_sge in local buffer","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rxe: Use validated num_sge in local buffer\n\nFor both SRQ and non-SRQ receive paths, the WQE is copied into a local\nbuffer to provide a kernel-owned, validated copy. While calculating the\nmemcpy size from the validated num_sge prevents overflow during the\ncopy, memcpy() itself still copies num_sge from shared memory.\n\nA concurrent userspace modification before or during memcpy() leaves\nan unvalidated num_sge in the local buffer, leading to potential\nout-of-bounds reads in rxe_resp_check_length() and copy_data() causing:\n\n  BUG: KASAN: slab-out-of-bounds in rxe_receiver+0x8109/0x9ec0 [rdma_rxe]\n  Read of size 4 at addr ffff88812c4867f8 by task kworker/u9:6/361\n  Workqueue: rxe_wq do_work [rdma_rxe]\n  Call Trace:\n   rxe_receiver+0x8109/0x9ec0 [rdma_rxe]\n   do_work+0x149/0x610 [rdma_rxe]\n   process_one_work+0x726/0x10a0\n\n  The buggy address belongs to the object at ffff88812c486000\n   which belongs to the cache kmalloc-part-13-2k of size 2048\n  The buggy address is located 0 bytes to the right of\n   allocated 2040-byte region [ffff88812c486000, ffff88812c4867f8)\n\nExplicitly assign the validated num_sge to the local buffer after the\ncopy to prevent this race.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:19:58","updated_at":"2026-11-30 14:19:58"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/d53a8bf76833bdd93f643b0a715eb5b2b4ff06d6","name":"https://git.kernel.org/stable/c/d53a8bf76833bdd93f643b0a715eb5b2b4ff06d6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/718fe137c0057c7a56204e3a677de4f9dbacdd1d","name":"https://git.kernel.org/stable/c/718fe137c0057c7a56204e3a677de4f9dbacdd1d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/bbadac94c3d51400182f6604e8cb721490713490","name":"https://git.kernel.org/stable/c/bbadac94c3d51400182f6604e8cb721490713490","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a4368022a3ac5324356ae8d88e3a42d115956fd6","name":"https://git.kernel.org/stable/c/a4368022a3ac5324356ae8d88e3a42d115956fd6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d5f9a0ad940f1d7eb55e1397e668f8efb5c66f2a","name":"https://git.kernel.org/stable/c/d5f9a0ad940f1d7eb55e1397e668f8efb5c66f2a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/036a24afc6bd194cfbbe506ac6f4b6d11810192f","name":"https://git.kernel.org/stable/c/036a24afc6bd194cfbbe506ac6f4b6d11810192f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139691","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139691","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3cfa2a3adc51b7c57729961a03446962ff10e3d2 bbadac94c3d51400182f6604e8cb721490713490 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected cd19a6345e3727adafafa5954b58b13c92e13b80 036a24afc6bd194cfbbe506ac6f4b6d11810192f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3e07ea9579dc9553d2285c26c2823931358aa3b8 d5f9a0ad940f1d7eb55e1397e668f8efb5c66f2a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 02558c86b6b761063e9399e6b939984500327ef1 718fe137c0057c7a56204e3a677de4f9dbacdd1d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 22b8fbded65b8c441b634a185f8da67657df6c50 d53a8bf76833bdd93f643b0a715eb5b2b4ff06d6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 22b8fbded65b8c441b634a185f8da67657df6c50 a4368022a3ac5324356ae8d88e3a42d115956fd6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c8db0e5ab0b6c540214c46c56aaac7cbcb0967fe git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e48daa94ad2d406225b73491fc935064716f0ec7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b9800d7953d119bcc068c74587d48e4ba0313629 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2e60378fb3c8b51c94103bb40014c4fe38fa5033 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fc72fd61cc8b2e2e3e92ae4c0e9cc30c9a7ecb78 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9fa785137303f7109c23dea779b8dedc67c9b531 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5420eebf3b3c162bfaf965f30e61cd1d689e5732 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a211b7904aed365e4e4f08a48ec6e6dd1ea7b16b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1.178 6.1.193 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.6.145 6.6.163 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.12.97 6.12.119 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.18.40 6.18.65 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.10.270 5.11 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.15.221 5.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7.1.5 7.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7.2","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* 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_resp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"bbadac94c3d51400182f6604e8cb721490713490","status":"affected","version":"3cfa2a3adc51b7c57729961a03446962ff10e3d2","versionType":"git"},{"lessThan":"036a24afc6bd194cfbbe506ac6f4b6d11810192f","status":"affected","version":"cd19a6345e3727adafafa5954b58b13c92e13b80","versionType":"git"},{"lessThan":"d5f9a0ad940f1d7eb55e1397e668f8efb5c66f2a","status":"affected","version":"3e07ea9579dc9553d2285c26c2823931358aa3b8","versionType":"git"},{"lessThan":"718fe137c0057c7a56204e3a677de4f9dbacdd1d","status":"affected","version":"02558c86b6b761063e9399e6b939984500327ef1","versionType":"git"},{"lessThan":"d53a8bf76833bdd93f643b0a715eb5b2b4ff06d6","status":"affected","version":"22b8fbded65b8c441b634a185f8da67657df6c50","versionType":"git"},{"lessThan":"a4368022a3ac5324356ae8d88e3a42d115956fd6","status":"affected","version":"22b8fbded65b8c441b634a185f8da67657df6c50","versionType":"git"},{"status":"affected","version":"c8db0e5ab0b6c540214c46c56aaac7cbcb0967fe","versionType":"git"},{"status":"affected","version":"e48daa94ad2d406225b73491fc935064716f0ec7","versionType":"git"},{"status":"affected","version":"b9800d7953d119bcc068c74587d48e4ba0313629","versionType":"git"},{"status":"affected","version":"2e60378fb3c8b51c94103bb40014c4fe38fa5033","versionType":"git"},{"status":"affected","version":"fc72fd61cc8b2e2e3e92ae4c0e9cc30c9a7ecb78","versionType":"git"},{"status":"affected","version":"9fa785137303f7109c23dea779b8dedc67c9b531","versionType":"git"},{"status":"affected","version":"5420eebf3b3c162bfaf965f30e61cd1d689e5732","versionType":"git"},{"status":"affected","version":"a211b7904aed365e4e4f08a48ec6e6dd1ea7b16b","versionType":"git"},{"lessThan":"6.1.193","status":"affected","version":"6.1.178","versionType":"semver"},{"lessThan":"6.6.163","status":"affected","version":"6.6.145","versionType":"semver"},{"lessThan":"6.12.119","status":"affected","version":"6.12.97","versionType":"semver"},{"lessThan":"6.18.65","status":"affected","version":"6.18.40","versionType":"semver"},{"lessThan":"5.11","status":"affected","version":"5.10.270","versionType":"semver"},{"lessThan":"5.16","status":"affected","version":"5.15.221","versionType":"semver"},{"lessThan":"7.2","status":"affected","version":"7.1.5","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/infiniband/sw/rxe/rxe_resp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"7.2"},{"lessThan":"7.2","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","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.1.193","versionStartIncluding":"6.1.178","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"6.6.145","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"6.12.97","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"6.18.40","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"7.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"7.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.270","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15.221","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1.5","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rxe: Use validated num_sge in local buffer\n\nFor both SRQ and non-SRQ receive paths, the WQE is copied into a local\nbuffer to provide a kernel-owned, validated copy. While calculating the\nmemcpy size from the validated num_sge prevents overflow during the\ncopy, memcpy() itself still copies num_sge from shared memory.\n\nA concurrent userspace modification before or during memcpy() leaves\nan unvalidated num_sge in the local buffer, leading to potential\nout-of-bounds reads in rxe_resp_check_length() and copy_data() causing:\n\n  BUG: KASAN: slab-out-of-bounds in rxe_receiver+0x8109/0x9ec0 [rdma_rxe]\n  Read of size 4 at addr ffff88812c4867f8 by task kworker/u9:6/361\n  Workqueue: rxe_wq do_work [rdma_rxe]\n  Call Trace:\n   rxe_receiver+0x8109/0x9ec0 [rdma_rxe]\n   do_work+0x149/0x610 [rdma_rxe]\n   process_one_work+0x726/0x10a0\n\n  The buggy address belongs to the object at ffff88812c486000\n   which belongs to the cache kmalloc-part-13-2k of size 2048\n  The buggy address is located 0 bytes to the right of\n   allocated 2040-byte region [ffff88812c486000, ffff88812c4867f8)\n\nExplicitly assign the validated num_sge to the local buffer after the\ncopy to prevent this race."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:37:05.261Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/bbadac94c3d51400182f6604e8cb721490713490"},{"url":"https://git.kernel.org/stable/c/036a24afc6bd194cfbbe506ac6f4b6d11810192f"},{"url":"https://git.kernel.org/stable/c/d5f9a0ad940f1d7eb55e1397e668f8efb5c66f2a"},{"url":"https://git.kernel.org/stable/c/718fe137c0057c7a56204e3a677de4f9dbacdd1d"},{"url":"https://git.kernel.org/stable/c/d53a8bf76833bdd93f643b0a715eb5b2b4ff06d6"},{"url":"https://git.kernel.org/stable/c/a4368022a3ac5324356ae8d88e3a42d115956fd6"}],"title":"RDMA/rxe: Use validated num_sge in local buffer","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139691","datePublished":"2026-11-30T13:37:05.261Z","dateReserved":"2026-11-30T13:22:15.947Z","dateUpdated":"2026-11-30T13:37:05.261Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:19:58","lastModifiedDate":"2026-11-30 14:19:58","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139691","Ordinal":"1","Title":"RDMA/rxe: Use validated num_sge in local buffer","CVE":"CVE-2026-139691","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139691","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rxe: Use validated num_sge in local buffer\n\nFor both SRQ and non-SRQ receive paths, the WQE is copied into a local\nbuffer to provide a kernel-owned, validated copy. While calculating the\nmemcpy size from the validated num_sge prevents overflow during the\ncopy, memcpy() itself still copies num_sge from shared memory.\n\nA concurrent userspace modification before or during memcpy() leaves\nan unvalidated num_sge in the local buffer, leading to potential\nout-of-bounds reads in rxe_resp_check_length() and copy_data() causing:\n\n  BUG: KASAN: slab-out-of-bounds in rxe_receiver+0x8109/0x9ec0 [rdma_rxe]\n  Read of size 4 at addr ffff88812c4867f8 by task kworker/u9:6/361\n  Workqueue: rxe_wq do_work [rdma_rxe]\n  Call Trace:\n   rxe_receiver+0x8109/0x9ec0 [rdma_rxe]\n   do_work+0x149/0x610 [rdma_rxe]\n   process_one_work+0x726/0x10a0\n\n  The buggy address belongs to the object at ffff88812c486000\n   which belongs to the cache kmalloc-part-13-2k of size 2048\n  The buggy address is located 0 bytes to the right of\n   allocated 2040-byte region [ffff88812c486000, ffff88812c4867f8)\n\nExplicitly assign the validated num_sge to the local buffer after the\ncopy to prevent this race.","Type":"Description","Title":"RDMA/rxe: Use validated num_sge in local buffer"}]}}}