{"id":"CVE-2023-53241","aliases":["CVE-2023-53241"],"related":[],"kind":"vulnerability","state":"published","title":"nfsd: call op_release, even when op_func returns an error","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2025-09-15T14:23:09.750Z","modified":"2026-06-17T06:44:36.410Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"34b1744c91ccd44811005822106945fa80ecbff2","fixed":"65a33135e91e6dd661ecdf1194b9d90c49ae3570","status":"affected"},{"type":"git","introduced":"34b1744c91ccd44811005822106945fa80ecbff2","fixed":"b11d8162c24af4a351d21e2c804d25ca493305e3","status":"affected"},{"type":"git","introduced":"34b1744c91ccd44811005822106945fa80ecbff2","fixed":"b623a8e5d38a69a3ef8644acb1030dd7c7bc28b3","status":"affected"},{"type":"git","introduced":"34b1744c91ccd44811005822106945fa80ecbff2","fixed":"3d0dcada384af22dec764c8374a2997870ec86ae","status":"affected"},{"type":"git","introduced":"34b1744c91ccd44811005822106945fa80ecbff2","fixed":"15a8b55dbb1ba154d82627547c5761cac884d810","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.14","status":"unaffected"},{"type":"semver","introduced":"5.10.220","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.154","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.24","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.11","lastAffected":"6.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.14","fixed":"5.10.220"},{"status":"affected","introduced":"5.11","fixed":"5.15.154"},{"status":"affected","introduced":"5.16","fixed":"6.1.24"},{"status":"affected","introduced":"6.2","fixed":"6.2.11"},{"status":"affected","version":"6.3"},{"status":"affected","version":"6.3"},{"status":"affected","version":"6.3"},{"status":"affected","version":"6.3"},{"status":"affected","version":"6.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/65a33135e91e6dd661ecdf1194b9d90c49ae3570","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b11d8162c24af4a351d21e2c804d25ca493305e3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b623a8e5d38a69a3ef8644acb1030dd7c7bc28b3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3d0dcada384af22dec764c8374a2997870ec86ae","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/15a8b55dbb1ba154d82627547c5761cac884d810","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-14T17:57:52.493Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53241","url":"https://www.cve.org/CVERecord?id=CVE-2023-53241","licence":"CVE Terms of Use","modified":"2026-05-11T19:40:58.403Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53241","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53241","licence":"Public domain","modified":"2026-06-17T06:44:36.410Z"}],"updatedAt":"2026-11-25T22:58:34.792Z","epss":{"score":0.00228,"percentile":0.08098,"date":"2026-11-30T12:00:22.000Z"}}