Home

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 "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.

PUBLISHED Reserved 2025-09-15 | Published 2025-09-15 | Updated 2025-09-15 | Assigner Linux

Product status

Default status
unaffected

34b1744c91ccd44811005822106945fa80ecbff2 (git) before 65a33135e91e6dd661ecdf1194b9d90c49ae3570
affected

34b1744c91ccd44811005822106945fa80ecbff2 (git) before b11d8162c24af4a351d21e2c804d25ca493305e3
affected

34b1744c91ccd44811005822106945fa80ecbff2 (git) before b623a8e5d38a69a3ef8644acb1030dd7c7bc28b3
affected

34b1744c91ccd44811005822106945fa80ecbff2 (git) before 3d0dcada384af22dec764c8374a2997870ec86ae
affected

34b1744c91ccd44811005822106945fa80ecbff2 (git) before 15a8b55dbb1ba154d82627547c5761cac884d810
affected

Default status
affected

4.14
affected

Any version before 4.14
unaffected

5.10.220 (semver)
unaffected

5.15.154 (semver)
unaffected

6.1.24 (semver)
unaffected

6.2.11 (semver)
unaffected

6.3 (original_commit_for_fix)
unaffected

References

git.kernel.org/...c/65a33135e91e6dd661ecdf1194b9d90c49ae3570

git.kernel.org/...c/b11d8162c24af4a351d21e2c804d25ca493305e3

git.kernel.org/...c/b623a8e5d38a69a3ef8644acb1030dd7c7bc28b3

git.kernel.org/...c/3d0dcada384af22dec764c8374a2997870ec86ae

git.kernel.org/...c/15a8b55dbb1ba154d82627547c5761cac884d810

cve.org (CVE-2023-53241)

nvd.nist.gov (CVE-2023-53241)

Download JSON