{"id":70170,"date":"2025-09-15T18:32:08","date_gmt":"2025-09-15T15:02:08","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2023-53241-nfsd-call-op_release-even-when-op_func-returns-an-error\/"},"modified":"2025-09-15T18:32:08","modified_gmt":"2025-09-15T15:02:08","slug":"cve-2023-53241-nfsd-call-op_release-even-when-op_func-returns-an-error","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2023-53241-nfsd-call-op_release-even-when-op_func-returns-an-error\/","title":{"rendered":"CVE-2023-53241 &#8211; nfsd: call op_release, even when op_func returns an error"},"content":{"rendered":"<p><strong>CVE ID : <\/strong>CVE-2023-53241<br \/>\n<br \/>\n<strong>Published : <\/strong> Sept. 15, 2025, 2:23 p.m. | 31\u00a0minutes ago<br \/>\n<br \/>\n<strong>Description : <\/strong>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>nfsd: call op_release, even when op_func returns an error<\/p>\n<p>For ops with &#8220;trivial&#8221; replies, nfsd4_encode_operation will shortcut<br \/>\nmost of the encoding work and skip to just marshalling up the status.<br \/>\nOne of the things it skips is calling op_release. This could cause a<br \/>\nmemory leak in the layoutget codepath if there is an error at an<br \/>\ninopportune time.<\/p>\n<p>Have the compound processing engine always call op_release, even when<br \/>\nop_func sets an error in op-&gt;status. With this change, we also need<br \/>\nnfsd4_block_get_device_info_scsi to set the gd_device pointer to NULL<br \/>\non error to avoid a double free.<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-2023-53241 Published : Sept. 15, 2025, 2:23 p.m. | 31\u00a0minutes ago Description : In the Linux kernel, the following vulnerability has been resolved: nfsd: call op_release, even when op_func returns an error For ops with &#8220;trivial&#8221; replies, nfsd4_encode_operation will shortcut most of the encoding work and skip to just marshalling up the &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-70170","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/70170","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=70170"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/70170\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=70170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=70170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=70170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}