{"id":"CVE-2026-74386","title":"nvmet-tcp: fix page fragment cache leak in error path","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-tcp: fix page fragment cache leak in error path\n\nIn nvmet_tcp_alloc_queue(), when a connection is closed during the\nallocation process (e.g., nvmet_tcp_set_queue_…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < fc11e3f0daaadb6e600a86e54b089d4662d0a464","Linux >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < a43a9abc1ebf663f0aa56a729106f68dd9c77da6","Linux >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < ba3209704b3cd46961e4e081af5c52a780785648","Linux >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < 5fbe83a374f09561a0f0c1f4aa021501ffd681eb","Linux >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < 4dae393956093c807212918fd91a8fc70df15338","Linux 5.0"],"published":"2026-08-15","updated":"2026-10-21","sourceUpdated":"2026-10-21T12:45:34.958Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-74386","references":[{"url":"https://git.kernel.org/stable/c/fc11e3f0daaadb6e600a86e54b089d4662d0a464"},{"url":"https://git.kernel.org/stable/c/a43a9abc1ebf663f0aa56a729106f68dd9c77da6"},{"url":"https://git.kernel.org/stable/c/ba3209704b3cd46961e4e081af5c52a780785648"},{"url":"https://git.kernel.org/stable/c/5fbe83a374f09561a0f0c1f4aa021501ffd681eb"},{"url":"https://git.kernel.org/stable/c/4dae393956093c807212918fd91a8fc70df15338"}],"tags":["cve.org"],"epss":0.00174,"epssPercentile":0.06507,"ingestedAt":"2026-10-21T12:48:53.582Z","slug":"CVE-2026-74386","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-tcp: fix page fragment cache leak in error path\n\nIn nvmet_tcp_alloc_queue(), when a connection is closed during the\nallocation process (e.g., nvmet_tcp_set_queue_sock() returns -ENOTCONN),\nthe error handling jumps to out_destroy_sq and then to out_ida_remove\nwithout draining the page fragment cache.\n\nAlthough nvmet_tcp_free_cmd() is called in some error paths to release\nindividual page fragments, the underlying page cache reference held by\nqueue->pf_cache is never released. The first allocation using pf_cache\nis the call to nvmet_tcp_alloc_cmd() for queue->connect, which happens\nafter ida_alloc() returns successfully. This results in a page leak each\ntime a connection fails during allocation, which could lead to memory\nexhaustion over time if connections are repeatedly opened and closed.\n\nFix this by calling page_frag_cache_drain() before freeing the queue\nstructure in the out_ida_remove label.\n\n## Affected\n\n- `Linux >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < fc11e3f0daaadb6e600a86e54b089d4662d0a464`\n- `Linux >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < a43a9abc1ebf663f0aa56a729106f68dd9c77da6`\n- `Linux >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < ba3209704b3cd46961e4e081af5c52a780785648`\n- `Linux >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < 5fbe83a374f09561a0f0c1f4aa021501ffd681eb`\n- `Linux >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < 4dae393956093c807212918fd91a8fc70df15338`\n- `Linux 5.0`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}