# CVE-2026-74386: nvmet-tcp: fix page fragment cache leak in error path

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-08-15T05:59:01.786Z
- **Modified:** 2026-10-30T13:19:56.223Z

## Who should check

- Anyone running Linux \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< aadb8eb9006e192c51b499860f40765de7d55680; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< fc11e3f0daaadb6e600a86e54b089d4662d0a464; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< a43a9abc1ebf663f0aa56a729106f68dd9c77da6; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< ba3209704b3cd46961e4e081af5c52a780785648; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 5fbe83a374f09561a0f0c1f4aa021501ffd681eb; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 4dae393956093c807212918fd91a8fc70df15338
- Anyone running Linux 5.0

## Description

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.

## Affected and fixed versions

- Linux: \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< aadb8eb9006e192c51b499860f40765de7d55680; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< fc11e3f0daaadb6e600a86e54b089d4662d0a464; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< a43a9abc1ebf663f0aa56a729106f68dd9c77da6; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< ba3209704b3cd46961e4e081af5c52a780785648; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 5fbe83a374f09561a0f0c1f4aa021501ffd681eb; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 4dae393956093c807212918fd91a8fc70df15338 (cvelist)
- Linux: 5.0 (cvelist)

## Mitigation

- Upgrade Linux to 4dae393956093c807212918fd91a8fc70df15338 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-74386. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74386.md
Affected: Linux >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, < aadb8eb9006e192c51b499860f40765de7d55680; >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, < fc11e3f0daaadb6e600a86e54b089d4662d0a464; >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, < a43a9abc1ebf663f0aa56a729106f68dd9c77da6; >= 872d26a391da92ed8f0c0f5…
Fixed in: Linux 5fbe83a374f09561a0f0c1f4aa021501ffd681eb, Linux 4dae393956093c807212918fd91a8fc70df15338

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-74386 being exploited?

There is no confirmed exploitation: CVE-2026-74386 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-74386?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-74386?

Linux \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< aadb8eb9006e192c51b499860f40765de7d55680; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< fc11e3f0daaadb6e600a86e54b089d4662d0a464; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< a43a9abc1ebf663f0aa56a729106f68dd9c77da6; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< ba3209704b3cd46961e4e081af5c52a780785648; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 5fbe83a374f09561a0f0c1f4aa021501ffd681eb; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 4dae393956093c807212918fd91a8fc70df15338; Linux 5.0.

### Is there a fix for CVE-2026-74386?

Yes. Fixed in Linux 5fbe83a374f09561a0f0c1f4aa021501ffd681eb, Linux 4dae393956093c807212918fd91a8fc70df15338. Upgrade Linux to 4dae393956093c807212918fd91a8fc70df15338 or later.

### How do I check if I'm affected by CVE-2026-74386?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/aadb8eb9006e192c51b499860f40765de7d55680>
- other: <https://git.kernel.org/stable/c/fc11e3f0daaadb6e600a86e54b089d4662d0a464>
- other: <https://git.kernel.org/stable/c/a43a9abc1ebf663f0aa56a729106f68dd9c77da6>
- other: <https://git.kernel.org/stable/c/ba3209704b3cd46961e4e081af5c52a780785648>
- other: <https://git.kernel.org/stable/c/5fbe83a374f09561a0f0c1f4aa021501ffd681eb>
- other: <https://git.kernel.org/stable/c/4dae393956093c807212918fd91a8fc70df15338>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-74386>

HTML: <https://flawdb.com/CVE-2026-74386> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-74386>
