CVE-2023-52837
published 2024-05-21CVE-2023-52837: 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…
PriorityP337high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.25%
16.5th percentile
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.
Affected
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.1.64-1 (bookworm) | linux 6.1.64-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 4af5f2e0301311f88c420fcfc5f3c8611ade20ac < 4e9b3ec84dc97909876641dad14e0a2300d6c2a3 | 4e9b3ec84dc97909876641dad14e0a2300d6c2a3 |
| linux | linux | >= 4af5f2e0301311f88c420fcfc5f3c8611ade20ac < 879947f4180bc6e83af64eb0515e0cf57fce15db | 879947f4180bc6e83af64eb0515e0cf57fce15db |
| linux | linux | >= 4af5f2e0301311f88c420fcfc5f3c8611ade20ac < 56bd7901b5e9dbc9112036ea615ebcba1565fafe | 56bd7901b5e9dbc9112036ea615ebcba1565fafe |
| linux | linux | >= 4af5f2e0301311f88c420fcfc5f3c8611ade20ac < 327462725b0f759f093788dfbcb2f1fd132f956b | 327462725b0f759f093788dfbcb2f1fd132f956b |
| linux | linux_kernel | >= 0 < 6.1.64-1 | 6.1.64-1 |
| linux | linux_kernel | >= 0 < 6.6.8-1 | 6.6.8-1 |
| linux | linux_kernel | >= 0 < 6.6.8-1 | 6.6.8-1 |
| linux | linux_kernel | >= 5.14 < 6.1.63 | 6.1.63 |
| linux | linux_kernel | >= 6.2 < 6.5.12 | 6.5.12 |
| linux | linux_kernel | >= 6.6 < 6.6.2 | 6.6.2 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: nbd: fix uaf in nbd_open
vendor_redhat·2024-05-21·CVSS 7.8
CVE-2023-52837 [HIGH] CWE-416 kernel: nbd: fix uaf in nbd_open
kernel: nbd: fix uaf in nbd_open
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.
Package: kernel (Red Hat Enterprise Linux 6) - Out of support scope
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 7) - Not affected
Package: kernel (Red Hat Enterprise Linux 8) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 8) -
Debian
CVE-2023-52837: linux - In the Linux kernel, the following vulnerability has been resolved: nbd: fix ua...
vendor_debian·2023·CVSS 7.8
CVE-2023-52837 [HIGH] CVE-2023-52837: linux - In the Linux kernel, the following vulnerability has been resolved: nbd: fix ua...
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.
Scope: local
bookworm: resolved (fixed in 6.1.64-1)
bullseye: resolved
forky: resolved (fixed in 6.6.8-1)
sid: resolved (fixed in 6.6.8-1)
trixie: resolved (fixed in 6.6.8-1)
OSV
CVE-2023-52837: 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_
osv·2024-05-21·CVSS 7.8
CVE-2023-52837 [HIGH] CVE-2023-52837: 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_
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.
GHSA
GHSA-hgcx-34qp-j38m: 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
bl
ghsa_unreviewed·2024-05-21
CVE-2023-52837 [HIGH] CWE-416 GHSA-hgcx-34qp-j38m: 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
bl
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.
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/327462725b0f759f093788dfbcb2f1fd132f956bhttps://git.kernel.org/stable/c/4e9b3ec84dc97909876641dad14e0a2300d6c2a3https://git.kernel.org/stable/c/56bd7901b5e9dbc9112036ea615ebcba1565fafehttps://git.kernel.org/stable/c/879947f4180bc6e83af64eb0515e0cf57fce15dbhttps://git.kernel.org/stable/c/327462725b0f759f093788dfbcb2f1fd132f956bhttps://git.kernel.org/stable/c/4e9b3ec84dc97909876641dad14e0a2300d6c2a3https://git.kernel.org/stable/c/56bd7901b5e9dbc9112036ea615ebcba1565fafehttps://git.kernel.org/stable/c/879947f4180bc6e83af64eb0515e0cf57fce15db
2024-05-21
Published