# CVE-2026-90077: net: fix a resource leak in copy\_net\_ns() error handling 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 6, 2026-11-26)
- **Published:** 2026-09-17T16:05:56.226Z
- **Modified:** 2026-10-19T09:18:56.523Z

## Who should check

- Anyone running Linux \>= 08027f6b790be1e444e4182fb4dc53faa6539d16, \< 76c847e80d2b6be047707d58e8e05eedbe2593ad; \>= 08027f6b790be1e444e4182fb4dc53faa6539d16, \< e69bde4eb566aea8fa97cbb93e0bab608964f1a5; \>= 08027f6b790be1e444e4182fb4dc53faa6539d16, \< 3220b62fbb8a55feebd2a826d5ead0f49f09ed5a
- Anyone running Linux 6.18

## Description

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

net: fix a resource leak in copy\_net\_ns() error handling path

Currently, preinit\_net() does two things:

  (1) call ns\_common\_init() which might fail
  (2) initialize resources which does not fail

However, preinit\_net() is returning early when (1) fails, and copy\_net\_ns()
is jumping to the dec\_ucounts: label. As a result, resources allocated by
net\_alloc() are leaking. We need to call key\_remove\_domain() and
net\_passive\_dec() in order to release resources allocated by net\_alloc().

We cannot simply jump to the put\_userns: label when preinit\_net() failed,
for (2) is not yet done. But we can reorder (1) and (2), for there is no
dependency between (1) and (2). Therefore, this patch decouples (1) from
preinit\_net() and changes preinit\_net() back to a void function, and calls
ns\_common\_init() after preinit\_net() succeeded. Then, we can jump to
immediately after ns\_common\_free() of the put\_userns: label.

## Affected and fixed versions

- Linux: \>= 08027f6b790be1e444e4182fb4dc53faa6539d16, \< 76c847e80d2b6be047707d58e8e05eedbe2593ad; \>= 08027f6b790be1e444e4182fb4dc53faa6539d16, \< e69bde4eb566aea8fa97cbb93e0bab608964f1a5; \>= 08027f6b790be1e444e4182fb4dc53faa6539d16, \< 3220b62fbb8a55feebd2a826d5ead0f49f09ed5a (cvelist)
- Linux: 6.18 (cvelist)

## Mitigation

- Upgrade Linux to 3220b62fbb8a55feebd2a826d5ead0f49f09ed5a 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-90077. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90077.md
Affected: Linux >= 08027f6b790be1e444e4182fb4dc53faa6539d16, < 76c847e80d2b6be047707d58e8e05eedbe2593ad; >= 08027f6b790be1e444e4182fb4dc53faa6539d16, < e69bde4eb566aea8fa97cbb93e0bab608964f1a5; >= 08027f6b790be1e444e4182fb4dc53faa6539d16, < 3220b62fbb8a55feebd2a826d5ead0f49f09ed5a; Linux 6.18
Fixed in: Linux 76c847e80d2b6be047707d58e8e05eedbe2593ad, Linux 3220b62fbb8a55feebd2a826d5ead0f49f09ed5a

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-90077 being exploited?

There is no confirmed exploitation: CVE-2026-90077 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-90077?

It has no CVSS score yet. Unknown.

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

Linux \>= 08027f6b790be1e444e4182fb4dc53faa6539d16, \< 76c847e80d2b6be047707d58e8e05eedbe2593ad; \>= 08027f6b790be1e444e4182fb4dc53faa6539d16, \< e69bde4eb566aea8fa97cbb93e0bab608964f1a5; \>= 08027f6b790be1e444e4182fb4dc53faa6539d16, \< 3220b62fbb8a55feebd2a826d5ead0f49f09ed5a; Linux 6.18.

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

Yes. Fixed in Linux 76c847e80d2b6be047707d58e8e05eedbe2593ad, Linux 3220b62fbb8a55feebd2a826d5ead0f49f09ed5a. Upgrade Linux to 3220b62fbb8a55feebd2a826d5ead0f49f09ed5a or later.

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

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/76c847e80d2b6be047707d58e8e05eedbe2593ad>
- other: <https://git.kernel.org/stable/c/e69bde4eb566aea8fa97cbb93e0bab608964f1a5>
- other: <https://git.kernel.org/stable/c/3220b62fbb8a55feebd2a826d5ead0f49f09ed5a>

## 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-90077>

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