CVE-2026-139159
nvmet: prevent double-free after metadata SGL allocation failure
Description
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.
INFO
Published Date :
Nov. 30, 2026, 2:18 p.m.
Last Modified :
Dec. 1, 2026, 6:17 a.m.
Remotely Exploit :
Yes !
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Update the Linux kernel to the resolved version.
- Apply the patch for nvmet: prevent double-free.
- Ensure proper scatterlist management.
- Review memory allocation error handling.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-139159.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-139159 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-139159
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-139159 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-139159 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 01, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value Added Description 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. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139159.json">CVE-2026-139159</a> Added Reference https://git.kernel.org/stable/c/2e8c8c6ff43ca4cf52c82470e72bd73ddd660b87 Added Reference https://git.kernel.org/stable/c/2f61b9d1d54edf75a352c43eebe3804144b5d44e Added Reference https://git.kernel.org/stable/c/5f981beb9a8d050a7cabd7184cf4c96643eff9a7 Added Reference https://git.kernel.org/stable/c/b22d6aa4c956240d6c9a27b743df8548ecd6c3dd Added Reference https://git.kernel.org/stable/c/bb5dd42918c62988c734b0017e41c11043c2946c Added Reference https://git.kernel.org/stable/c/c07e6802f75e112e82cfacbe01a15fb047ef7284 Added Reference https://git.kernel.org/stable/c/caaf795ed9946074a8f9154e67053f4cc9cde7e0 Added Reference https://git.kernel.org/stable/c/d998fa25c4f8d81541f1ae52d39dde9dd343df9b