{"id":"CVE-2026-99372","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-19T15:17:49.083","lastModified":"2026-11-19T15:17:49.083","vulnStatus":"Received","cveTags":[],"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":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/nfsd/nfsctl.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"16a471177496c8e04a9793812c187a2c1a2192fa","lessThan":"4a6c685d7e443d5c12197d01576202544247d107","versionType":"git","status":"affected"},{"version":"16a471177496c8e04a9793812c187a2c1a2192fa","lessThan":"f256b39c64e956d9db46c5a42be99f9fe9685919","versionType":"git","status":"affected"},{"version":"16a471177496c8e04a9793812c187a2c1a2192fa","lessThan":"340fd5acb07f0299e71afc54a4a4b32e129177c4","versionType":"git","status":"affected"},{"version":"16a471177496c8e04a9793812c187a2c1a2192fa","lessThan":"9a05e5ee0a98b9550521df86936b5f825bc07ec2","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/nfsd/nfsctl.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.10","status":"affected"},{"version":"0","lessThan":"6.10","versionType":"semver","status":"unaffected"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.61","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.2","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/340fd5acb07f0299e71afc54a4a4b32e129177c4","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/4a6c685d7e443d5c12197d01576202544247d107","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/9a05e5ee0a98b9550521df86936b5f825bc07ec2","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f256b39c64e956d9db46c5a42be99f9fe9685919","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}