CVE-2026-99372
Description
In the Linux kernel, the following vulnerability has been resolved: NFSD: cap the number of listeners accepted in listener_set nfsd_nl_listener_set_doit() matches each requested listener against the existing set. The nested loop that does this is O(N * M), where N is the requested count and M is the existing count. The loop runs under sv_lock with bottom halves disabled. A userland request with a very large listener list can therefore spin in atomic context for a long time. Reject a request that carries more than NFSD_NL_LISTENER_MAX (1024) entries. The check goes in nfsd_nl_validate_listeners(), before the code takes any lock. The limit is far above any realistic configuration. This patch does not cap M. Only the message size bounded N; real sockets bound M. A listener_set result set is the requested set, so that path also holds M at the cap, but __write_ports_addxprt() adds two listeners per call and removes none, so repeated calls can push M past it. The worst case under sv_lock is therefore 1024 * M, plus 1024 nla_parse_nested() calls. Both interfaces require CAP_NET_ADMIN.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-99372 NameCVE-2026-99372 DescriptionIn the Linux kernel, the following vulnerability has been resolved: NFSD: cap the number of listeners accepted in listener_set nfsd_nl_listener_set_doit() matches each requested listener against the existing set. The nested loop that does this is O(N * M), where N is the requested count and M is the existing count. The loop runs under sv_lock with…
CVE-2026-99372
| Name | CVE-2026-99372 |
| Description | In the Linux kernel, the following vulnerability has been resolved: NFSD: cap the number of listeners accepted in listener_set nfsd_nl_listener_set_doit() matches each requested listener against the existing set. The nested loop that does this is O(N * M), where N is the requested count and M is the existing count. The loop runs under sv_lock with bottom halves disabled. A userland request with a very large listener list can therefore spin in atomic context for a long time. Reject a request that carries more than NFSD_NL_LISTENER_MAX (1024) entries. The check goes in nfsd_nl_validate_listeners(), before the code takes any lock. The limit is far above any realistic configuration. This patch does not cap M. Only the message size bounded N; real sockets bound M. A listener_set result set is the requested set, so that path also holds M at the cap, but __write_ports_addxprt() adds two listeners per call and removes none, so repeated calls can push M past it. The worst case under sv_lock is therefore 1024 * M, plus 1024 nla_parse_nested() calls. Both interfaces require CAP_NET_ADMIN. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| linux (PTS) | bookworm | 6.1.176-1 | fixed |
| bookworm (security) | 6.1.192-2 | fixed | |
| trixie | 6.12.107-1 | vulnerable | |
| trixie (security) | 6.12.117-1 | fixed | |
| forky | 7.3.4-1 | fixed | |
| sid | 7.3.5-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| linux | source | bookworm | (not affected) | |||
| linux | source | trixie | 6.12.117-1 | |||
| linux | source | (unstable) | 7.3.3-1 |
Notes
[bookworm] - linux <not-affected> (Vulnerable code not present)
https://git.kernel.org/linus/9a05e5ee0a98b9550521df86936b5f825bc07ec2 (7.4-rc1)
Apply commands
[bookworm] - linux <not-affected> (Vulnerable code not present)https://git.kernel.org/linus/9a05e5ee0a98b9550521df86936b5f825bc07ec2 (7.4-rc1)
OS impact
Debian Fixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | linux |
Fixed | 6.12.117-1 |
| sid | linux |
Fixed | 7.3.3-1 |
| forky | linux |
Fixed | 7.3.3-1 |
| bookworm | linux |
Not affected | — |
| bookworm | linux-6.12 |
Fixed | 6.12.117-1~deb12u1 |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| linux | linux | 6.10 | |
References
- https://git.kernel.org/stable/c/340fd5acb07f0299e71afc54a4a4b32e129177c4
- https://git.kernel.org/stable/c/4a6c685d7e443d5c12197d01576202544247d107
- https://git.kernel.org/stable/c/9a05e5ee0a98b9550521df86936b5f825bc07ec2
- https://git.kernel.org/stable/c/f256b39c64e956d9db46c5a42be99f9fe9685919
- https://security-tracker.debian.org/tracker/CVE-2026-99372
- https://www.suse.com/security/cve/CVE-2026-99372.html
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.