CVE-2026-74386

Source
https://cve.org/CVERecord?id=CVE-2026-74386
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74386.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-74386
Downstream
Published
2026-08-15T05:59:01.786Z
Modified
2026-08-16T03:48:50.426399997Z
Summary
nvmet-tcp: fix page fragment cache leak in error path
Details

In the Linux kernel, the following vulnerability has been resolved:

nvmet-tcp: fix page fragment cache leak in error path

In nvmettcpallocqueue(), when a connection is closed during the allocation process (e.g., nvmettcpsetqueuesock() returns -ENOTCONN), the error handling jumps to outdestroysq and then to outida_remove without draining the page fragment cache.

Although nvmettcpfreecmd() is called in some error paths to release individual page fragments, the underlying page cache reference held by queue->pfcache is never released. The first allocation using pfcache is the call to nvmettcpalloccmd() 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 pagefragcachedrain() before freeing the queue structure in the outida_remove label.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74386.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
872d26a391da92ed8f0c0f5cb5fef428067b7f30
Fixed
a43a9abc1ebf663f0aa56a729106f68dd9c77da6
Fixed
ba3209704b3cd46961e4e081af5c52a780785648
Fixed
5fbe83a374f09561a0f0c1f4aa021501ffd681eb
Fixed
4dae393956093c807212918fd91a8fc70df15338

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74386.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.0.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74386.json"