{"id":65549,"date":"2025-07-04T19:31:54","date_gmt":"2025-07-04T16:01:54","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-38231-linux-kernel-nfsd-null-pointer-dereference-vulnerability\/"},"modified":"2025-07-04T19:31:54","modified_gmt":"2025-07-04T16:01:54","slug":"cve-2025-38231-linux-kernel-nfsd-null-pointer-dereference-vulnerability","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-38231-linux-kernel-nfsd-null-pointer-dereference-vulnerability\/","title":{"rendered":"CVE-2025-38231 &#8211; Linux Kernel NFSd NULL Pointer Dereference Vulnerability"},"content":{"rendered":"<p><strong>CVE ID : <\/strong>CVE-2025-38231<br \/>\n<br \/>\n<strong>Published : <\/strong> July 4, 2025, 2:15 p.m. | 44\u00a0minutes ago<br \/>\n<br \/>\n<strong>Description : <\/strong>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>nfsd: Initialize ssc before laundromat_work to prevent NULL dereference<\/p>\n<p>In nfs4_state_start_net(), laundromat_work may access nfsd_ssc through<br \/>\nnfs4_laundromat -&gt; nfsd4_ssc_expire_umount. If nfsd_ssc isn&#8217;t initialized,<br \/>\nthis can cause NULL pointer dereference.<\/p>\n<p>Normally the delayed start of laundromat_work allows sufficient time for<br \/>\nnfsd_ssc initialization to complete. However, when the kernel waits too<br \/>\nlong for userspace responses (e.g. in nfs4_state_start_net -&gt;<br \/>\nnfsd4_end_grace -&gt; nfsd4_record_grace_done -&gt; nfsd4_cld_grace_done -&gt;<br \/>\ncld_pipe_upcall -&gt; __cld_pipe_upcall -&gt; wait_for_completion path), the<br \/>\ndelayed work may start before nfsd_ssc initialization finishes.<\/p>\n<p>Fix this by moving nfsd_ssc initialization before starting laundromat_work.<br \/>\n<br \/>\n<strong>Severity:<\/strong> 0.0 | NA<br \/>\n<br \/>\nVisit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-38231 Published : July 4, 2025, 2:15 p.m. | 44\u00a0minutes ago Description : In the Linux kernel, the following vulnerability has been resolved: nfsd: Initialize ssc before laundromat_work to prevent NULL dereference In nfs4_state_start_net(), laundromat_work may access nfsd_ssc through nfs4_laundromat -&gt; nfsd4_ssc_expire_umount. If nfsd_ssc isn&#8217;t initialized, this can cause NULL pointer dereference. &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-65549","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/65549","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=65549"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/65549\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=65549"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=65549"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=65549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}