{"id":"CVE-2026-139159","aliases":["CVE-2026-139159"],"related":[],"kind":"vulnerability","state":"published","title":"nvmet: prevent double-free after metadata SGL allocation failure","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: prevent double-free after metadata SGL allocation failure\n\nIf metadata SGL allocation fails, nvmet_req_alloc_sgls() frees\nreq->sg without clearing it. The RDMA error completion path later\nfrees the same scatterlist again.\n\nUse nvmet_req_free_sgls() instead so that the scatterlist pointers\nand counts are cleared before response cleanup.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: prevent double-free after metadata SGL allocation failure\n\nIf metadata SGL allocation fails, nvmet_req_alloc_sgls() frees\nreq->sg without clearing it. The RDMA error completion path later\nfrees the same scatterlist again.\n\nUse nvmet_req_free_sgls() instead so that the scatterlist pointers\nand counts are cleared before response cleanup.","source":"cvelist"}],"published":"2026-11-30T13:32:07.724Z","modified":"2026-12-01T06:17:38.200Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c6e3f13398123a008cd2ee28f93510b113a32791","fixed":"b22d6aa4c956240d6c9a27b743df8548ecd6c3dd","status":"affected"},{"type":"git","introduced":"c6e3f13398123a008cd2ee28f93510b113a32791","fixed":"2e8c8c6ff43ca4cf52c82470e72bd73ddd660b87","status":"affected"},{"type":"git","introduced":"c6e3f13398123a008cd2ee28f93510b113a32791","fixed":"bb5dd42918c62988c734b0017e41c11043c2946c","status":"affected"},{"type":"git","introduced":"c6e3f13398123a008cd2ee28f93510b113a32791","fixed":"c07e6802f75e112e82cfacbe01a15fb047ef7284","status":"affected"},{"type":"git","introduced":"c6e3f13398123a008cd2ee28f93510b113a32791","fixed":"d998fa25c4f8d81541f1ae52d39dde9dd343df9b","status":"affected"},{"type":"git","introduced":"c6e3f13398123a008cd2ee28f93510b113a32791","fixed":"caaf795ed9946074a8f9154e67053f4cc9cde7e0","status":"affected"},{"type":"git","introduced":"c6e3f13398123a008cd2ee28f93510b113a32791","fixed":"5f981beb9a8d050a7cabd7184cf4c96643eff9a7","status":"affected"},{"type":"git","introduced":"c6e3f13398123a008cd2ee28f93510b113a32791","fixed":"2f61b9d1d54edf75a352c43eebe3804144b5d44e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.8","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","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/b22d6aa4c956240d6c9a27b743df8548ecd6c3dd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2e8c8c6ff43ca4cf52c82470e72bd73ddd660b87","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bb5dd42918c62988c734b0017e41c11043c2946c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c07e6802f75e112e82cfacbe01a15fb047ef7284","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d998fa25c4f8d81541f1ae52d39dde9dd343df9b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/caaf795ed9946074a8f9154e67053f4cc9cde7e0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5f981beb9a8d050a7cabd7184cf4c96643eff9a7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2f61b9d1d54edf75a352c43eebe3804144b5d44e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139159","url":"https://www.cve.org/CVERecord?id=CVE-2026-139159","licence":"CVE Terms of Use","modified":"2026-12-01T05:41:39.864Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139159","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139159","licence":"Public domain","modified":"2026-12-01T06:17:38.200Z"}],"updatedAt":"2026-12-01T06:32:20.588Z","epss":{"score":0.0063,"percentile":0.51514,"date":"2026-12-01T12:00:22.000Z"}}