{"id":"CVE-2026-72129","aliases":["CVE-2026-72129"],"related":[],"kind":"vulnerability","state":"published","title":"nvmet-rdma: handle inline data with a nonzero offset","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-rdma: handle inline data with a nonzero offset\n\nnvmet_rdma_use_inline_sg() maps the host-controlled inline data offset\ninto the per-command inline scatterlist.  The bounds check admits any\noffset with off + len <= inline_data_size, but the mapping still assumes\nthe data begins in the first inline page:\n\n\tsg->offset = off;\n\tsg->length = min_t(int, len, PAGE_SIZE - off);\n\nWhen a port is configured with inline_data_size > PAGE_SIZE (settable up\nto max(SZ_16K, PAGE_SIZE)), an offset in (PAGE_SIZE, inline_data_size]\nmakes \"PAGE_SIZE - off\" underflow, so sg->length is set to ~4 GiB and\nthe block backend reads far past the first inline page.  num_pages(len)\nalso ignores the offset, so an in-bounds offset whose [off, off+len)\nspan crosses a page boundary under-counts the scatterlist.\n\nMap the offset properly: split it into a page index and an in-page\noffset, start the scatterlist at that page, and size the page count from\npage_off + len.  Because the request scatterlist may now start at\ninline_sg[page_idx] rather than inline_sg[0], generalize the inline-SGL\nidentity test in nvmet_rdma_release_rsp() to a range test; otherwise the\npersistent inline scatterlist is mistaken for an allocated one and\nnvmet_req_free_sgls() frees an inline page (and warns in\nfree_large_kmalloc()).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-rdma: handle inline data with a nonzero offset\n\nnvmet_rdma_use_inline_sg() maps the host-controlled inline data offset\ninto the per-command inline scatterlist.  The bounds check admits any\noffset with off + len <= inline_data_size, but the mapping still assumes\nthe data begins in the first inline page:\n\n\tsg->offset = off;\n\tsg->length = min_t(int, len, PAGE_SIZE - off);\n\nWhen a port is configured with inline_data_size > PAGE_SIZE (settable up\nto max(SZ_16K, PAGE_SIZE)), an offset in (PAGE_SIZE, inline_data_size]\nmakes \"PAGE_SIZE - off\" underflow, so sg->length is set to ~4 GiB and\nthe block backend reads far past the first inline page.  num_pages(len)\nalso ignores the offset, so an in-bounds offset whose [off, off+len)\nspan crosses a page boundary under-counts the scatterlist.\n\nMap the offset properly: split it into a page index and an in-page\noffset, start the scatterlist at that page, and size the page count from\npage_off + len.  Because the request scatterlist may now start at\ninline_sg[page_idx] rather than inline_sg[0], generalize the inline-SGL\nidentity test in nvmet_rdma_release_rsp() to a range test; otherwise the\npersistent inline scatterlist is mistaken for an allocated one and\nnvmet_req_free_sgls() frees an inline page (and warns in\nfree_large_kmalloc()).","source":"cvelist"}],"published":"2026-08-15T05:53:05.874Z","modified":"2026-10-16T19:17:10.933Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349","fixed":"c2106ba1b14d644a5203bea1a50dbe25dcad713c","status":"affected"},{"type":"git","introduced":"0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349","fixed":"bf8bcc1c137d54a62a428b00051fdbb13660673b","status":"affected"},{"type":"git","introduced":"0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349","fixed":"11401371152b228448a41d79c6de1c938f93049a","status":"affected"},{"type":"git","introduced":"0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349","fixed":"7c96581169c9d9a7d0726e554313acfbead6141c","status":"affected"},{"type":"git","introduced":"0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349","fixed":"42a8ea3acd883f4f210d9e54e0975b1e2292b529","status":"affected"},{"type":"git","introduced":"0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349","fixed":"2944113ad5fbcdf5d349d857c03d2a44b6de75b8","status":"affected"},{"type":"git","introduced":"0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349","fixed":"98bcdfa619150b2f41fa15bac140dbaf2584ad05","status":"affected"},{"type":"git","introduced":"0d5ee2b2ab4f6776c361bc975c2323bc8b5cf349","fixed":"48c0162f647bb47e6084ffbc71b8f213f5e2f4f8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.19","status":"unaffected"},{"type":"semver","introduced":"5.10.261","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/c2106ba1b14d644a5203bea1a50dbe25dcad713c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bf8bcc1c137d54a62a428b00051fdbb13660673b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/11401371152b228448a41d79c6de1c938f93049a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7c96581169c9d9a7d0726e554313acfbead6141c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/42a8ea3acd883f4f210d9e54e0975b1e2292b529","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2944113ad5fbcdf5d349d857c03d2a44b6de75b8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/98bcdfa619150b2f41fa15bac140dbaf2584ad05","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/48c0162f647bb47e6084ffbc71b8f213f5e2f4f8","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-16T18:42:24.250Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72129","url":"https://www.cve.org/CVERecord?id=CVE-2026-72129","licence":"CVE Terms of Use","modified":"2026-10-16T18:44:58.318Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72129","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72129","licence":"Public domain","modified":"2026-10-16T19:17:10.933Z"}],"updatedAt":"2026-11-25T22:59:33.016Z","epss":{"score":0.00714,"percentile":0.54886,"date":"2026-12-01T12:00:22.000Z"}}