{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99372","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.411Z","datePublished":"2026-11-19T14:23:08.511Z","dateUpdated":"2026-11-19T14:38:04.468Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-19T14:38:04.468Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfsd/nfsctl.c"],"versions":[{"version":"16a471177496c8e04a9793812c187a2c1a2192fa","lessThan":"4a6c685d7e443d5c12197d01576202544247d107","status":"affected","versionType":"git"},{"version":"16a471177496c8e04a9793812c187a2c1a2192fa","lessThan":"f256b39c64e956d9db46c5a42be99f9fe9685919","status":"affected","versionType":"git"},{"version":"16a471177496c8e04a9793812c187a2c1a2192fa","lessThan":"340fd5acb07f0299e71afc54a4a4b32e129177c4","status":"affected","versionType":"git"},{"version":"16a471177496c8e04a9793812c187a2c1a2192fa","lessThan":"9a05e5ee0a98b9550521df86936b5f825bc07ec2","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfsd/nfsctl.c"],"versions":[{"version":"6.10","status":"affected"},{"version":"0","lessThan":"6.10","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.61","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.2","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.18.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/4a6c685d7e443d5c12197d01576202544247d107"},{"url":"https://git.kernel.org/stable/c/f256b39c64e956d9db46c5a42be99f9fe9685919"},{"url":"https://git.kernel.org/stable/c/340fd5acb07f0299e71afc54a4a4b32e129177c4"},{"url":"https://git.kernel.org/stable/c/9a05e5ee0a98b9550521df86936b5f825bc07ec2"}],"title":"NFSD: cap the number of listeners accepted in listener_set","x_generator":{"engine":"bippy-1.2.0"}}}}