{"id":"CVE-2023-53241","published":"2025-09-15T14:23:09Z","modified":"2026-05-11T19:40:58Z","title":"nfsd: call op_release, even when op_func returns an error","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: call op_release, even when op_func returns an error\n\nFor ops with \"trivial\" replies, nfsd4_encode_operation will shortcut\nmost of the encoding work and skip to just marshalling up the status.\nOne of the things it skips is calling op_release. This could cause a\nmemory leak in the layoutget codepath if there is an error at an\ninopportune time.\n\nHave the compound processing engine always call op_release, even when\nop_func sets an error in op->status. With this change, we also need\nnfsd4_block_get_device_info_scsi to set the gd_device pointer to NULL\non error to avoid a double free.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00167,"percentile":0.06072,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"references":[{"url":"https://git.kernel.org/stable/c/65a33135e91e6dd661ecdf1194b9d90c49ae3570","tags":[]},{"url":"https://git.kernel.org/stable/c/b11d8162c24af4a351d21e2c804d25ca493305e3","tags":[]},{"url":"https://git.kernel.org/stable/c/b623a8e5d38a69a3ef8644acb1030dd7c7bc28b3","tags":[]},{"url":"https://git.kernel.org/stable/c/3d0dcada384af22dec764c8374a2997870ec86ae","tags":[]},{"url":"https://git.kernel.org/stable/c/15a8b55dbb1ba154d82627547c5761cac884d810","tags":[]}],"priority":{"score":5.1,"factors":[{"name":"EPSS percentile","points":1.21},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 34b1744c91ccd44811005822106945fa80ecbff2, < 65a33135e91e6dd661ecdf1194b9d90c49ae3570",">= 34b1744c91ccd44811005822106945fa80ecbff2, < b11d8162c24af4a351d21e2c804d25ca493305e3",">= 34b1744c91ccd44811005822106945fa80ecbff2, < b623a8e5d38a69a3ef8644acb1030dd7c7bc28b3",">= 34b1744c91ccd44811005822106945fa80ecbff2, < 3d0dcada384af22dec764c8374a2997870ec86ae",">= 34b1744c91ccd44811005822106945fa80ecbff2, < 15a8b55dbb1ba154d82627547c5761cac884d810"]},{"vendor":"Linux","product":"Linux","versions":["4.14"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-14T17:57:52.493898Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-59843","exploited":false,"provenance":"source"}}