CVE-2026-99372Linux
NVD
Vulnerability Summary
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.
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.
Affected & Patched Versions
- Linux >= 16a471177496c8e04a9793812c187a2c1a2192fa and < 4a6c685d7e443d5c12197d01576202544247d107
- Linux >= 16a471177496c8e04a9793812c187a2c1a2192fa and < f256b39c64e956d9db46c5a42be99f9fe9685919
- Linux >= 16a471177496c8e04a9793812c187a2c1a2192fa and < 340fd5acb07f0299e71afc54a4a4b32e129177c4
- Linux >= 16a471177496c8e04a9793812c187a2c1a2192fa and < 9a05e5ee0a98b9550521df86936b5f825bc07ec2
- Linux 6.10
- Linux 4a6c685d7e443d5c12197d01576202544247d107
- Linux f256b39c64e956d9db46c5a42be99f9fe9685919
- Linux 340fd5acb07f0299e71afc54a4a4b32e129177c4
- Linux 9a05e5ee0a98b9550521df86936b5f825bc07ec2
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run Linux and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 19, 2026Published
- Nov 19, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Linux CVEsYou are reading CVE-2026-99372. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Referencehttps://git.kernel.org/stable/c/340fd5acb07f0299e71afc54a4a4b32e129177c4
- Referencehttps://git.kernel.org/stable/c/4a6c685d7e443d5c12197d01576202544247d107
- Referencehttps://git.kernel.org/stable/c/9a05e5ee0a98b9550521df86936b5f825bc07ec2
- Referencehttps://git.kernel.org/stable/c/f256b39c64e956d9db46c5a42be99f9fe9685919
Data last checked: Nov 24, 2026 15:13 UTC