Linux kernel: nvmet-tcp: fix page fragment cache leak in error path
Overview
In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: fix page fragment cache leak in error path In nvmet_tcp_alloc_queue(), when a connection is closed during the allocation process (e.g., nvmet_tcp_set_queue_sock() returns -ENOTCONN), the error handling jumps to out_destroy_sq and then to out_ida_remove without draining the page fragment cache. Although nvmet_tcp_free_cmd() is called in some error paths to release individual page fragments, the underlying page cache reference held by queue->pf_cache is never released. The first allocation using pf_cache is the call to nvmet_tcp_alloc_cmd() for queue->connect, which happens after ida_alloc() returns successfully. This results in a page leak each time a connection fails during allocation, which could lead to memory exhaustion over time if connections are repeatedly opened and closed. Fix this by calling page_frag_cache_drain() before freeing the queue structure in the out_ida_remove label.
- Published
- 8/15/2026
- Last modified
- 10/30/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
Linux Linux | ≥ 872d26a391da92ed8f0c0f5cb5fef428067b7f30, < aadb8eb9006e192c51b499860f40765de7d55680 | Verify advisory | Source |
Linux Linux | ≥ 872d26a391da92ed8f0c0f5cb5fef428067b7f30, < fc11e3f0daaadb6e600a86e54b089d4662d0a464 | Verify advisory | Source |
Linux Linux | ≥ 872d26a391da92ed8f0c0f5cb5fef428067b7f30, < a43a9abc1ebf663f0aa56a729106f68dd9c77da6 | Verify advisory | Source |
Linux Linux | ≥ 872d26a391da92ed8f0c0f5cb5fef428067b7f30, < ba3209704b3cd46961e4e081af5c52a780785648 | Verify advisory | Source |
Linux Linux | ≥ 872d26a391da92ed8f0c0f5cb5fef428067b7f30, < 5fbe83a374f09561a0f0c1f4aa021501ffd681eb | Verify advisory | Source |
Linux Linux | ≥ 872d26a391da92ed8f0c0f5cb5fef428067b7f30, < 4dae393956093c807212918fd91a8fc70df15338 | Verify advisory | Source |
Linux Linux | 5.0 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
No CVSS score is published for this record yet. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.