CVE-2023-53241
MediumIn the Linux kernel, the following vulnerability has been resolved: nfsd: call op_release, even when op_func returns an error For ops with "trivial" replies, nfsd4_encode_operation will shortcut most of the encoding work and skip to just marshalling up the status. One of the things it skips is calling op_release. This could cause a memory leak in the layoutget codepath if there is an error at an inopportune time. Have the compound processing engine always call op_release, even when op_func sets an error in op->status. With this change, we also need nfsd4_block_get_device_info_scsi to set the gd_device pointer to NULL on error to avoid a double free.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-401CVE-2023-53241 is a Memory Leak vulnerability
What is Memory Leak?
The product does not release memory after use, causing gradual resource exhaustion. Learn more on MITRE CWE
Affected versions
Linux kernel versions
4.14
and later are affected. Fixed in
5.10.220,
5.15.154,
6.1.24,
6.2.11,
6.3
and their respective stable series.
References
The following references provide additional information about CVE-2023-53241 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/15a8b55dbb1ba154d82627547c5761cac884d810
-
PatchKernel patch commithttps://git.kernel.org/stable/c/3d0dcada384af22dec764c8374a2997870ec86ae
-
PatchKernel patch commithttps://git.kernel.org/stable/c/65a33135e91e6dd661ecdf1194b9d90c49ae3570
Frequently asked questions
-
What is CVE-2023-53241?
CVE-2023-53241 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as a Memory Leak flaw (CWE-401) . It affects Linux kernel versions from 4.14 onward and has been patched in 5.10.220, 5.15.154, 6.1.24 and others. CVE-2023-53241 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2023-53241?
CVE-2023-53241 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2023-53241?
Yes — CVE-2023-53241 has been patched. Fixed versions include 5.10.220, 5.15.154, 6.1.24 and others. If you are running Linux kernel 4.14 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2023-53241 actively exploited?
No — CVE-2023-53241 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Memory Leak (CWE-401)?
The product does not release memory after use, causing gradual resource exhaustion. View CWE-401 on MITRE CWE →