{"id":"CVE-2026-99372","published":"2026-11-19T14:23:08Z","modified":"2026-11-19T14:38:04Z","title":"NFSD: cap the number of listeners accepted in listener_set","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: cap the number of listeners accepted in listener_set\n\nnfsd_nl_listener_set_doit() matches each requested listener against the\nexisting set. The nested loop that does this is O(N * M), where N is the\nrequested count and M is the existing count. The loop runs under sv_lock\nwith bottom halves disabled. A userland request with a very large listener\nlist can therefore spin in atomic context for a long time.\n\nReject a request that carries more than NFSD_NL_LISTENER_MAX (1024)\nentries. The check goes in nfsd_nl_validate_listeners(), before the code\ntakes any lock. The limit is far above any realistic configuration.\n\nThis patch does not cap M. Only the message size bounded N; real sockets\nbound M. A listener_set result set is the requested set, so that path also\nholds M at the cap, but __write_ports_addxprt() adds two listeners per call\nand removes none, so repeated calls can push M past it. The worst case\nunder sv_lock is therefore 1024 * M, plus 1024 nla_parse_nested() calls.\nBoth interfaces require CAP_NET_ADMIN.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00224,"percentile":0.13375,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/4a6c685d7e443d5c12197d01576202544247d107","tags":[]},{"url":"https://git.kernel.org/stable/c/f256b39c64e956d9db46c5a42be99f9fe9685919","tags":[]},{"url":"https://git.kernel.org/stable/c/340fd5acb07f0299e71afc54a4a4b32e129177c4","tags":[]},{"url":"https://git.kernel.org/stable/c/9a05e5ee0a98b9550521df86936b5f825bc07ec2","tags":[]}],"priority":{"score":2.7,"factors":[{"name":"EPSS percentile","points":2.68}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 16a471177496c8e04a9793812c187a2c1a2192fa, < 4a6c685d7e443d5c12197d01576202544247d107",">= 16a471177496c8e04a9793812c187a2c1a2192fa, < f256b39c64e956d9db46c5a42be99f9fe9685919",">= 16a471177496c8e04a9793812c187a2c1a2192fa, < 340fd5acb07f0299e71afc54a4a4b32e129177c4",">= 16a471177496c8e04a9793812c187a2c1a2192fa, < 9a05e5ee0a98b9550521df86936b5f825bc07ec2"]},{"vendor":"Linux","product":"Linux","versions":["6.10"]}],"euvd":{"id":"EUVD-2026-130030","exploited":false,"provenance":"source"}}