CVE-2023-53116

In the Linux kernel, the following vulnerability has been resolved: nvmet: avoid potential UAF in nvmet_req_complete() An nvme target ->queue_response() operation implementation may free the request passed as argument. Such implementation potentially could result in a use after free of the request pointer when percpu_ref_put() is called in nvmet_req_complete(). Avoid such problem by using a local variable to save the sq pointer before calling __nvmet_req_complete(), thus avoiding dereferencing the req pointer after that function call.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.3:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.3:rc2:*:*:*:*:*:*

History

10 Nov 2025, 17:52

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/04c394208831d5e0d5cfee46722eb0f033cd4083 - () https://git.kernel.org/stable/c/04c394208831d5e0d5cfee46722eb0f033cd4083 - Patch
References () https://git.kernel.org/stable/c/6173a77b7e9d3e202bdb9897b23f2a8afe7bf286 - () https://git.kernel.org/stable/c/6173a77b7e9d3e202bdb9897b23f2a8afe7bf286 - Patch
References () https://git.kernel.org/stable/c/8ed9813871038b25a934b21ab76b5b7dbf44fc3a - () https://git.kernel.org/stable/c/8ed9813871038b25a934b21ab76b5b7dbf44fc3a - Patch
References () https://git.kernel.org/stable/c/a6317235da8aa7cb97529ebc8121cc2a4c4c437a - () https://git.kernel.org/stable/c/a6317235da8aa7cb97529ebc8121cc2a4c4c437a - Patch
References () https://git.kernel.org/stable/c/bcd535f07c58342302a2cd2bdd8894fe0872c8a9 - () https://git.kernel.org/stable/c/bcd535f07c58342302a2cd2bdd8894fe0872c8a9 - Patch
References () https://git.kernel.org/stable/c/e5d99b29012bbf0e86929403209723b2806500c1 - () https://git.kernel.org/stable/c/e5d99b29012bbf0e86929403209723b2806500c1 - Patch
References () https://git.kernel.org/stable/c/f1d5888a5efe345b63c430b256e95acb0a475642 - () https://git.kernel.org/stable/c/f1d5888a5efe345b63c430b256e95acb0a475642 - Patch
References () https://git.kernel.org/stable/c/fafcb4b26393870c45462f9af6a48e581dbbcf7e - () https://git.kernel.org/stable/c/fafcb4b26393870c45462f9af6a48e581dbbcf7e - Patch
CWE CWE-416
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
CPE cpe:2.3:o:linux:linux_kernel:6.3:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.3:rc1:*:*:*:*:*:*
First Time Linux
Linux linux Kernel

05 May 2025, 20:54

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nvmet: evitar posible UAF en nvmet_req_complete(). La implementación de la operación nvme target ->queue_response() puede liberar la solicitud pasada como argumento. Esta implementación podría provocar un use after free del puntero de solicitud al llamar a percpu_ref_put() en nvmet_req_complete(). Para evitar este problema, utilice una variable local para guardar el puntero sq antes de llamar a __nvmet_req_complete(), evitando así la desreferenciación del puntero req después de esa llamada.

02 May 2025, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-05-02 16:15

Updated : 2025-11-10 17:52


NVD link : CVE-2023-53116

Mitre link : CVE-2023-53116

CVE.ORG link : CVE-2023-53116


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free