CVE-2026-139159
nvmet: prevent double-free after metadata SGL allocation failure
Check your servers for CVE-2026-139159
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139159 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.63%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 51.5% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from c6e3f13398123a008cd2ee28f93510b113a32791, before b22d6aa4c956240d6c9a27b743df8548ecd6c3dd affected from c6e3f13398123a008cd2ee28f93510b113a32791, before 2e8c8c6ff43ca4cf52c82470e72bd73ddd660b87 affected from c6e3f13398123a008cd2ee28f93510b113a32791, before bb5dd42918c62988c734b0017e41c11043c2946c affected from c6e3f13398123a008cd2ee28f93510b113a32791, before c07e6802f75e112e82cfacbe01a15fb047ef7284 affected from c6e3f13398123a008cd2ee28f93510b113a32791, before d998fa25c4f8d81541f1ae52d39dde9dd343df9b affected from c6e3f13398123a008cd2ee28f93510b113a32791, before caaf795ed9946074a8f9154e67053f4cc9cde7e0 affected from c6e3f13398123a008cd2ee28f93510b113a32791, before 5f981beb9a8d050a7cabd7184cf4c96643eff9a7 affected from c6e3f13398123a008cd2ee28f93510b113a32791, before 2f61b9d1d54edf75a352c43eebe3804144b5d44e
Other versions: unaffected
|
| Linux |
affected 5.8 unaffected before 5.8 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.65 up to and including 6.18.* unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139159 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139159
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-139159
trivy image --scanners vuln IMAGE | grep CVE-2026-139159
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/b22d6aa4c956240d6c9a27b743df8548ecd6c3dd git.kernel.org
- https://git.kernel.org/stable/c/2e8c8c6ff43ca4cf52c82470e72bd73ddd660b87 git.kernel.org
- https://git.kernel.org/stable/c/bb5dd42918c62988c734b0017e41c11043c2946c git.kernel.org
- https://git.kernel.org/stable/c/c07e6802f75e112e82cfacbe01a15fb047ef7284 git.kernel.org
- https://git.kernel.org/stable/c/d998fa25c4f8d81541f1ae52d39dde9dd343df9b git.kernel.org
- https://git.kernel.org/stable/c/caaf795ed9946074a8f9154e67053f4cc9cde7e0 git.kernel.org
- https://git.kernel.org/stable/c/5f981beb9a8d050a7cabd7184cf4c96643eff9a7 git.kernel.org
- https://git.kernel.org/stable/c/2f61b9d1d54edf75a352c43eebe3804144b5d44e git.kernel.org
Source: the record CVE-2026-139159 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse