CVE-2023-53241

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
15/09/2025
Last modified:
14/01/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> nfsd: call op_release, even when op_func returns an error<br /> <br /> For ops with "trivial" replies, nfsd4_encode_operation will shortcut<br /> most of the encoding work and skip to just marshalling up the status.<br /> One of the things it skips is calling op_release. This could cause a<br /> memory leak in the layoutget codepath if there is an error at an<br /> inopportune time.<br /> <br /> Have the compound processing engine always call op_release, even when<br /> op_func sets an error in op-&gt;status. With this change, we also need<br /> nfsd4_block_get_device_info_scsi to set the gd_device pointer to NULL<br /> on error to avoid a double free.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.14 (including) 5.10.220 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.15.154 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 6.1.24 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.2.11 (excluding)
cpe:2.3:o:linux:linux_kernel:6.3:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.3:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.3:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.3:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.3:rc5:*:*:*:*:*:*