CVE-2026-72129: nvmet-rdma: handle inline data with a nonzero offset
In the Linux kernel, the following vulnerability has been resolved:
nvmet-rdma: handle inline data with a nonzero offset
nvmetrdmauseinlinesg() maps the host-controlled inline data offset into the per-command inline scatterlist. The bounds check admits any offset with off + len <= inlinedatasize, but the mapping still assumes the data begins in the first inline page:
sg->offset = off; sg->length = mint(int, len, PAGESIZE - off);
When a port is configured with inlinedatasize > PAGESIZE (settable up to max(SZ16K, PAGESIZE)), an offset in (PAGESIZE, inlinedatasize] makes "PAGESIZE - off" underflow, so sg->length is set to ~4 GiB and the block backend reads far past the first inline page. numpages(len) also ignores the offset, so an in-bounds offset whose [off, off+len) span crosses a page boundary under-counts the scatterlist.
Map the offset properly: split it into a page index and an in-page offset, start the scatterlist at that page, and size the page count from pageoff + len. Because the request scatterlist may now start at inlinesg[pageidx] rather than inlinesg[0], generalize the inline-SGL identity test in nvmetrdmareleasersp() to a range test; otherwise the persistent inline scatterlist is mistaken for an allocated one and nvmetreqfreesgls() frees an inline page (and warns in freelargekmalloc()).
Event History
Frequently Asked Questions
What is the severity of CVE-2026-72129?
The severity of CVE-2026-72129 is rated as 47 on the risk scale.
How do I fix CVE-2026-72129?
To fix CVE-2026-72129, ensure that your Linux kernel is updated to the latest version that patches this vulnerability.
What does CVE-2026-72129 affect?
CVE-2026-72129 affects the Linux kernel, specifically the nvmet-rdma component that handles inline data with nonzero offsets.
What is the potential impact of CVE-2026-72129?
The potential impact of CVE-2026-72129 includes unauthorized access to memory regions or integrity issues due to improper bounds checking.
When was CVE-2026-72129 published?
CVE-2026-72129 was published on August 15, 2026.