{"id":"CVE-2026-99372","aliases":[],"title":"NFSD: cap the number of listeners accepted in listener_set","originalDescription":"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.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":{"score":0.00224,"percentile":0.14},"exploitDb":null},"affected":[{"ecosystem":"Linux","name":"Kernel","range":">=6.10.0, <6.12.117","fixed":"6.12.117"},{"ecosystem":"Linux","name":"Kernel","range":">=6.13.0, <6.18.61","fixed":"6.18.61"},{"ecosystem":"Linux","name":"Kernel","range":">=6.19.0, <7.3.2","fixed":"7.3.2"},{"ecosystem":"vendor","name":"Linux","range":">=16a471177496c8e04a9793812c187a2c1a2192fa, <340fd5acb07f0299e71afc54a4a4b32e129177c4","fixed":"340fd5acb07f0299e71afc54a4a4b32e129177c4"},{"ecosystem":"vendor","name":"Linux","range":">=16a471177496c8e04a9793812c187a2c1a2192fa, <4a6c685d7e443d5c12197d01576202544247d107","fixed":"4a6c685d7e443d5c12197d01576202544247d107"},{"ecosystem":"vendor","name":"Linux","range":">=16a471177496c8e04a9793812c187a2c1a2192fa, <9a05e5ee0a98b9550521df86936b5f825bc07ec2","fixed":"9a05e5ee0a98b9550521df86936b5f825bc07ec2"},{"ecosystem":"vendor","name":"Linux","range":">=16a471177496c8e04a9793812c187a2c1a2192fa, <f256b39c64e956d9db46c5a42be99f9fe9685919","fixed":"f256b39c64e956d9db46c5a42be99f9fe9685919"}],"references":[{"url":"https://git.kernel.org/stable/c/4a6c685d7e443d5c12197d01576202544247d107","type":"other"},{"url":"https://git.kernel.org/stable/c/f256b39c64e956d9db46c5a42be99f9fe9685919","type":"other"},{"url":"https://git.kernel.org/stable/c/340fd5acb07f0299e71afc54a4a4b32e129177c4","type":"other"},{"url":"https://git.kernel.org/stable/c/9a05e5ee0a98b9550521df86936b5f825bc07ec2","type":"other"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99372.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99372","type":"advisory"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","type":"package"}],"sources":[{"name":"nvd","at":"2026-11-19T15:43:47.889Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99372","license":"NVD terms of use","firstSeenAt":"2026-11-19T15:43:47.889Z"},{"name":"osv","at":"2026-12-01T11:52:48.584Z","url":"https://osv.dev/vulnerability/CVE-2026-99372","license":"CC-BY 4.0","firstSeenAt":"2026-12-01T11:19:48.168Z"},{"name":"cvelistV5","at":"2026-11-19T22:18:47.783Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99372","license":"CVE Terms of Use","firstSeenAt":"2026-11-19T15:00:35.224Z"}],"firstSeenAt":"2026-11-19T15:00:35.224Z","publishedAt":"2026-11-19T14:23:08.511Z","modifiedAt":"2026-12-01T10:42:30.985Z"}