Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2023-53116

Опубликовано: 02 мая 2025
Источник: redhat
CVSS3: 5.5

Описание

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.

A flaw was found in the Linux kernel's NVMe (Non-Volatile Memory Express) target subsystem. During request completion, a memory structure can be prematurely freed and subsequently dereferenced, leading to a use-after-free condition. A local user could exploit this flaw to cause a kernel crash, resulting in a denial of service (DoS).

Отчет

A moderate use-after-free vulnerability was found in the Linux kernel's NVMe target (nvmet) subsystem, affecting Red Hat Enterprise Linux 9 (kernel and kernel-rt). During request completion, an NVMe target ->queue_response() implementation may free the request passed as its argument, and the request pointer can then be dereferenced when percpu_ref_put() is called in nvmet_req_complete(), resulting in a use-after-free. A local user could exploit this flaw to cause a kernel crash, resulting in a denial of service. Red Hat has rated this flaw Moderate severity (CVSS:3.1 5.5, AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) because exploitation requires local access with privileges and the impact is limited to availability. The higher NIST (7.8) and CVE.org (9.8) scores assume a broader impact than the technical evidence supports: the CVE.org score assumes a network attack vector requiring no privileges, and the NIST score assumes full confidentiality and integrity impact, while this flaw can only be triggered locally by a privileged user and results in denial of service only. For the affected Red Hat Enterprise Linux 9 streams, the fix is deferred and will be delivered in a future update; the residual risk until then is that a local user could cause a kernel crash (denial of service). Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 10, and Red Hat In-Vehicle OS are not affected because the vulnerable code is not present in those releases. The Red Hat Enterprise Linux 7 and Red Hat Enterprise Linux 8 records, and the Hosted OpenShift Cluster records, are out of support scope.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope
Red Hat Enterprise Linux 8kernelOut of support scope
Red Hat Enterprise Linux 8kernel-rtOut of support scope
Red Hat Enterprise Linux 9kernelFix deferred
Red Hat Enterprise Linux 9kernel-rtFix deferred

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-825
https://bugzilla.redhat.com/show_bug.cgi?id=2363763kernel: nvmet: avoid potential UAF in nvmet_req_complete()

5.5 Medium

CVSS3

Связанные уязвимости

CVSS3: 7.8
ubuntu
больше 1 года назад

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.

CVSS3: 7.8
nvd
больше 1 года назад

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.

CVSS3: 7.8
debian
больше 1 года назад

In the Linux kernel, the following vulnerability has been resolved: n ...

CVSS3: 7.8
redos
9 месяцев назад

Уязвимость kernel-lt

CVSS3: 7.8
github
больше 1 года назад

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.

5.5 Medium

CVSS3