{"id":74076,"date":"2025-11-21T13:51:35","date_gmt":"2025-11-21T10:21:35","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-40210-revert-nfsd-remove-the-cap-on-number-of-operations-per-nfsv4-compound\/"},"modified":"2025-11-21T13:51:35","modified_gmt":"2025-11-21T10:21:35","slug":"cve-2025-40210-revert-nfsd-remove-the-cap-on-number-of-operations-per-nfsv4-compound","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-40210-revert-nfsd-remove-the-cap-on-number-of-operations-per-nfsv4-compound\/","title":{"rendered":"CVE-2025-40210 &#8211; Revert &#8220;NFSD: Remove the cap on number of operations per NFSv4 COMPOUND&#8221;"},"content":{"rendered":"<p>CVE ID : CVE-2025-40210<\/p>\n<p>Published :  Nov. 21, 2025, 10:21 a.m. | 54\u00a0minutes ago<\/p>\n<p>Description : In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>Revert &#8220;NFSD: Remove the cap on number of operations per NFSv4 COMPOUND&#8221;<\/p>\n<p>I&#8217;ve found that pynfs COMP6 now leaves the connection or lease in a<br \/>\nstrange state, which causes CLOSE9 to hang indefinitely. I&#8217;ve dug<br \/>\ninto it a little, but I haven&#8217;t been able to root-cause it yet.<br \/>\nHowever, I bisected to commit 48aab1606fa8 (&#8220;NFSD: Remove the cap on<br \/>\nnumber of operations per NFSv4 COMPOUND&#8221;).<\/p>\n<p>Tianshuo Han also reports a potential vulnerability when decoding<br \/>\nan NFSv4 COMPOUND. An attacker can place an arbitrarily large op<br \/>\ncount in the COMPOUND header, which results in:<\/p>\n[   51.410584] nfsd: vmalloc error: size 1209533382144, exceeds total<br \/>\npages, mode:0xdc0(GFP_KERNEL|__GFP_ZERO),<br \/>\nnodemask=(null),cpuset=\/,mems_allowed=0<\/p>\n<p>when NFSD attempts to allocate the COMPOUND op array.<\/p>\n<p>Let&#8217;s restore the operation-per-COMPOUND limit, but increased to 200<br \/>\nfor now.<\/p>\n<p>Severity: 0.0 | NA<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-40210 Published : Nov. 21, 2025, 10:21 a.m. | 54\u00a0minutes ago Description : In the Linux kernel, the following vulnerability has been resolved: Revert &#8220;NFSD: Remove the cap on number of operations per NFSv4 COMPOUND&#8221; I&#8217;ve found that pynfs COMP6 now leaves the connection or lease in a strange state, which causes &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-74076","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/74076","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=74076"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/74076\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=74076"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=74076"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=74076"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}