CVE-2026-139159
nvmet: prevent double-free after metadata SGL allocation failure
- Severity
- high CVSS 8.1 (v3.1)
- Affects
- Linux
- Published
- 30 November 2026 by Linux
- First seen on our lists
- 30 November 2026
In the Linux kernel, the following vulnerability has been resolved:
nvmet: prevent double-free after metadata SGL allocation failure
If metadata SGL allocation fails, nvmet_req_alloc_sgls() frees
req->sg without clearing it. The RDMA error completion path later
frees the same scatterlist again.
Use nvmet_req_free_sgls() instead so that the scatterlist pointers
and counts are cleared before response cleanup.
Our coverage
We have not written about this one. Know why it matters? Send a tip.