CVE-2023-52837
"Linux NBD Use-After-Free Vulnerability"
Description
In the Linux kernel, the following vulnerability has been resolved: nbd: fix uaf in nbd_open Commit 4af5f2e03013 ("nbd: use blk_mq_alloc_disk and blk_cleanup_disk") cleans up disk by blk_cleanup_disk() and it won't set disk->private_data as NULL as before. UAF may be triggered in nbd_open() if someone tries to open nbd device right after nbd_put() since nbd has been free in nbd_dev_remove(). Fix this by implementing ->free_disk and free private data in it.
INFO
Published Date :
May 21, 2024, 4:15 p.m.
Last Modified :
Jan. 15, 2025, 6:14 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-52837
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-52837
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-52837
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jan. 15, 2025
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE NIST CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.14 up to (excluding) 6.1.63 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.5.12 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.6 up to (excluding) 6.6.2 Changed Reference Type https://git.kernel.org/stable/c/327462725b0f759f093788dfbcb2f1fd132f956b No Types Assigned https://git.kernel.org/stable/c/327462725b0f759f093788dfbcb2f1fd132f956b Patch Changed Reference Type https://git.kernel.org/stable/c/327462725b0f759f093788dfbcb2f1fd132f956b No Types Assigned https://git.kernel.org/stable/c/327462725b0f759f093788dfbcb2f1fd132f956b Patch Changed Reference Type https://git.kernel.org/stable/c/4e9b3ec84dc97909876641dad14e0a2300d6c2a3 No Types Assigned https://git.kernel.org/stable/c/4e9b3ec84dc97909876641dad14e0a2300d6c2a3 Patch Changed Reference Type https://git.kernel.org/stable/c/4e9b3ec84dc97909876641dad14e0a2300d6c2a3 No Types Assigned https://git.kernel.org/stable/c/4e9b3ec84dc97909876641dad14e0a2300d6c2a3 Patch Changed Reference Type https://git.kernel.org/stable/c/56bd7901b5e9dbc9112036ea615ebcba1565fafe No Types Assigned https://git.kernel.org/stable/c/56bd7901b5e9dbc9112036ea615ebcba1565fafe Patch Changed Reference Type https://git.kernel.org/stable/c/56bd7901b5e9dbc9112036ea615ebcba1565fafe No Types Assigned https://git.kernel.org/stable/c/56bd7901b5e9dbc9112036ea615ebcba1565fafe Patch Changed Reference Type https://git.kernel.org/stable/c/879947f4180bc6e83af64eb0515e0cf57fce15db No Types Assigned https://git.kernel.org/stable/c/879947f4180bc6e83af64eb0515e0cf57fce15db Patch Changed Reference Type https://git.kernel.org/stable/c/879947f4180bc6e83af64eb0515e0cf57fce15db No Types Assigned https://git.kernel.org/stable/c/879947f4180bc6e83af64eb0515e0cf57fce15db Patch -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/327462725b0f759f093788dfbcb2f1fd132f956b Added Reference https://git.kernel.org/stable/c/4e9b3ec84dc97909876641dad14e0a2300d6c2a3 Added Reference https://git.kernel.org/stable/c/56bd7901b5e9dbc9112036ea615ebcba1565fafe Added Reference https://git.kernel.org/stable/c/879947f4180bc6e83af64eb0515e0cf57fce15db -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 29, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 21, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: nbd: fix uaf in nbd_open Commit 4af5f2e03013 ("nbd: use blk_mq_alloc_disk and blk_cleanup_disk") cleans up disk by blk_cleanup_disk() and it won't set disk->private_data as NULL as before. UAF may be triggered in nbd_open() if someone tries to open nbd device right after nbd_put() since nbd has been free in nbd_dev_remove(). Fix this by implementing ->free_disk and free private data in it. Added Reference kernel.org https://git.kernel.org/stable/c/4e9b3ec84dc97909876641dad14e0a2300d6c2a3 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/879947f4180bc6e83af64eb0515e0cf57fce15db [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/56bd7901b5e9dbc9112036ea615ebcba1565fafe [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/327462725b0f759f093788dfbcb2f1fd132f956b [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-52837
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-52837
weaknesses.